Class: Fluffery::Forms::Validation::MessageBuilder
- Inherits:
-
Object
- Object
- Fluffery::Forms::Validation::MessageBuilder
- Defined in:
- lib/fluffery/forms/validation/base.rb
Class Method Summary collapse
Class Method Details
.message_for(object, attribute, validator) ⇒ Object
107 108 109 110 111 |
# File 'lib/fluffery/forms/validation/base.rb', line 107 def self.(object, attribute, validator) = self.(validator) = self.defaults(validator.kind) unless .match(/translation missing/i).nil? end |