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:
committed by
voodoorai2000
parent
4068ef29ee
commit
da1c5fdb01
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user