search for: hbtbatsman1

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

Did you mean: hbtbatsman
2006 Mar 07
0
Form fields and MySQL column name Association
...ut this form, it has to submit all 10 rows into a database table. The thing is, the column names in the table dont associate with the form names... I''ve tried something like: @params = params[:playerclubseason] @playermatchdata = Playermatchdata.new @playermatchdata.PlayerID = @params[:HBTbatsman1] @params = params[:playerclubseason] etc... But i keep getting nil for HBTbatsman, even though there is a value. Is their anyway else to go about getting form fields to insert into database columns with different names? Any Help is much appreciated! -- Posted via http://www.ruby-forum.com/.