app/models/util/updater.rb
# incremental steps
# 1. update studies
# 2. update calculated values
# 3. run saved searches
incremental steps
1. update studies
2. update calculated values
3. run saved searches
incremental steps 1 . update studies 2 . update calculated values 3 . run saved searches
def incremental
      log('begin incremental load...')
      db_mgr.remove_constrains
      ids = Support::StudyXmlRecord.update_studies
      db_mgr.add_constraints
      log('end of incremental load method')
      true
    end
def incremental log ( 'begin incremental load...' ) db_mgr . remove_constrains ids = Support :: StudyXmlRecord . update_studies db_mgr . add_constraints log ( 'end of incremental load method' ) true end
incremental steps
1. update studies
2. update calculated values
3. run saved searches
incremental steps 1 . update studies 2 . update calculated values 3 . run saved searches