Forum: Ruby on Rails Storing sessions files elsewhere on EdgeRails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alain R. (Guest)
on 2006-03-07 22:38
(Received via mailing list)
Hi all,

In a Rails 1.0 project, I successfully changed the sessions storage
location to <RAILS-ROOT>/tmp, by adding

ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:tmpdir =>
File.join(RAILS_ROOT, '/tmp'))
in environment.rb

I tried to use the same trick in an EdgeRails project, but it doesn't
work : server error, with no msg in the logs.
(MacOS X, with Locomotive.)

When I start the console, I get a new error:

   Loading development environment.
uninitialized constant ActionController


       uninitialized constant

Any idea?

This topic is locked and can not be replied to.