RailsCasts Pro episodes are now free!

Learn more or hide this

George Githinji's Profile

GitHub User: georgeG

Site: http://www.biorelated.wordpress.com

Comments by George Githinji

Avatar

explicitly rendering the collection partial,

ruby
<%=render :partial=> 'product', :collection=>@search.products%> 

instead of the shortcut render @search.products

sorts the problem