search for: file_row_

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

Did you mean: file_rnw
2007 Jul 27
1
locals within a partial
How do you access something you''ve passed to a partial in the locals hash? <% for file in @file_list %> <tr id="file_row_<%= file[0].id %>"> <%= render_no_layout :template => "/shared/_file", :locals => { :file => file } %> </tr> <% end %> but when rendering the shared/_file.rhtml template it complains about missing local variable or method ''file'...