Skip to content

Comments

Forward :context option from #save and #save!#468

Open
seanpdoyle wants to merge 1 commit intorails:mainfrom
seanpdoyle:validates_context
Open

Forward :context option from #save and #save!#468
seanpdoyle wants to merge 1 commit intorails:mainfrom
seanpdoyle:validates_context

Conversation

@seanpdoyle
Copy link
Contributor

Forward the :context option from Base#save and Base#save! to the underlying Validations#valid? call.

This commit alos includes test coverage for directly calling Validations#valid? with a context value, since that behavior wasn't covered by tests elsewhere in the suite.

Forward the `:context` option from `Base#save` and `Base#save!` to the
underlying `Validations#valid?` call.

This commit alos includes test coverage for directly calling
`Validations#valid?` with a `context` value, since that behavior wasn't
covered by tests elsewhere in the suite.
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