New Rails app.
Rails version 5.0.0.1, version Ruby 2.4.0preview2.
Create the "demo" application, run a simple file to create the file and get an error when trying to view the scaffolds overview page (the base index file still loads the Welcome to Rails screen):
The argument Error in the ProductsController # index key must be 32 bytes:
cipher = new_cipher cipher.encrypt cipher.key = @secret
The problematic line seems to be cipher.key = @secret.
I saw various mentions of the github repo for Rails that mention this problem, but everyone implied that it is now resolved in Rails 5.0.0.1
source share