Sign in through GitHub

Please read for an updated status on RailsCasts:

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