Punit Rathore wrote:
> That is because you are trying to diplay a comment object in the view, 
> which is technically not possible. You might want to display the 
> individual attributes of the @comment.user object, by calling <%= 
> @comment.user.login %>
> 

>> 
>> Why doesn't this
>> 
>> <%[email protected] %>

Sorry should have been  <%= @comment.user,name %> which still doesn't 
work
-- 
Posted via http://www.ruby-forum.com/.

-- 
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