暫無描述 http://j1x-huginn.herokuapp.com
class ResetDataOutputAgents < ActiveRecord::Migration def up Agents::DataOutputAgent.find_each do |agent| agent.memory = {} agent.save(validate: false) agent.latest_events(true) end end end