summaryrefslogtreecommitdiff
path: root/db/fixtures/development/23_spam_logs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/fixtures/development/23_spam_logs.rb')
-rw-r--r--db/fixtures/development/23_spam_logs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/23_spam_logs.rb b/db/fixtures/development/23_spam_logs.rb
index 81cc13e6b2d..4a839f5bc23 100644
--- a/db/fixtures/development/23_spam_logs.rb
+++ b/db/fixtures/development/23_spam_logs.rb
@@ -22,7 +22,7 @@ module Db
end
def self.random_user
- User.find(User.pluck(:id).sample)
+ User.find(User.not_mass_generated.pluck(:id).sample)
end
end
end