Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurrence of New app: "key must be 32 bits" #26694

Closed
jonlumb opened this issue Oct 3, 2016 · 4 comments
Closed

Recurrence of New app: "key must be 32 bits" #26694

jonlumb opened this issue Oct 3, 2016 · 4 comments

Comments

@jonlumb
Copy link

jonlumb commented Oct 3, 2016

Steps to reproduce

Fresh install of Ruby 2.4.0preview2 and Rails 5.0.0.1
Create new app, generate a basic scaffold, run db:migrate, navigate to the scaffold overview page and re-encounter this issue (although the "Welcome to Rails" index page still works):

#25185

Expected behavior

Should load scaffold overview

Actual behavior

Error message: "Key must be 32bytes"

System configuration

Rails version: 5.0.0.1

Ruby version: 2.4.0preview2

@prathamesh-sonpatki
Copy link
Member

It has been fixed by #25758 and will be available to use when Rails 5.0.1 is released, thanks for the report!

@zuzannast
Copy link

@prathamesh-sonpatki Got the same issue with Ruby 2.4.0 and Rails 5.0.1.

@vipulnsward
Copy link
Member

vipulnsward commented Jan 23, 2017 via email

@zuzannast
Copy link

Hey @vipulnsward, sorry, my mistake. The issue I have is introduced by attr_encrypted/encryptor gem. Here's a link: attr-encrypted/encryptor#26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants