def errors_for_actionpack
      e0 = ::ActiveModel::Errors.new(self)
      @errors.each do |e|
        e0.add :base, e
      end
      e0
    end
def errors_for_actionpack
      e0 = ::ActiveModel::Errors.new(self)
      @errors.each do |e|
        e0.add :base, e
      end
      e0
    end
actionpack 4 requires a more robust Errors object