Module: ActiveRecord::HumanizedErrors
- Defined in:
- lib/activerecord/humanized_errors.rb,
lib/activerecord/humanized_errors/version.rb
Constant Summary collapse
- VERSION =
'2.0.1'
Instance Method Summary collapse
Instance Method Details
#humanized_errors ⇒ Object
6 7 8 9 |
# File 'lib/activerecord/humanized_errors.rb', line 6 def humanized_errors valid? unless errors.present? errors..join ', ' end |