remove debug statements
This commit is contained in:
@@ -126,9 +126,7 @@ class ForumTopic < ActiveRecord::Base
|
|||||||
result = hash.to_a.flatten.join(" ")
|
result = hash.to_a.flatten.join(" ")
|
||||||
while result.size > 3000
|
while result.size > 3000
|
||||||
ids = result.scan(/\S+/)
|
ids = result.scan(/\S+/)
|
||||||
print "slicing from #{result.size} to "
|
|
||||||
result = ids[(ids.size / 2)..-1].join(" ")
|
result = ids[(ids.size / 2)..-1].join(" ")
|
||||||
puts result.size
|
|
||||||
end
|
end
|
||||||
update_last_forum_read_at(hash.keys)
|
update_last_forum_read_at(hash.keys)
|
||||||
result
|
result
|
||||||
|
|||||||
Reference in New Issue
Block a user