Support :strict option for validations #151

Merged
merged 7 commits into from Sep 14, 2012

Projects

None yet

2 participants

@jferris
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.

@croaky
Member
croaky commented Sep 13, 2012

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

@jferris
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