radiant/radiant — Issue #284: config/environment.rb will always be overwritten on update
Author: will-r
Created: 2011-11-02 09:17:54+00:00
State: open
Labels: 1.x, annoyance

The generation of environment.rb includes a random session secret.

When radiant is updated we check for changes to the files being updated. Because of the random element, config/environment.rb always looks like it has changed, so the file is always replaced and backed up, and the user warned.

I'm not sure whether this is feature or bug, but it also has the effect of invalidating all existing sessions, so I'm leaning towards bug.