pablof
2008-Jan-03  21:05 UTC
help - updated from 1.2.5 to 1.2.6 and getting undefined method ''session='' for ActionController::base
i start the server but it exits right away,
I ran the rake to update and changed the version string in config.rb.
Any thoughts on this matter would be appreciated.
i imagine that it has something to do with the session, but i am not
able to figure it out.
my config/config.rb has the following
config.action_controller.session  = {
 :session_key =>  ''c3_rails_session'',
 :secret =>''a_big_string ''
}
RAILS_GEM_VERSION  = ''1.2.6''
my versions are
rails 1.2.6
ruby 1.8.5 (open bsd 4.1)
my application.rb controller
class ApplicationController < ActionController::Base
  helper :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 you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---
Thijs Cadier
2008-Jan-05  13:43 UTC
Re: help - updated from 1.2.5 to 1.2.6 and getting undefined method ''session='' for ActionController::base
You might be using 2.0 by accident. Are you using the newest version of boot.rb? On Jan 3, 10:05 pm, pablof <pablo.flo...@gmail.com> wrote:> i start the server but it exits right away, > > I ran the rake to update and changed the version string in config.rb. > Any thoughts on this matter would be appreciated. > > i imagine that it has something to do with the session, but i am not > able to figure it out. > > my config/config.rb has the following > > config.action_controller.session = { > :session_key => ''c3_rails_session'', > :secret =>''a_big_string ''} > > RAILS_GEM_VERSION = ''1.2.6'' > > my versions are > rails 1.2.6 > ruby 1.8.5 (open bsd 4.1) > > my application.rb controller > > class ApplicationController < ActionController::Base > helper :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 you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- undefined method `authenticate_with_http_basic' for #<SessionsController:0xb6c47c44>
- rescue_from ActionController::RoutingError II
- App_Controller and partial issues with has_many through
- Where can I get "authenticate_with_http_basic"?
- acts_as_authenticated current_user in a model?