state_updater.rb revision d79e030993a7d41dd0becfe941633e23997a6717
included do
where state: states.map(&:to_s)
}
end
# override if necessary
end
# Sidekiq requeues the current job automatically
else
end
# Can really happen
Rails.logger.fatal "Unable to update state of #{self.class} #{id}"
end
raise e
end
end
save!
end
end