Skip to content

Model instances do not have model_name in older Rails versions #9

@jnicklas

Description

@jnicklas

Seems like this was added fairly recently. We assume that model instances respond to model_name here, but this is only available as a class method in older Rails versions.

Metadata

Metadata

Assignees

No one assigned

    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