I am working through a tutorial with the following code:
<h3>New Comment</h3>
<%= render :partial => @comment = Comment.new,
:locals => { :button_name => "Create" } %>
I believe that 'render :partial => @comment' works like 'render :partial => "comment", :object => @comment'
Where does ' = Comment.new' fit in? Is it shorthand for :object?
Alan