Displaying 1 result from an estimated 1 matches for "home_bedrooms".
2006 May 30
4
Selectboxes and Rails
Hey was wondering how to setup a select box that when I call
Model.new(params[:model]) it will automatically putit into the db...
I tried
<select name="home_bedrooms" id="home_bedrooms">
<option value="0">0</option>
...
</select>
then when I do @home = Home.new(params[:home]) that field doesnt insert
into the db.. any ideas?
-Ray
--
Posted via http://www.ruby-forum.com/.