Displaying 3 results from an estimated 3 matches for "authenticationsystem".
2008 Jan 03
1
help - updated from 1.2.5 to 1.2.6 and getting undefined method 'session=' for ActionController::base
...:all # include all helpers, all the time
# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you''re not using the cookie session store
protect_from_forgery # :secret => ''3ac52b38782bce94aa5b8b39873f2052''
# Be sure to include AuthenticationSystem in Application Controller
instead
include AuthenticatedSystem
# If you want "remember me" functionality, add this before_filter to
Application Controller
before_filter :login_from_cookie
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because y...
2008 Sep 30
0
undefined method `authenticate_with_http_basic' for #<SessionsController:0xb6c47c44>
...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 mi...
2009 Dec 25
18
rescue_from ActionController::RoutingError II
...all # include all helpers, all the time
# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you''re not using the cookie session store
protect_from_forgery # :secret => ''34e000fc7cc2daeae150a89535f7f87d''
# Be sure to include AuthenticationSystem in Application Controller
# instead
include AuthenticatedSystem
#Shnelvar
debugger # This one gets hit
#neither rescue_from seems to work
rescue_from ActionController::RoutingError, :with => :route_not_found
# rescue_from ActionController::RoutingError, :with => :render_404...