search for: automodels

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

2009 Aug 11
5
Dynamic drop-downs in a form_for using AJAX remote_function - Help
...to the method and filter the records returned. The problem occurs when the controller attempts to render the partial, I get the following error: ActionView::TemplateError (undefined local variable or method `f'' for #<ActionView::Base:0xb6e7b2f4>) on line #1 of app/views/listings/ _automodels.html.erb: <%= f.collection_select :model, @automodels, :model, :model, {:prompt => "-Select a Make First-"} %> This leads me to believe that the "f" variable the rest of the fields in the form_for are using is not available to the newly-replaced "collection_select...