Commit 2e5d32e0 authored by Pirate Praveen's avatar Pirate Praveen

Switch to state_machines-activerecord (Fixes: #3374)

parent bf76df22
...@@ -113,7 +113,7 @@ group :unicorn do ...@@ -113,7 +113,7 @@ group :unicorn do
end end
# State machine # State machine
gem "state_machine", '~> 1.2.0' gem "state_machines-activerecord", '~> 0.3.0'
# Run events after state machine commits # Run events after state machine commits
gem 'after_commit_queue' gem 'after_commit_queue'
......
# This is a patch to address the issue in https://github.com/pluginaweek/state_machine/issues/251 # 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 # where gem 'state_machine' was not working for Rails 4.1
module StateMachine module StateMachines
module Integrations module Integrations
module ActiveModel module ActiveModel
public :around_validation public :around_validation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment