That could work. Also, if you don’t know you can do something like
topics = Topic.where(category: 10)
topics.update_all(archetype: xxx, topic_category: nil)
Or something like that. If you knew about update_all, this isn’t news.
That could work. Also, if you don’t know you can do something like
topics = Topic.where(category: 10)
topics.update_all(archetype: xxx, topic_category: nil)
Or something like that. If you knew about update_all, this isn’t news.