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

Comments

Projects
None yet
4 participants
@joevandyk
Copy link

joevandyk commented Mar 1, 2014

Any chance this gem could be compatible with Rails 4?

@krancour

This comment has been minimized.

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

This comment has been minimized.

Copy link

marklohr commented Sep 16, 2015

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

This fixed the issue for us using Rails 4.2.4.

@umer98

This comment has been minimized.

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
You can’t perform that action at this time.