From: Bob Sanders Date: 2007-11-09T15:23:10+09:00 Subject: Re: user.roles -- How do you list the role names of the user Jacob Basham wrote: > Voila > > <%= user.roles.join(", ") %> > > http://www.ruby-doc.org/core/classes/Array.html#M002205 > > Jake Hi Jake, I tried that -- and ended up with a pound sign (#) I'm guessing that brings up an array, and I'll have to incorporate the "name" in there somehow e.g. user.roles[name].join(", ") (which is probably totally wrong) any ideas guys? -- Posted via http://www.ruby-forum.com/.