Skip to content

NameError: Missing model class PersonalAccessToken for the User#personal_access_tokens association. You can specify a different model class with the :class_name option. (NameError) #1765

Description

@sentry

Sentry Issue: ETENGINE-XZ

NameError: uninitialized constant User::PersonalAccessToken (NameError)

......
^^^^^
  app/controllers/api/v3/users_controller.rb:16:in `destroy'
    user.destroy
  app/controllers/api/v3/base_controller.rb:41:in `process_action'
    super
...
(148 additional frame(s) were not displayed)

NameError: Missing model class PersonalAccessToken for the User#personal_access_tokens association. You can specify a different model class with the :class_name option. (NameError)

......
^^^^^
  app/controllers/api/v3/users_controller.rb:16:in `destroy'
    user.destroy
  app/controllers/api/v3/base_controller.rb:41:in `process_action'
    super
...
(147 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions