From 075665c588989ed0decdfb20d83f32b33eed4639 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Fri, 29 Aug 2025 14:22:37 +0200 Subject: Properly implement bed and raft management logic. --- db/seeds/3_crops.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'db/seeds/3_crops.rb') 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 -- cgit v1.2.3