Help active rbac!

Hello everyone,

I need your help, i’m tryng to use active rbac plugin, but i dont
understand how to integrate with my application, if someone knows how,
please let me know.

I use eclipse rad rails to install that plugin but it says that didn’t
find that plugin, i download from
http://rubyforge.org/frs/?group_id=2972 and unzip it in vendor/plugins

I create models User, Role and StaticPermission like
http://active-rbac.rubyforge.org/docs/005_acts_as_models.html
says and generate the respective controllers, but in the browser:

undefined local variable or method `acts_as_user’ for User:Class

Please, help!

If someone recommend another complete rbac plugin, i will appreciate
your help.

Sincerely,

Mary

P.D. Today started Off Road Race “Baja 1000”

I use active_rbac successfully and I really like it.

acts_as_user is a method that you place in the User model which adds
stuff to the User model.

If it can’t be found perhaps you forgot to add these lines to your
controller/application.rb file…

require_dependency ‘user’
require_dependency ‘role’
require_dependency ‘static_permission’

which is a documented “gotcha”