Remove Commentaire::columns override
It was used for a cleanup migration a long time ago (see #233, #3033, #3043)
This commit is contained in:
parent
7e98213829
commit
3bf19de124
1 changed files with 0 additions and 4 deletions
|
@ -14,10 +14,6 @@ class Commentaire < ApplicationRecord
|
|||
|
||||
after_create :notify
|
||||
|
||||
def self.columns
|
||||
super.reject { |c| c.name == "champ" }
|
||||
end
|
||||
|
||||
def email
|
||||
if user
|
||||
user.email
|
||||
|
|
Loading…
Reference in a new issue