I tried to use acts_as_authenticated on my site but I was getting some
errors. I went to techno-weenie and found that they depreciated that for
Ok, so I follow the instructions as laid out here:
Also in the book I purchased "rails cookbook"
Well I place in one of my controllers before_filter :login_required and
I get this error:
"undefined method `authenticate_with_http_basic' for
Now I have been reading as much as I can online but I am not getting
anywhere. I think it may just be that I do not fully understand the
concept behind how this plugin works. When I was on the rails irc the
other day I was told that my situation was hard to analyze because I did
not provide any code.
What code exactly? I assume that I am able to place in before_filter
:login_required on any given controller and that would be the end of it
minus creating accounts. Am I mis-understood? Also, when I use this
script/generate authenticated user sessions --include-activation
I am not able to pull up any basic login/out pages as the templates are
I would not use basic templates in production to begin with but my point
here is I cannot seem to get the basics working and I think I am just
missing the point of this plugin.
Does anyone have any insight?