Good notes posted by mdi
RSS feed
6 thanks
Custom collection local variable name
Regarding the previous note from hoodow about using :variable_name to create a custom local variable name when rendering a collection with a partial, the argument should be :as instead of :variable_name, so:
render :partial => “video_listing”, :collection => @recommendations, :as => :video