サポートの皆様、ありがとうございます ![]()
以前に閉鎖されたすべてのトピックを開放しました!
Topic.where(closed: true).where("created_at < '2015-01-01'").find_each do |topic|
topic.update_status('closed', false, Discourse.system_user)
end
サポートの皆様、ありがとうございます ![]()
以前に閉鎖されたすべてのトピックを開放しました!
Topic.where(closed: true).where("created_at < '2015-01-01'").find_each do |topic|
topic.update_status('closed', false, Discourse.system_user)
end