Method: ApplicationDecorator#pretty_errors
- Defined in:
- lib/aptible/rails/decorators/application_decorator.rb
#pretty_errors ⇒ Object
8 9 10 |
# File 'lib/aptible/rails/decorators/application_decorator.rb', line 8 def pretty_errors "Some fields had errors: #{object.errors..join(', ')}." end |