Files

Class/Module Index [+]

Quicksearch

SimpleForm::Helpers::Validators

Public Instance Methods

has_validators?() click to toggle source
# File lib/simple_form/helpers/validators.rb, line 4
def has_validators?
  @has_validators ||= attribute_name && object.class.respond_to?(:validators_on)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.