Module: ActiveModel::Validations::HelperMethods

Defined in:
lib/l10n/translation_validator.rb

Instance Method Summary collapse

Instance Method Details

#validates_translation_of(*attr_names) ⇒ Object



21
22
23
# File 'lib/l10n/translation_validator.rb', line 21

def validates_translation_of(*attr_names)
  validates_with L10n::TranslationValidator, _merge_attributes(attr_names)
end