lib/rocket_job/extensions/aasm.rb in rocketjob-2.0.0 vs lib/rocket_job/extensions/aasm.rb in rocketjob-2.1.1

- old
+ new

@@ -48,9 +48,10 @@ def initialize_copy(orig) super @states = orig.states.collect { |state| state.clone } @events = {} orig.events.each_pair { |name, event| @events[name] = event.clone } + @global_callbacks = @global_callbacks.dup end end end