fixed NameError
This commit is contained in:
parent
1495f67cb1
commit
066b3607f9
2
Rakefile
2
Rakefile
|
@ -207,7 +207,7 @@ namespace :justask do
|
||||||
subscribed = 0
|
subscribed = 0
|
||||||
|
|
||||||
Answer.all.each do |a|
|
Answer.all.each do |a|
|
||||||
if not s.user.nil? and not s.answer.nil?
|
if not a.user.nil?
|
||||||
Subscription.subscribe a.user, a
|
Subscription.subscribe a.user, a
|
||||||
subscribed += 1
|
subscribed += 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue