-
Notifications
You must be signed in to change notification settings - Fork 512
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
protected method `around_validation' ERROR #348
Comments
This gem isn't supported anymore - check out the fork at https://github.com/state-machines/state_machines to see if it'll work for you |
@twalpole Thanks for the information. The bad thing is that with this fork it shows up another error
|
thanks for the patch. just met the same issue. this is a very useful gem, would be sad to see it left unmaintained. |
francois
added a commit
to Bus-com/state_machine
that referenced
this issue
Jun 14, 2017
On Rails 4.2, state_machine is broken due to using `public_send` instead of a plain `send`. This patch is simply a formalized version of pluginaweek#348.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While using the gem with rails 4.2 I have faced the following issue:
To fix this I have to add a monkey patch.
I added the following code inside config/initializers/state_machine_patch.rb
There is any best way to fix it?
The text was updated successfully, but these errors were encountered: