search for: projects_schedul

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

Did you mean: projects_schedules
2007 Apr 08
0
select html for habtm
...ction => ''show'', :id => @schedule else render :action => ''edit'' end end I keep getting an error: ActiveRecord::StatementInvalid in ScheduleController#update Mysql::Error: Duplicate entry ''3'' for key 1: INSERT INTO projects_schedules (`project_id`, `id`, `schedule_id`) VALUES (3, 3, 1) It''s because the id 3 is already used in the projects_schedules table. Why is it choosing a duplicate key? T. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google...