Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support :strict option for validations #151

Merged
merged 7 commits into from Sep 14, 2012
Merged

Support :strict option for validations #151

merged 7 commits into from Sep 14, 2012

Conversation

jferris
Copy link
Member

@jferris 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
Copy link
Contributor

croaky commented Sep 13, 2012

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

@jferris
Copy link
Member Author

jferris commented Sep 14, 2012

Good call. I'll add some docs today.

@jferris jferris merged commit fde078d into master Sep 14, 2012
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.

None yet

2 participants