do this in the controller @roles = Role.find :all
and in the view use the @roles variable
do this in the controller @roles = Role.find :all
and in the view use the @roles variable
ajaxrussia wrote:
do this in the controller @roles = Role.find :all
and in the view use the @roles variable
On Feb 1, 12:13 am, Leon Bogaert <rails-mailing-l...@andreas-s.net>
And how would I now then which roles are associated with the user? That line only gets all the roles.