search for: has_many_belong_to_many

Displaying 1 result from an estimated 1 matches for "has_many_belong_to_many".

2006 Sep 25
2
How to insert data into a relational database?
...I need to know how to enter the data into the tables. Since there are two tables and I am using the "has_many" do I have to write two statements. One statement to insert into table one and another one to write to table two. Is there a way to insert data like how it is done for "has_many_belong_to_many" where we can just use "<<"? I have also bought the pdf version of the agile book for rails version 2. If there is a page I should look at, please do advise. Or if there is a website, please do send the link. I really am new at this. Please do not get upset with all these q...