Skip to content

Conversation

@CyborgMaster
Copy link

Protector already handles whitelisting strong params for new create and update:

Model.new(params)
Model.create(params)
Model.first.update(params)

but it doesn't currently handle building off of an association:

associated = Model.first.associated_model.build(params)

This PR adds that capability.

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