Enhance description of config.error_method.
This commit is contained in:
parent
dbd80388b4
commit
cbf325926d
|
@ -100,7 +100,9 @@ SimpleForm.setup do |config|
|
|||
# Default class for buttons
|
||||
config.button_class = 'btn'
|
||||
|
||||
# Method used to tidy up errors.
|
||||
# Method used to tidy up errors. Specify any Rails Array method.
|
||||
# :first lists the first message for each field.
|
||||
# Use :to_sentence to list all errors for each field.
|
||||
# config.error_method = :first
|
||||
|
||||
# Default tag used for error notification helper.
|
||||
|
|
Loading…
Reference in New Issue