Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jasoncodes opened this issue Dec 10, 2014 · 0 comments
Open

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

jasoncodes opened this issue Dec 10, 2014 · 0 comments

Comments

@jasoncodes
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant