Enhance description of config.error_method.

This commit is contained in:
mcbsys 2012-03-16 15:43:26 -07:00
parent dbd80388b4
commit cbf325926d
1 changed files with 3 additions and 1 deletions

View File

@ -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.