hi Max,
you can pass make a local variable available to partial by send it as part of :locals, like this
for story in @articles.stories <%= render :partial => "story/story_list", :locals => { :story => story } %> end
hi Max,
you can pass make a local variable available to partial by send it as part of :locals, like this
for story in @articles.stories <%= render :partial => "story/story_list", :locals => { :story => story } %> end