Remove unneded before validation callbacks

After globalize gem update there is no need to keep this monkey patch.

More information here [1]

[1] 3075c89b70
This commit is contained in:
Senén Rodero Rodríguez
2019-03-29 15:49:11 +01:00
committed by voodoorai2000
parent 4068ef29ee
commit da1c5fdb01
5 changed files with 0 additions and 11 deletions

View File

@@ -9,10 +9,6 @@ module Globalizable
translations.reject(&:_destroy).map(&:locale)
end
def assign_model_to_translations
translations.each { |translation| translation.globalized_model = self }
end
def description
self.read_attribute(:description).try :html_safe
end