> > Before I respond, would you please verify the fields in your table User, > specfically roleid. >
Elizabeth, I checked the fields in the database. They exist and as I've posted in the question, the code <% rolename = Role.where(id: user.roleid).pluck(:role_name) %> working but returns an array. Thank you -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2fe06510-ad8d-4d76-8bc0-3223f25f31df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

