Suppose I have Model Person and Model Book. One person has many books. I have a has_many books in Person's model and belongs_to in Book's model. When I generate those scaffold, there're no foreign keys in the database. Do I have to always create a migration using the convention, for example book_id, manually ? Why rails does not link thing on the database ? I didn't figure out how Rails knots everything together.