Skip to content

Use Module#refine in everypolitician_extensions.rb #15595

Open
@chrismytton

Description

Problem

We're currently monkey patching the Everypolitician module in everypolitician_extensions.rb. These changes are global, so could potentially stand on the toes of other code without realising.

Proposed Solution

Use Module#refine to make changes to the Everypolitician::* classes so that our changes are local to the application.

Acceptance Criteria

Changes that are made to Everypolitician should be scoped to the application.

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