From 2e268e40d780015949fc4df8a9b7f1789aa70a0d Mon Sep 17 00:00:00 2001 From: Peter Bhat Harkins Date: Thu, 11 Aug 2022 00:31:27 -0500 Subject: [PATCH] wrong place --- lib/tasks/fake_data.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/fake_data.rake b/lib/tasks/fake_data.rake index 2605ceda..15a508f6 100644 --- a/lib/tasks/fake_data.rake +++ b/lib/tasks/fake_data.rake @@ -64,7 +64,7 @@ class FakeDataGenerator tag ||= Tag.create!( tag: tag_name, category: category, - description: Faker::Lorem.sentence(word_count: Random.rand(2..15)[...100]) + description: Faker::Lorem.sentence(word_count: Random.rand(2..15))[...100] ) url = Faker::Internet.url description = nil