Sha256: c41ed11e22e6c242ec17458fea40fdb15911ff03da915e983a3e434b29892297
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
namespace :g5_updatable do desc 'loads all of g5-hub into local DB. Note: the ENV variables for G5-Auth need to be set!' task load_all: :environment do puts "loading urns from #{G5Updatable::AllClientUrnsFetcher::url}...." G5Updatable::ClientFeedProcessor.load_all_clients puts 'Success!!' end desc 'update Location columns based on before_validation logic (client_urn FK, display_name)' task data_migration: :environment do G5Updatable::Location.find_each do |location| location.save end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
g5_updatable-1.0.2.pre.1 | lib/tasks/g5_updatable_tasks.rake |