module ActiveModel::Validations
Public Instance Methods
has_validations?()
click to toggle source
# File lib/validation_hints.rb, line 21 def has_validations? self.class.has_validations? end
has_validations_for?(attribute)
click to toggle source
# File lib/validation_hints.rb, line 25 def has_validations_for?(attribute) self.class.has_validations_for?(attribute) end
hints()
click to toggle source
# File lib/validation_hints.rb, line 29 def hints @hints ||= Hints.new(self) end