search for: active_std

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

Did you mean: active_mtu
2012 Jan 24
4
:locals does not pass var in rails 3.1.0 partial view
...% @rfq.standards.each do |r| %> <p><%= render :partial => ''standards'', :locals => { :f => f, :sid => r.id } %></p> <% end %> Here is the standards partial view: <%= f.association :standards, :collection => Standard.active_std.all(:order => ''name''), :label_method => :name, :value_method => :id, :prompt => "Choose std", :label => "standard:", :include_blank => true, :selected => sid %> When standards rendered, there is an error saying that var or method not d...