Open brunoocasali opened 8 years ago
Hello!
Following our guides, we don't need to use t.string :name, null: false for example in our migrations, but is good to database when rails fails (if it fails). What did you think about it? Is a good tip add this and refactor our code?
t.string :name, null: false
Thx!
@brunoocasali it's a good idea to add t.string :name, null: false to our migrations.
Hello!
Following our guides, we don't need to use
t.string :name, null: false
for example in our migrations, but is good to database when rails fails (if it fails). What did you think about it? Is a good tip add this and refactor our code?Thx!