Skip to content
This repository was archived by the owner on Aug 3, 2020. It is now read-only.
This repository was archived by the owner on Aug 3, 2020. It is now read-only.

Trying to update a non-declared field should fail loudly. #104

@sdeframond

Description

@sdeframond

Given:

class Case < ActiveForce::SObject
  field :id, from: 'Id'
end

kase = Case.find 123

kase.update_attributes! foo: 'bar' # This should fail loudly.

When trying to update an attribute not declared, ActiveForce should fail loudly. Instead it just ignores the parameter, without even sending it to Salesforce API (which would at least complain).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions