Displaying 1 result from an estimated 1 matches for "stagiaire_id".
2006 May 18
1
Feed 2 tables with one Form
...> ''new''
end
My probleme is that, it creates an entry in the "stagiaires" table with
no problem, but not in the "demandes" table :(
here the error : Mysql::Error: #23000Column ''dr'' cannot be null: INSERT
INTO demandes (`dr`, `type`, `stagiaire_id`) VALUES(NULL, '''', 13)
i supposed that i did something wrong near :
@stagiaire.demandes.create(params[:dr]) thks
--
Posted via http://www.ruby-forum.com/.