Hi Kevin

If I am getting it right then
either
you haven't declared require_no_user in your application controller.
or
haven't set up it before_filter in application controller.

Please paste your code so that I can solve your problem precisely.

http://blog.railsjaipur.in/

On Oct 18, 8:37 am, Kevin M <[email protected]> wrote:
> I'm setting up authentication with Authlogic and I get this error.
> I've done some searching but with no success. I tried setting the
> current_user method in Application_controller to protected and not
> private, on the recommendation in Stack Overflow.
>
> Error in browser-----------------
> NoMethodError in User sessionsController#new
>
> undefined method `require_no_user' for #<UserSessionsController:
> 0x24fc700>
>
> Error in terminal------------------
> Processing UserSessionsController#new (for 127.0.0.1 at 2009-10-17
> 23:26:38) [GET]
>   Parameters: {"action"=>"new", "controller"=>"user_sessions"}
>
> NoMethodError (undefined method `require_no_user' for
> #<UserSessionsController:0x24fc700>):
>
> Rendered rescues/_trace (29.9ms)
> Rendered rescues/_request_and_response (1.3ms)
> Rendering rescues/layout (internal_server_error)
>
> ------------------------------------------
>
> FYI------------------------------------
> Rails version: 2.3.4
> Ruby version: 1.8.6
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to