Displaying 1 result from an estimated 1 matches for "f856da39".
2006 Mar 01
2
Help with Many-To-Many insert
I am having issues with a many-to-many table. The table relates
resources to standards, but in my resources table has one-to-many
relationships so those also appear in my many-to-many table. I am
trying to insert into the table via:
@resource.core_contents << CoreContent.find(params[:core_content_ids])
But I get this error:
Mysql::Error: Duplicate entry