On Sat, Jun 9, 2012 at 8:05 AM, Paul McGuane <[email protected]> wrote:

> i have tried something similar and got this

? That's not remotely similar to your original example:

> when i call the following <%= user.team %> i am getting this displayed

Doesn't it seem apparent that if this <%= user.team %> shows you the
team object, <%= user.team.name %> would show you the e.g. name
attribute of that object?

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

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