diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-11-18 03:57:58 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-11-18 03:57:58 -0600 |
commit | 80fe01c300dde9c101dde1c84fa7a10e0d86cb9a (patch) | |
tree | b4478f16991498276fc456019f2cef47d4a9e99f | |
parent | a44eb4a79d6cf35accd23dc6cfeb63fbd5670e13 (diff) |
Correct `CustomFilters` to `CustomFilter`.
-rw-r--r-- | db/migrate/20191118044943_remove_old_filter_columns.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |