If you do, you’ll want this to be done at the console.
Something like
Topic.where("category.id=null").update_all(category=123)
If you do, you’ll want this to be done at the console.
Something like
Topic.where("category.id=null").update_all(category=123)