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

Namespaced validators #129

Closed
wants to merge 1 commit into from
Closed

Namespaced validators #129

wants to merge 1 commit into from

Conversation

samuelkadolph
Copy link
Contributor

Adds support to have namespace validators that aren't inside the model itself.

validates :attr, :'namespace/some' => true looks for Namespace::SomeValidator

Includes test and documentation for new feature
@drogus
Copy link
Member

drogus commented Dec 10, 2010

Commit looks fine and I think that this is expected behavior.

vijaydev added a commit that referenced this pull request Apr 11, 2013
Remove “Sweepers” from Caching TOC and mention Page/Action caching removal
This pull request was closed.
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