Skip to content

Modernize implementation: use schema_monkey and schema_plus_core #16

@ronen

Description

@ronen

schema_associations currently monkey-patches ActiveRecord::Base, using a bunch of alias_method_chain calls.

Instead, ideally schema_plus_core would provide a middleware stack for the relevant methods (reflect_on_association and friends), and schema_associations would then be middleware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions