hema gonaboina
2008-Sep-30 13:37 UTC
undefined method `authenticate_with_http_basic'' for #<SessionsController:0xb6c47c44>
I am developing the rails with the flex.. I am following the tutorial FLEXIBLE RAILS - PETER ARMSTRONG . I followed the commands as specified in the tutorial.. my rails version is 1.2.3 and the ruby 1.8.6 I created the restful authentication and i specified the authentication.. ruby script\generate authenticated user sessions ...output omitted... I specified everything.. It worked fine upto 500 pages.. later, class SessionsController < ApplicationController # Be sure to include AuthenticationSystem in Application Controller instead # include AuthenticatedSystem skip_before_filter :login_required He told me to comment the authenticated system and use skip_before.. i done it and the " include AuthenticatedSystem " line added to the application.rb file... now i created the new migration tasks and created the controller when i need to access the link '' http://localhost:3000/session '' it is throwing the exception undefined method `authenticate_with_http_basic'' for #<SessionsController:0xb6c47c44> I changed the rails version and tried (2.0.1) and i reloded the authentication in the application.. and tried in many ways but i can''t find the solution Can Anybody Please help me regarding this error.. where i am doing worng... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---