Skip to content

Commit

Permalink
Add detail to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
equivalentideas committed Jun 16, 2017
1 parent 3c57272 commit c2b773f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/alert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def location=(l)

# TODO: This can probably be removed after being run on production
# because all future alerts will be created with an associated AlertSubscriber
# see spec/models/alert_spec.rb:11
def self.create_alert_subscribers_for_existing_alerts
Alert.find_in_batches do |batch|
batch.each do |alert|
Expand Down

0 comments on commit c2b773f

Please sign in to comment.