Skip to content

Remove dead non-file views in development mode on next request #12

@jasoncodes

Description

@jasoncodes

We don’t currently track views in development mode which are using a string rather than a file. With #11, cleanup would happen on next app boot but it would be nice to do it on next request.

Perhaps ActiveRecordViews.register_for_reload on the model file itself would work? Might have to look at caller in is_view to work out the filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions