Reminders
- Add index to foreign keys!
New:
-
rails db:rollback
is just for the last migration - We write the
sample data
to review databases and their associations - When creating sample data,
p u.errors.full_massages
to see erros that may be happening - We can use
<<
to push (creating) record in a table
Top comments (0)