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

> though in my view/users/index
> when i call the following <%= user.team %> i am getting this displayed
> #<Team:0x10532a4f0>, i want it to display what team the player has been
> allocated to

That (#<Team:0x10532a4f0>) *is* the team - a Team *object*.

Maybe you actually want to display an *attribute* of the object? Like
says its name? Look at your own 'player' example.

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