Skip to content

Prevent cache_belongs_to from being used with a has_one association #361

Open

Description

@dylanahsmith

I noticed in #360 (comment) that this can happen without an exception. There are assumptions in cache_belongs_to that I think would lead to inefficient queries and cache corruption.

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