I am using the ACL System that is described on the Rails wiki and I have
a quick question. I want to set the “role” as a session variable so
that I can display certain navigation schemes and I was doing it like
@session[:user][:role] = @user.roles
When I print out this variable I get:
How can I turn this into a readable value? I tried .to_i because I
think it is an integer but that method isn’t valid.