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

Respect changing scaffold generator #458

Merged

Conversation

y-yagi
Copy link
Member

@y-yagi y-yagi commented Apr 4, 2019

The params generation was cut out to a method in rails/rails#35805.
This is to handle the attachments field.

So use the method in jbuilder as well. Without this, a permit to handle arrays is not generated if attachments field is specified.

The params generation was cut out to a method in rails/rails#35805.
This is to handle the attachments field.

So use the method in jbuilder as well. Without this, a permit to handle
arrays is not generated if attachments field is specified.
@rafaelfranca rafaelfranca merged commit 7ff5e25 into rails:master Apr 4, 2019
@y-yagi y-yagi deleted the respect_changing_scaffold_generator branch April 4, 2019 21:02
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