Skip to content

Relationship cleanup#2

Open
lgebhardt wants to merge 3 commits into
masterfrom
relationship_cleanup
Open

Relationship cleanup#2
lgebhardt wants to merge 3 commits into
masterfrom
relationship_cleanup

Conversation

@lgebhardt

Copy link
Copy Markdown
Member

No description provided.

These belong in higher level libraries such as JSONAPI-Resources. A new method named `records_for_relationship` allows JR to implement these concerns.

Breaking change: and `options` hash was added to the dynamically generated method `associated_records_method_name` (e.g. `records_for_comments`). This method was also reworked to use the above `records_for_relationship` method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant