lib/rocket_job/event.rb in rocketjob-5.4.1 vs lib/rocket_job/event.rb in rocketjob-6.0.0.rc1
- old
+ new
@@ -33,10 +33,10 @@
# Event Action
# Examples:
# :shutdown
# :pause
# :updated
- field :action, type: Symbol
+ field :action, type: Mongoid::StringifiedSymbol
# Hash Parameters to be sent with the event (event specific).
field :parameters, type: Hash
validates_presence_of :name