mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 21:56:55 -04:00
Use pokemon for plant parts
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
namespace :search do
|
||||
desc 'reindex'
|
||||
task reindex: :environment do
|
||||
Crop.all.each_slice(50) do |batch|
|
||||
Crop.searchkick_index.import(batch)
|
||||
end
|
||||
Crop.reindex
|
||||
Planting.reindex
|
||||
Harvest.reindex
|
||||
Seed.reindex
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user