Hi, I''m testing authorization plugin with acts_as_authenticated plugin. acts_as_authenticated plugin works fine. But authorization plugin gives me some trouble. 1. I installed authorization plugin from svn and all necessary files exist in <app>/vendor/plugins/authorization directory. 2. I put AUTHORIZATION_MIXIN = "object roles" in environment.rb 3. I did "script/generate role_model Role" and "rake migrate". The table was created in DB. 4. I added acts_as_authorized_user in User model and this causes an error - "undefined local variable or method acts_as_authorized_user for User:Class". Do I need to do something to make it recognize "acts_as_authorized_user"? My rails is 1.1.6 and authorization plugin is the latest. Thanks in advance. Sam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> Do I need to do something to make it recognize > "acts_as_authorized_user"? > My rails is 1.1.6 and authorization plugin is the latest.Which authorization plugin is it ? Can you point to the svn repos ? Alan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Alan Francis wrote:> Which authorization plugin is it ? Can you point to the svn repos ?Oh, it''s http://svn.writertopia.com/svn/plugins/authorization/ . Actually, it''s official name is "authorization plugin". Thanks. Sam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---