dm-validations/lib/dm-validations/validation_errors.rb
# Collect all errors into a single list.
Collect all errors into a single list.
Collect all errors into a single list .
def full_messages
        @errors.inject([]) do |list,pair|
          list += pair.last
        end
      end
def full_messages @errors . inject ( [ ] ) do | list , pair | list += pair . last end end
Collect all errors into a single list.
Collect all errors into a single list .