Add a state_machine patch for rails 4.1.

This commit is contained in:
Marin Jankovski 2014-06-02 10:20:56 +02:00
parent 79f8abc51f
commit 9abee4eac8
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# This is a patch to address the issue in https://github.com/pluginaweek/state_machine/issues/251
# where gem 'state_machine' was not working for Rails 4.1
module StateMachine
module Integrations
module ActiveModel
public :around_validation
end
end
end