Skip to content

Support :strict option for validations #151

merged 7 commits into from Sep 14, 2012

2 participants

thoughtbot, inc. member
jferris commented Sep 13, 2012

This adds support to all validation matchers for validates! and :strict => true. Strict validations raise an exception instead of adding messages to be displayed to the user.

thoughtbot, inc. member
croaky commented Sep 13, 2012

Implementation looks great. Looks like it could use some documentation.

thoughtbot, inc. member
jferris commented Sep 14, 2012

Good call. I'll add some docs today.

@jferris jferris merged commit fde078d into master Sep 14, 2012

1 check was pending

Details default The Travis build is in progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.