state_updater.rb revision 9e2c946969684c4147c67bf5a5d07441335298e9
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