Use after_commit_queue to schedule import job immediately
Showing
... | @@ -121,6 +121,8 @@ end | ... | @@ -121,6 +121,8 @@ end |
# State machine | # State machine | ||
gem "state_machine", '~> 1.2.0' | gem "state_machine", '~> 1.2.0' | ||
# Run events after state machine commits | |||
gem 'after_commit_queue' | |||
# Issue tags | # Issue tags | ||
gem 'acts-as-taggable-on', '~> 3.4' | gem 'acts-as-taggable-on', '~> 3.4' | ||
... | ... |
Please register or sign in to comment