Skip to content

Commit

Permalink
Merge pull request ionia-corporation#93 from Danielpk/patch-1
Browse files Browse the repository at this point in the history
Updated README - How to cast fields values.
  • Loading branch information
Oldani Pablo committed Oct 28, 2014
2 parents ba4e978 + 2b14dde commit 1ef3b1f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ class Medication < ActiveForce::SObject

field :max_dossage # defaults to "Max_Dossage__c"
field :updated_from

##
# You can cast field value using `as`
# field :address_primary_active, from: 's360a__AddressPrimaryActive__c', as: :boolean
#
# Available options are :boolean, :int, :double, :percent, :date, :datetime, :string, :base64,
# :byte, :ID, :reference, :currency, :textarea, :phone, :url, :email, :combobox, :picklist,
# :multipicklist, :anyType, :location

##
# Table name is inferred from class name.
Expand Down

0 comments on commit 1ef3b1f

Please sign in to comment.