Exception: Formtastic::Inputs::Base::Validations::IndeterminableMinimumAttributeError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/formtastic/inputs/base/validations.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) message



7
8
9
10
11
12
# File 'lib/formtastic/inputs/base/validations.rb', line 7

def message
  [
    "A minimum value can not be determined when the validation uses :greater_than on a :decimal or :float column type.",
    "Please alter the validation to use :greater_than_or_equal_to, or provide a value for this attribute explicitly with the :min option on input()."
  ].join("\n")
end