Revert "DEV: Remove stale ignored_columns from models."

This reverts commit 9f5c8644d0.

Have to revert because the ignored columns have not been dropped.
This commit is contained in:
Alan Guo Xiang Tan
2022-01-11 10:57:21 +08:00
parent c2afc3915b
commit 6fb89c153a
13 changed files with 51 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ class EmbeddableHost < ActiveRecord::Base
self.host.sub!(/\/.*$/, '')
end
# TODO(2021-07-23): Remove
self.ignored_columns = ["path_whitelist"]
def self.record_for_url(uri)
if uri.is_a?(String)