Skip to content

Commit

Permalink
Add state machine patch to fix error with state machine
Browse files Browse the repository at this point in the history
  • Loading branch information
luisramos0 committed Oct 13, 2020
1 parent 5e84c1f commit 74cdc4c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/initializers/state_machine_patch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module StateMachine
module Integrations
module ActiveModel
public :around_validation
end

module ActiveRecord
public :around_save
end
end
end

0 comments on commit 74cdc4c

Please sign in to comment.