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" On Nov 13, 8:47 am, Mary Nu <[EMAIL PROTECTED]> wrote: > 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 fromhttp://rubyforge.org/frs/?group_id=2972and > unzip it in vendor/plugins > > I create models User, Role and StaticPermission > likehttp://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" > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---