You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we have class names in the metadata table, we could try to load each constant and drop the view if it fails.
What should we do if another view depends on the view about to be dropped? We should not cascade as that would cause the metadata table to be out of sync. Sorting and dropping the leaves first should work fine though.
We should be able to run this from the ActiveSupport.on_load :active_record railtie to clean up automatically.
The text was updated successfully, but these errors were encountered:
Now that we have class names in the metadata table, we could try to load each constant and drop the view if it fails.
What should we do if another view depends on the view about to be dropped? We should not cascade as that would cause the metadata table to be out of sync. Sorting and dropping the leaves first should work fine though.
We should be able to run this from the
ActiveSupport.on_load :active_record
railtie to clean up automatically.The text was updated successfully, but these errors were encountered: