On 18 Nov 2008, at 12:51, BoBKilla wrote:
im kind of a newbie with ruby on rails and i have a question about
has_many and belongs_to because i saw tutorials where they use it but
i don’t see how it works ? What if you don’t use it ?
In fact i don’t see if it is actually usefull…
Well associations are pretty fundamental to Active Record. You don’t
have to use them but you’d just be creating a lot of work for yourself
and missing out on a lot of the handy bits in rails.
http://guides.rails.info/association_basics.html is probably not a bad
place to start.