Project

General

Profile

Actions

Defect #10891

closed

Rails 3 and 'generate_session_store'

Added by John Yani almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I have an error when trying to rake generate_session_store on trunk:

Don't know how to build task 'generate_session_store'

When skipping this step I have this error:

ArgumentError (A secret is required to generate an integrity hash for cookie session data. Use config.secret_token = "some secret phrase of at least 30 characters"in config/initializers/secret_token.rb):

Actions #1

Updated by Jean-Philippe Lang almost 12 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

The install doc will be updated after 2.0 release. For now, please have a look at doc/INSTALL in trunk.
The equivalent rake task is generate_secret_token.

Actions #2

Updated by Etienne Massip almost 12 years ago

  • Status changed from Closed to Reopened

trunk/doc/INSTALL is right: source:/trunk/doc/INSTALL is erroneously mentionning rake generate_session_store.

Actions #3

Updated by Jean-Philippe Lang almost 12 years ago

  • Status changed from Reopened to Closed

Indeed, fixed.

Actions

Also available in: Atom PDF