Skip to content

Autoload issue #2

Description

@doliveirakn

If Rails has autoloaded the parent class but not any of the children, we don't have the mapping so when you do a query, you may get an exception

The single-table inheritance mechanism failed to locate the subclass: '1'

This is purely a bug in development, since Production modes you eagar load all of the classes.

Activity

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

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