On Dec 29, 2010, at 11:33 AM, Jim Burgess wrote:
> Hi,
>
> I'm trying to understand some code in a book I'm reading and was hoping
> someone could tell me if I have understood it correctly.
>
> There are two models, an employee model and a department model. A
> department has_many :employees an
Hi,
I'm trying to understand some code in a book I'm reading and was hoping
someone could tell me if I have understood it correctly.
There are two models, an employee model and a department model. A
department has_many :employees and an employee belongs_to :department.
Here's a snippet of code f
2 matches
Mail list logo