Ruby on Rails and database associations
- by Marco
Hi to all,
I'm new to the Ruby world, and there is something unclear to me in defining associations between models. The question is: where is the association saved?
For example, if i create a Customer model by executing:
generate model Customer name:string age:integer
and then i create an Order model
generate model Order description:text…