lib/massive/step.rb in massive-0.3.0 vs lib/massive/step.rb in massive-0.4.0
- old
+ new
@@ -7,10 +7,10 @@
include Massive::MemoryConsumption
include Massive::TimingSupport
include Massive::Locking
include Massive::Notifications
- embedded_in :process, class_name: 'Massive::Process'
+ belongs_to :process, class_name: 'Massive::Process'
embeds_many :jobs, class_name: 'Massive::Job'
field :total_count, type: Integer
field :weight, type: Integer, default: 1
field :job_class, type: String, default: -> { self.class.job_class }