You can search here for something like “rails update users” and get some examples. Something like
User.all.update_all(active: true)
You should not do that without a bit more research and taking a backup. It might kill your dog.
You can search here for something like “rails update users” and get some examples. Something like
User.all.update_all(active: true)
You should not do that without a bit more research and taking a backup. It might kill your dog.