summaryrefslogtreecommitdiff
path: root/config/initializers/state_machine_patch.rb
blob: 72d010fa5deab3f48285ad4ab07f1793f6d9c3a2 (plain)
1
2
3
4
5
6
7
8
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