Sha256: bced2c3b47d31d295295dde963e6bd95b427d4202583e871bbd03f766f19331b
Contents?: true
Size: 389 Bytes
Versions: 3
Compression:
Stored size: 389 Bytes
Contents
namespace :easy do namespace :reference_data do desc "Refreshes reference data values for the current environment. Pass the wrap_in_transaction flag to refresh in a transaction." task :refresh, [:wrap_in_transaction] => :environment do |_task, args| Easy::ReferenceData.load_files(wrap_in_transaction: args[:wrap_in_transaction] == "wrap_in_transaction") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
easy_reference_data-1.2.1 | lib/tasks/easy_reference_data.rake |
easy_reference_data-1.2.0 | lib/tasks/easy_reference_data.rake |
easy_reference_data-1.1.0 | lib/tasks/easy_reference_data.rake |