We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33dc8dd + dd08a32 commit 28d062fCopy full SHA for 28d062f
1 file changed
README.md
@@ -735,11 +735,13 @@ class PostResource < JSONAPI::Resource
735
has_many :comments
736
737
# def record_for_author
738
+ # relationship = self.class._relationship(:author)
739
# relation_name = relationship.relation_name(context: @context)
740
# records_for(relation_name)
741
# end
742
743
# def records_for_comments
744
+ # relationship = self.class._relationship(:comments)
745
746
747
0 commit comments