From: Clifford Heath Date: 2007-11-09T15:20:11+09:00 Subject: Re: user.roles -- How do you list the role names of the user? James Britt wrote: > Bob Sanders wrote: >> I want to list out the role names that belong to a user. >> <% for role in user.roles %><% role.name %><% end %> > What happens when you do user.roles.join( ',' ) ? > You may need to explain more about the object model. Is this part of an > ORM library? Og? Sequel? ActiveRecord? It'll be a Rails question. Please take Rails questions to the Rails list. The OP wants <%= user.roles.map(&:name)*',' %> Clifford Heath.