Support :strict option for validations #151

Merged
merged 7 commits into from Sep 14, 2012

2 participants

@jferris
thoughtbot, inc. member

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.

@croaky
thoughtbot, inc. member

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

@jferris
thoughtbot, inc. member

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