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