Skip to content

ActiveRecord's to_key/to_params override causes issues with devise gem authentication #7

@ahmayou

Description

@ahmayou

The latest change in #6 (0.2.0) where ActiveRecord's to_key/to_params was overridden is causing issues with other gems that are utilizing ActiveRecord's to_key/to_params methods.

For example, devise gem uses to_key method to authenticate users, when the method is overridden by identifiable, the authentication no longer works in devise and no errors are displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions