How does the render :partial => '/comment/form', :collection=>@blog.comments
work? What object does this pass to the partia开发者_JS百科l view? How do I access the comment object in partial view?
Render partials with collection
How does the render :partial => \'/comment/form\', :collection=>@blog.comments work? What object does this pass to the partia开发者_JS百科l view? How do I access the comment object in partial vi
0
0
0
精彩评论