Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow to define multiple associations at once #1031

Conversation

bolshakov
Copy link

I remove this feature since defining multiple associations at once may lead to mess than defined with options:

   has_many :comments, :posts, serializer: CoolSerializer

@joaomdmoura
Copy link
Member

Tks @bolshakov, totally agree, I'm merging it.

joaomdmoura added a commit that referenced this pull request Aug 1, 2015
…ltiple_associations_at_once

Disallow to define multiple associations at once
@joaomdmoura joaomdmoura merged commit c4af610 into rails-api:master Aug 1, 2015
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.

2 participants