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

SObject.field default mapping value follows SFDC API naming convention. ... #15

Merged
merged 1 commit into from
Aug 21, 2014

Conversation

DanOlson
Copy link
Contributor

Fixes #14

Provides a default mapping for SObject.field that follows Salesforce API naming conventions:

class Foo < ActiveForce::SObject
   field :some_attribute
end

Foo.mappings[:some_attribute]
=> "Some_Attribute__c"

olvap pushed a commit that referenced this pull request Aug 21, 2014
SObject.field default mapping value follows SFDC API naming convention. ...
@olvap olvap merged commit 15e96c3 into ionia-corporation:master Aug 21, 2014
@olvap
Copy link
Contributor

olvap commented Aug 21, 2014

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate default SFDC column name for a given field.
2 participants