module ActiveRecord

  module HumanizedErrors
    def humanized_errors
      errors.clear
      send :run_validations!
      errors.full_messages.join ', '
    end
  end

  Base.class_eval do
    include HumanizedErrors
  end

end

module ActiveRecord

  module HumanizedErrors
    def humanized_errors
      valid?
      errors.full_messages.join ', '
    end
  end

  Base.class_eval do
    include HumanizedErrors
  end

end

Use `valid?` to trigger validations.
Use `valid?` to trigger validations.

Instead of juggling with ActiveRecord internals, use the `valid?`
method totrigger validation callbacks, making errors be available when
using humanized_errors method.
