Hi guys, I install and ran the Comatose CMS fine. I have a problem now trying to make the site use authentication. I added the code ** # Includes AuthenticationSystem in the ComatoseAdminController config.admin_includes << :authenticated_system # Calls :login_required as a before_filter config.admin_authorization = :login_required ** as they suggested but when I do I get an error ** uninitialized constant AuthenticatedSystem ** Did I miss anything or I need to add anything extra. One more questions, if that was fixed what is the default username and password in order to login to the system. Thanks in advance Maged Makled -- 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 -~----------~----~----~----~------~----~------~--~---
You need to install restful authentication to use the code as provided; it''s where authenticated_system is from. http://agilewebdevelopment.com/plugins/restful_authentication Here''s a good tutorial on getting it set up: http://www.railsforum.com/viewtopic.php?id=14216 Matt On Thu, 2008-03-20 at 20:10 +0100, Maged Makled wrote:> Hi guys, > I install and ran the Comatose CMS fine. I have a problem now > trying to make the site use authentication. I added the code > > ** > # Includes AuthenticationSystem in the ComatoseAdminController > config.admin_includes << :authenticated_system > > # Calls :login_required as a before_filter > config.admin_authorization = :login_required > ** > as they suggested but when I do I get an error > > ** > uninitialized constant AuthenticatedSystem > ** > > Did I miss anything or I need to add anything extra. > > One more questions, if that was fixed what is the default username and > password in order to login to the system. > > Thanks in advance > > Maged Makled--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Matthew K. Williams wrote:> You need to install restful authentication to use the code as provided; > it''s where authenticated_system is from. > http://agilewebdevelopment.com/plugins/restful_authentication > > Here''s a good tutorial on getting it set up: > http://www.railsforum.com/viewtopic.php?id=14216 > > MattI will try it and let you know. Thanks -- 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 -~----------~----~----~----~------~----~------~--~---