search for: defaultr

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

Did you mean: default
2008 Jul 26
1
Dropdown selected value not reflecting in edit view
...],[between_1_and_3_years, [1,3]],[between_3_and_5_years, [3,5]],[between_5_and_7_years,[5,7]], [between_7_and_10_years,[7,10]], [above_10_years,[10,50]]]) The selected value of the user is not getting reflected in the Edit view of the entry. I am using the Form_partial. Edit View: <% form_for(@defaultrate) do |f| %> <%= render :partial =>"form", :locals => { :f => f, :button => "Update" } %> <% end %> New view: <% form_for(@defaultrate) do |f| %> <%= render :partial =>"form", :locals => { :f => f, :button => &q...