email job needs to respect active as well
This commit is contained in:
parent
a56991aede
commit
35f77129ad
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ namespace :metamaps do
|
|||
end
|
||||
|
||||
def summarize_map_activity
|
||||
Follow.where(followed_type: 'Map').find_each do |follow|
|
||||
Follow.active.where(followed_type: 'Map').find_each do |follow|
|
||||
map = follow.followed
|
||||
user = follow.user
|
||||
# add logging and rescue-ing
|
||||
|
|
Loading…
Reference in a new issue