From 793b8e145b6d491075cb234b3463425f79c7bbc2 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 27 Jun 2016 09:11:51 +0200 Subject: [PATCH] fix seeds for trainings --- db/schema.rb | 2 +- db/seeds.rb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index 470636d5b..90d0dc0d7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160526102307) do +ActiveRecord::Schema.define(version: 20160613093842) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" diff --git a/db/seeds.rb b/db/seeds.rb index 3c36d25d0..43cb997ae 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -131,11 +131,11 @@ end if Training.count == 0 Training.create!([ - {name: "Formation Imprimante 3D"}, - {name: "Formation Laser / Vinyle"}, - {name: "Formation Petite fraiseuse numerique"}, - {name: "Formation Shopbot Grande Fraiseuse"}, - {name: "Formation logiciel 2D"} + {name: "Formation Imprimante 3D", description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}, + {name: "Formation Laser / Vinyle", description: "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}, + {name: "Formation Petite fraiseuse numerique", description: "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."}, + {name: "Formation Shopbot Grande Fraiseuse", description: "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}, + {name: "Formation logiciel 2D", description: "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo."} ]) TrainingsPricing.all.each do |p|