8bitpal / hackful

Hackful is a platform inspired by Hacker News
MIT License
68 stars 18 forks source link

ArgumentError: config.secret_token #56

Closed sparknlaunch closed 11 years ago

sparknlaunch commented 12 years ago

When running get the below three errors. The third error displays when loading localhost:3000. What step is required to resole?

[DEVISE] Devise.apply_schema is deprecated and has no effect. Please remove it.

[DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.

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):

8bitpal commented 11 years ago

I'm sorry, this COMPLETELY slipped under my radar. You have probably solved this. I took out the file config/initializers/secret_token.rb because, as the name hints at, it contains the secret token. S

Please create the file and add:

"Hackful::Application.config.secret_token = 'RANDOMSTRINGSHOULDBEQUITELONG' "