File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ def self.to_csv
2929 CSV . generate ( :headers => true ) do |csv |
3030 csv << %w( order_number last first street city state zip email day_phone eve_phone amount date code fund letter_sent letter_sent_by comments )
3131 all . each do |d |
32+ donation_comment , order_comment = d . comments . to_s , d . order . comments . to_s
3233 csv << [
3334 d . order . id ,
3435 d . customer . last_name . name_capitalize ,
@@ -46,7 +47,9 @@ def self.to_csv
4647 d . account_code . name ,
4748 d . letter_sent ,
4849 ( d . letter_sent ? d . processed_by . full_name : '' ) ,
49- [ d . comments . to_s , d . order . comments . to_s ] . join ( '; ' )
50+ donation_comment . blank? ?
51+ order_comment :
52+ ( order_comment . blank? ? donation_comment : "#{ donation_comment } ; #{ order_comment } " )
5053 ]
5154 end
5255 end
Original file line number Diff line number Diff line change 33# footprint of a single dyno. The values here can be overridden by
44# setting envariables.
55
6- WORKERS_FOR_BASIC_DYNOS = 1
6+ WORKERS_FOR_BASIC_DYNOS = 0 # avoids overhead of cluster manager
77WORKERS_FOR_STANDARD_DYNOS = 2
88workers WORKERS_FOR_BASIC_DYNOS
99threads_count = 1
You can’t perform that action at this time.
0 commit comments