Skip to content

Commit

Permalink
Patch StateMachine Gem to avoid errors
Browse files Browse the repository at this point in the history
Patch suggested in pluginaweek/state_machine#251.

TODO: Consider investigating an alternative state machine, e.g. aasm or https://github.com/state-machines/state_machines
  • Loading branch information
chrisroos committed May 16, 2017
1 parent c3183b3 commit bd6ed93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/initializers/state_machine_patch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module StateMachine
module Integrations
module ActiveModel
public :around_validation
end
end
end

0 comments on commit bd6ed93

Please sign in to comment.