Project

General

Profile

Actions

Feature #3851

closed

Handle Rails's missing cookie secret

Added by Eric Davis about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-12
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix

Description

When Rails starts without a cookie secret (from config/initializers/session_store.rb) it throws an errors with a message. I've seen this message reported as a general Redmine error when it's actually a setup error. I was wondering if Redmine itself could handle this error and present a nicer message to the user with:

  • The reason for the error (Rails' message is fine here)
  • How to generate the session_store.rb from rake
  • A link to the install documentation
  • Hide the standard Ruby backtrace

Here are two examples of Rails' message: http://www.redmine.org/boards/3/topics/7646#message-8471 http://www.redmine.org/boards/3/topics/7130#message-8379

Thoughts?

Actions

Also available in: Atom PDF