molten-trunk/molten5_withgrid/lib/authentication_system/contact_methods.rb
def change_password!(new_pass, new_pass_confirmation)   
      @change_password = true   
      self.portal_password__c = new_pass
      self.portal_password__c_confirmation = new_pass_confirmation
      if save
        update_salesforce_attribute('portal_password__c')
      end
      return self
    end
# Changes the contact's password, saves the record, and updates the associated SF record.
# Self is returned.
# DEREK - DIDN'T WANT TO HANDLE THIS WAY, BUT CALLBACKS AREN'T UPDATING SF RECORDS.

Changes the contact's password, saves the record, and updates the associated SF record.
Self is returned.
Changes the contact ' s password saves the record and updates the associated SF record . Self is returned .
def change_password!(new_pass, new_pass_confirmation)   
      @change_password = true   
      self.portal_password__c = new_pass
      self.portal_password__c_confirmation = new_pass_confirmation
      if save
        update_salesforce_attribute('portal_password__c')
      end
      return self
    end
def change_password! ( new_pass , new_pass_confirmation ) @change_password = true self . portal_password__c = new_pass self . portal_password__c_confirmation = new_pass_confirmation if save update_salesforce_attribute ( 'portal_password__c' ) end return self end
Changes the contact's password, saves the record, and updates the associated SF record.
Changes the contact ' s password saves the record and updates the associated SF record .
new_pass
new_pass_confirmation