Welcome to mirror list, hosted at ThFree Co, Russian Federation.

state_machine_patch.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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