This works

>> c=Comment.find(:first)
=> #<Comment id: 1, story_id: 1, content: " Good", created_at:
"2010-02-23 13:10:50", updated_at: "2010-02-23 13:19:19", user_id: 1>
>> c.user_id
=> 1
>> c.user
=> #<User id: 1, login: "gleb", password: "souhami", name: "Neil Bye",
email: "[email protected]", created_at: "2010-02-25 10:52:32",
updated_at: "2010-02-25 10:52:32">
>> 

Why doesn't this

<%[email protected] %>
-- 
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