search for: salary_id

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

Did you mean: galery_id
2006 Sep 28
0
Solved: was Re: Having a problem with form_for
...to f.select generates an undefined method merge OR > leaving them be leaves them working in the form but the form is either > not grabbing the value or putting it into the database. > > So this is the first field: > (btw - the name of the attribute the form should input too is "salary_id) > <%= select ''salary'', ''id'', Salary.find(:all).map {|s| [s.name, s.id]}%> > If I leave it like this, ajax works, but no db input. > > if i add the f.select I get: > undefined method `merge'' for [["Annual", 1], ["Hourl...