Browse Source
various tests tweaked to suppor this change. rake task from another ticket folded into this ticket to prevent merge conflictspull/1744/head
14 changed files with 21 additions and 30 deletions
@ -0,0 +1,5 @@ |
|||||||
|
desc "set creation method to bulk upload if a log has a bulk upload id" |
||||||
|
task set_creation_method: :environment do |
||||||
|
LettingsLog.where.not(bulk_upload_id: nil).each(&:creation_method_bulk_upload!) |
||||||
|
SalesLog.where.not(bulk_upload_id: nil).each(&:creation_method_bulk_upload!) |
||||||
|
end |
||||||
Loading…
Reference in new issue