On 25 November 2010 11:59, Vineeth Pradhan <[email protected]> wrote:
> Hello,
>
> How does the "render :partial => '/comment/form',
> :collection=>@blog.comments" work? What object does this pass to the
> partial view? How do I access the comment object in partial view?

Have a look at the Rails Guide on Layouts and Rendering.  It should
get you started at least.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to