From 80fe01c300dde9c101dde1c84fa7a10e0d86cb9a Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 18 Nov 2019 03:57:58 -0600 Subject: Correct `CustomFilters` to `CustomFilter`. --- db/migrate/20191118044943_remove_old_filter_columns.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20191118044943_remove_old_filter_columns.rb b/db/migrate/20191118044943_remove_old_filter_columns.rb index 446f45325..b53d2a66a 100644 --- a/db/migrate/20191118044943_remove_old_filter_columns.rb +++ b/db/migrate/20191118044943_remove_old_filter_columns.rb @@ -1,6 +1,6 @@ class RemoveOldFilterColumns < ActiveRecord::Migration[5.2] def up - CustomFilters.find_each do |filter| + CustomFilter.find_each do |filter| filter.update!(phrase: "\"#{filter.phrase}\"") if filter.whole_word end -- cgit