Add tags to seeded listings (#6756)
This commit is contained in:
parent
ea6d988128
commit
a50ffc7e9a
1 changed files with 1 additions and 0 deletions
|
|
@ -376,6 +376,7 @@ listings_categories.each_with_index do |category, index|
|
|||
contact_via_connect: true,
|
||||
published: true,
|
||||
bumped_at: Time.current,
|
||||
tag_list: Tag.order(Arel.sql("RANDOM()")).first(2).pluck(:name),
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue