From 0e4d966a74b63e9e05df719faa8ab50e83593c6c Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Mon, 9 Nov 2020 12:57:59 +0800 Subject: [PATCH] DEV: Remove stale ignored_columns. (#11160) --- app/models/post_reply.rb | 5 ----- app/models/user_email.rb | 3 --- 2 files changed, 8 deletions(-) diff --git a/app/models/post_reply.rb b/app/models/post_reply.rb index fc8eee4d1b2..1cedb847a94 100644 --- a/app/models/post_reply.rb +++ b/app/models/post_reply.rb @@ -1,11 +1,6 @@ # frozen_string_literal: true class PostReply < ActiveRecord::Base - # TODO(2020-01-17): remove - self.ignored_columns = %w{ - reply_id - } - belongs_to :post belongs_to :reply, foreign_key: :reply_post_id, class_name: 'Post' diff --git a/app/models/user_email.rb b/app/models/user_email.rb index a3e76f22fd7..be1a060eed1 100644 --- a/app/models/user_email.rb +++ b/app/models/user_email.rb @@ -1,9 +1,6 @@ # frozen_string_literal: true class UserEmail < ActiveRecord::Base - # TODO(2020-04-24): remove - self.ignored_columns = ['canonical_email'] - belongs_to :user attr_accessor :skip_validate_email