Displaying 1 result from an estimated 1 matches for "r_c_o_p".
Did you mean:
  _c_o_m
  
2005 Feb 11
3
render_collection_of_partials vs. loop whats the difference ?
...<%= render_collection_of_partials "bar", @foo.bars %>
With, <%= @bar.data %> in _bar.rhtml.
With the former, I get the expect single record result. With the latter, I get 
a single iteration, but my @bar doesn''t have any data.
Have I misunderstood the function of r_c_o_p ?
Thanks,
-- 
Dominic