Stephen Fagan wrote: > I want to revert back to a previous version of rails (1.2.3) but the > project I want to work on was created in 2.0.2. I have uninstalled 2.0.2 > and gem installed 1.2.3 but when I run script\server I get the following > error. (I'm guessing its to do with my environment file but I'm pretty > new to Rails so Im not sure.) > > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:328:in > `send': undefined method `session=' for ActionController::Base:Class > (NoMethodError) > > Anyone any ideas? > > Thanks
I have narrowed it down to this piece of code in config\environment.rb: config.action_controller.session = { :session_key => '_linkitb_session', :secret => 'ec87782d1ced62d9adf7bb29f9dea79026c62d16f4a6a3d35098cf198274193355187a784f66d8f3836efa70e5c6c4301c9b6819f7f1c196c3b853a0b6f9148b' } If I comment this out the server boots no problem but I get an error when I open up localhost:3000 in the browser. Has nyone a sloution to this? Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---