Skip to content

Circular dependency detected while autoloading constant User #67

Description

@juzap10

I create a fresh app without errors, then i try to run rake db:migrate and gets me this error
Circular dependency detected while autoloading constant User
localizated on
/app/admin/user.rb:2:in <top (required)>
spec/factories/users.rb:12:in block (2 levels) in <top (required)>
spec/factories/users.rb:8:in block (2 levels) in <top (required)>
spec/factories/users.rb:7:in block (2 levels) in <top (required)>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions