Skip to content
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
@orenyk

Description

@orenyk

Steps to reproduce:

  1. Seed DB in version v3.4.x
  2. Checkout code post v5.2.0
  3. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions