I added a new column to my table but I forgot to add the :default option. Now I want to populate that column on every single row.
Is there a way to do with using the con
you can do like this:
Foo.update_all(new_column: "bar")