debian-mirror-gitlab/config/initializers/state_machine_patch.rb

10 lines
271 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
# 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