Displaying 1 result from an estimated 1 matches for "pl_m7j8gwe4j".
2012 Jan 24
4
:locals does not pass var in rails 3.1.0 partial view
Here is code in form.html.erb for partial view. Local var :sid was
defined as the id of the record and it should be passed into the
partial view standards.html.erb as a local var.
<% @rfq.standards.each do |r| %>
<p><%= render :partial => ''standards'', :locals => { :f =>
f, :sid => r.id } %></p>
<% end %>
Here is the