aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request_batch.rb
diff options
context:
space:
mode:
authorJames McKinney <james@slashpoundbang.com>2015-05-21 14:56:53 +0200
committerJames McKinney <james@slashpoundbang.com>2015-05-21 14:56:53 +0200
commit7b2757e7be4ae2ddf0fa7cb694faf5799340f003 (patch)
tree3595987c0d46c8a90f522b581daa94415407e38e /app/models/info_request_batch.rb
parentdd289908964c8d60e33ce71724dc9e36c3beb765 (diff)
Remove all optional parentheses for method calls in Ruby
Diffstat (limited to 'app/models/info_request_batch.rb')
-rw-r--r--app/models/info_request_batch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/info_request_batch.rb b/app/models/info_request_batch.rb
index 5a20edce8..b831f3042 100644
--- a/app/models/info_request_batch.rb
+++ b/app/models/info_request_batch.rb
@@ -70,7 +70,7 @@ class InfoRequestBatch < ActiveRecord::Base
info_request
end
- def InfoRequestBatch.send_batches()
+ def InfoRequestBatch.send_batches
find_each(:conditions => "sent_at IS NULL") do |info_request_batch|
unrequestable = info_request_batch.create_batch!
mail_message = InfoRequestBatchMailer.batch_sent(info_request_batch,