Commit 9abee4eac80852be502f1cc35cedae063d314e45
1 parent
79f8abc5
Exists in
spb-stable
and in
2 other branches
Add a state_machine patch for rails 4.1.
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,9 @@ |
1 | +# This is a patch to address the issue in https://github.com/pluginaweek/state_machine/issues/251 | |
2 | +# where gem 'state_machine' was not working for Rails 4.1 | |
3 | +module StateMachine | |
4 | + module Integrations | |
5 | + module ActiveModel | |
6 | + public :around_validation | |
7 | + end | |
8 | + end | |
9 | +end | ... | ... |