Setting Up ActiveRbac

6 views
Skip to first unread message

Link

unread,
May 14, 2009, 7:24:01 PM5/14/09
to active-rbac
Hi Guys,

I am quite new to rails and ActiveRbac and I am having problems to set
it up.
I keep getting Internal server errors showing the following message

Expected /Users/applications/workspaces/eclipse/Pilot/app/controllers/
active_rbac/login_controller.rb to define ActiveRbac::LoginController
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:249:in `load_missing_constant'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:453:in `const_missing'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
inflector.rb:257:in `constantize'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
core_ext/string/inflections.rb:148:in `constantize'
/Library/Ruby/Gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1426:in `recognize'
/Library/Ruby/Gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:170:in `handle_request'
/Library/Ruby/Gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:115:in `dispatch'
/Library/Ruby/Gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:126:in `dispatch_cgi'
/Library/Ruby/Gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:9:in `dispatch'

I cannot figure out what is wrong here.
I appreciate any help.

Thanks

Manuel Holtgrewe

unread,
May 14, 2009, 7:37:30 PM5/14/09
to activ...@googlegroups.com
Hm, I have not worked with rails since 1.2 or so, so one of the
reasons might be that ActiveRbac is outdated and does not work with
Rails 2.0.

Does anyone have any experience with ActiveRbac and Rails 2.x?

-- Manuel



2009/5/15 Link <ronaldo...@gmail.com>:

Link

unread,
May 14, 2009, 8:08:05 PM5/14/09
to active-rbac
I read a comment here somewhere from someone that mentioned he is
using Rbac 1.2 with rails 2.0.2 and it is working fine.

I cannot figure out hwo to set it up.




On May 15, 9:37 am, Manuel Holtgrewe <zyklenf...@googlemail.com>
wrote:
> Hm, I have not worked with rails since 1.2 or so, so one of the
> reasons might be that ActiveRbac is outdated and does not work with
> Rails 2.0.
>
> Does anyone have any experience with ActiveRbac and Rails 2.x?
>
> -- Manuel
>
> 2009/5/15 Link <ronaldo.jun...@gmail.com>:

Andy Koch

unread,
May 15, 2009, 9:03:06 AM5/15/09
to active-rbac
I have rbac running on a 2.1 site, however I would not recommend
making a new app with rbac. There are other Authentication /
Authorization plugins available that enjoy active community support.

Currently I would recommend AuthLogic + Declarative_Authorization.
Unless you plan to take the lead developer role for Rbac...
Reply all
Reply to author
Forward
0 new messages