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

Upgrade to Rails 4? #11

Open
joevandyk opened this issue Mar 1, 2014 · 3 comments
Open

Upgrade to Rails 4? #11

joevandyk opened this issue Mar 1, 2014 · 3 comments

Comments

@joevandyk
Copy link

Any chance this gem could be compatible with Rails 4?

@krancour
Copy link

krancour commented May 1, 2014

Another github user named @peterbeers forked this and made it Rails 4 compatible. It works great. But neither this nor peterbeer's is Rails 4.1 compatible. I dug down into this and try as I might, I couldn't get it to work with Rails 4.1. If someone who understands validations (and the callbacks used internally by validations) better than me, I'd be very interested in a Rails 4.1-compatible version of this.

@marklohr
Copy link

Refer to the changes made to the gem here:
BroiSatse@49f634a

This fixed the issue for us using Rails 4.2.4.

@umer98
Copy link

umer98 commented Jan 27, 2016

I am using Rails 4.2.4 but I am still getting the following error:

2.2.3 :002 > game.valid?
NoMethodError: undefined method `validate' for #<ActiveSupport::Callbacks::Callback:0x007f9ae41149b0>

Any ideas?

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

4 participants