# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel', city: cities.first) puts "Seeding..." Ingredient.create!([ {name: 'Butter, Salted', density: '226 gram/cup'}, {name: 'Butter, Unsalted', density: '226 gram/cup'}, {name: 'Flour, Bleached All Purpose', density: '130 gram/cup'}, {name: 'Flour, Cake', density: '120 gram/cup'}, {name: 'Flour, Whole Wheat', density: '130 gram/cup'}, {name: 'Cornstarch', density: '10 gram/tablespoon'}, {name: 'Cornmeal', density: '120 gram/cup'}, {name: 'Sugar, Granulated', density: '200 gram/cup'}, {name: 'Sugar, Brown, Lightly Packed', density: '210 gram/cup'}, {name: 'Sugar, Powdered', density: '120 gram/cup'}, {name: 'Chocolate Chips', density: '170 gram/cup'}, {name: 'Cocoa Powder', density: '100 gram/cup'} ]) puts "Seeds planted."