[Rails] acl_system help is needed

Josh Kieschnick
Sun, 16 Jul 2006 17:51:05 -0000

i found Ezra''s acl_system plugin yesterday and i am trying to figure it
out.

based on the simple instructions on the site, it does exactly what i
need but i''m getting some errors when i try to use it:

 NoMethodError in UsersController#index

You have a nil object when you didn''t expect it!
The error occured while evaluating nil.roles

i am pretty new to rails and still have trouble figuring out where
things go, so i''m pretty sure that my problem is that i don''t
have the
current_user method in the right place. or i might have just done
something else wrong too. i''m not sure, but if anyone can help that
would be great.