DEV: Remove stale ignored_columns. (#11160)

This commit is contained in:
Alan Guo Xiang Tan 2020-11-09 12:57:59 +08:00 committed by GitHub
parent 43df3348b7
commit 0e4d966a74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -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'

View File

@ -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