Rails secret token bug

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)
解决方法
rake secret

 

你可能感兴趣的:(Rails)