molten-trunk/molten5_withgrid/lib/acts_as_syncable.rb
# Updates the +attribute+ and value of the local and does the same for associated record
# in the Salesforce database if the +sync :with+ option is provided. 
# No exceptions are raised if the connection to Salesforce can't be established.
Updates the +attribute+ and value of the local and does the same for associated record
in the Salesforce database if the +sync :with+ option is provided.
No exceptions are raised if the connection to Salesforce can't be established.
Updates the + attribute + and value of the local and does the same for associated record in the Salesforce database if the + sync : with + option is provided . No exceptions are raised if the connection to Salesforce can ' t be established .
def update_attribute_and_sync(attribute,value)
          if update_attribute(attribute,value)        
            update_salesforce_attribute(attribute)   
          end                                 
        end
def update_attribute_and_sync ( attribute , value ) if update_attribute ( attribute , value ) update_salesforce_attribute ( attribute ) end end
Updates the +attribute+ and value of the local and does the same for associated record
in the Salesforce database if the +sync :with+ option is provided.
Updates the + attribute + and value of the local and does the same for associated record in the Salesforce database if the + sync : with + option is provided .
attribute
value