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
|
after_create :notify
|
||||||
|
|
||||||
def self.columns
|
|
||||||
super.reject { |c| c.name == "champ" }
|
|
||||||
end
|
|
||||||
|
|
||||||
def email
|
def email
|
||||||
if user
|
if user
|
||||||
user.email
|
user.email
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue