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

ArgumentError: Unknown validator: 'NifValidator' with Rails 4.0.2 (at least) #4

Open
devml opened this issue Jan 9, 2014 · 0 comments

Comments

@devml
Copy link

devml commented Jan 9, 2014

Hi,

we've included the gem in our project in Rails 4.0.2 (ruby 2.0.0).

We're getting ArgumentError: Unknown validator: 'NifValidator'.

We've tried to include the NifValidator (without the module Nifval) inside config/initializers and it seems it's working. We've deleted these lines: 7, 115 and 117 from https://github.com/albertbellonch/nifval/blob/master/lib/nifval.rb

Maybe the gem should be updated for Rails 4?

We'll try to create a pull request as soon as possible.

Thanks!!

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

No branches or pull requests

1 participant