summaryrefslogtreecommitdiff
path: root/db/seeds/3_crops.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/seeds/3_crops.rb')
-rw-r--r--db/seeds/3_crops.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/db/seeds/3_crops.rb b/db/seeds/3_crops.rb
index 2957188..6a5c10f 100644
--- a/db/seeds/3_crops.rb
+++ b/db/seeds/3_crops.rb
@@ -104,17 +104,17 @@ RASPBERRY = {
}
[
- [ "lettuce", 0, LEAFY ],
- [ "kale", 0, LEAFY ],
- [ "chinese cabbage", 0, LEAFY ],
- [ "tomatoes", 1, TOMATO ],
- [ "raspberries", 1, RASPBERRY ],
- [ "strawberries", 1, STRAWBERRY ],
- [ "hot peppers", 1, HOT_PEPPER ],
- [ "parsley", 2, HERB ],
- [ "chives", 2, HERB ],
- [ "italian basil", 2, HERB ],
- [ "dill", 2, HERB ]
+ [ "lettuce", 0, LEAFY ],
+ [ "kale", 0, LEAFY ],
+ [ "cabbage, chinese", 0, LEAFY ],
+ [ "tomatoes", 1, TOMATO ],
+ [ "raspberries", 1, RASPBERRY ],
+ [ "strawberries", 1, STRAWBERRY ],
+ [ "hot peppers", 1, HOT_PEPPER ],
+ [ "parsley", 2, HERB ],
+ [ "chives", 2, HERB ],
+ [ "italian basil", 2, HERB ],
+ [ "dill", 2, HERB ]
].each do |name, type, nutrient_requirements|
Crop.find_or_create_by!(name: name) do |c|
c.crop_type = type
Copyright 2019--2025 Marius PETER