This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
Authorization intializer fails with a pre-Devise db #1282
Closed
Description
Steps to reproduce:
- Seed DB in version v3.4.x
- Checkout code post v5.2.0
- Try to run
rake db:migrate
(i.e., update)
Expected: success
Actual: NoMethodError: undefined method
username' for #User:0x007f1b0309e1e0`
I'll get this done now, I'll just skip the initializer unless User.respond_to?(:username)
.
Activity