Upgraded rails to version 3.2.17.
Moved session secret to env variable.