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
|
end
|
||||||
|
|
||||||
def summarize_map_activity
|
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
|
map = follow.followed
|
||||||
user = follow.user
|
user = follow.user
|
||||||
# add logging and rescue-ing
|
# add logging and rescue-ing
|
||||||
|
|
Loading…
Add table
Reference in a new issue