molten-trunk/molten5_withgrid/lib/acts_as_syncable.rb
def update_salesforce_attribute(attribute)
          # updated the synced attribute...if we can't connect, don't raise an exception.
          begin
            synced_class.find_by_id(id).update_attribute(attribute,send(attribute))
          rescue SocketError
            logger.warn("Unable to connect to Salesforce and update [#{synced_class}] attribute [#{attribute}]
                         with value [#{send(attribute)}]")
          end
        end
# Pushes the current value of +attribute+ to the Salesforce cloned record and saves.
Pushes the current value of +attribute+ to the Salesforce cloned record and saves.
Pushes the current value of + attribute + to the Salesforce cloned record and saves .
def update_salesforce_attribute(attribute)
          begin
            synced_class.find_by_id(id).update_attribute(attribute,send(attribute))
          rescue SocketError
            logger.warn("Unable to connect to Salesforce and update [#{synced_class}] attribute [#{attribute}]
                         with value [#{send(attribute)}]")
          end
        end
def update_salesforce_attribute ( attribute ) begin synced_class . find_by_id ( id ) . update_attribute ( attribute , send ( attribute ) ) rescue SocketError logger . warn ( "Unable to connect to Salesforce and update [#{synced_class}] attribute [#{attribute}]
                         with value [#{send(attribute)}]" ) end end
Pushes the current value of +attribute+ to the Salesforce cloned record and saves.
Pushes the current value of + attribute + to the Salesforce cloned record and saves .
# updated the synced attribute...if we can't connect, don't raise an exception.
attribute