#----------------------Cocktails--------------------#

margarita = Cocktail.create(
    name: "Margarita",
    glassware: "Margarita",
    ice: "Cubed",
    image: "https://www.liquor.com/thmb/WH7s33AbV8zFCMZJg7CUCcjl86Y=/960x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/Margarita-720x720-recipe-v2-3c9a8641367d4d0e9409325a92674db0.jpg",
    origin: "Tijuana, Mexico",
    preparation: "Rub the rim of the glass with the lime slice to make the salt stick to it. Shake the other ingredients with ice, then pour into the glass."
)

negroni = Cocktail.create(
    name: "Negroni",
    glassware: "Old-Fashioned",
    ice: "Large Cube",
    image: "https://www.liquor.com/thmb/PGdbkJ8aJBacJ3o2TaTBpcl-luQ=/960x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/__opt__aboutcom__coeus__resources__content_migration__liquor__2018__05__08110806__negroni-720x720-recipe-7c1b747a616f4659af4008d025ab55df.jpg",
    origin: "Florence, Italy",
    preparation: "Stir into glass over ice, garnish and serve."
)

mai_tai = Cocktail.create(
    name: "Mai Tai",
    glassware: "Old-Fashioned",
    ice: "Crushed",
    image: "https://www.liquor.com/thmb/MOsbQG2uw-jB5Dn82w_nYXk6iho=/960x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/mai-tai-720x720-primary-e09e24f1cacd4b3896f5aa32ba51dcdd.jpg",
    origin: "Oakland, CA",
    preparation: "Shake all ingredients with ice. Strain into glass. Garnish and serve with straw."
)

mint_julep = Cocktail.create(
    name: "Mint Julep",
    glassware: "Julep Tin",
    ice: "Crushed",
    image: "https://www.liquor.com/thmb/fL9wzkCPbWHZKSoHOaVHZynFK2k=/960x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/mint-julep-720x720-primary-5e2063b906384479b345687201992bd0.jpg",
    origin: "Williamsburg, VA",
    preparation: "In a julep tin gently muddle the mint, sugar and water. Fill the glass with cracked ice, add Bourbon and stir well until the glass is well frosted. Garnish with a mint sprig."
)

mojito = Cocktail.create(
    name: "Mojito",
    glassware: "Collins",
    ice: "Crushed",
    image: "https://www.liquor.com/thmb/VMoOrrQzOV00AY3rgSK6XxOR0EE=/960x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/__opt__aboutcom__coeus__resources__content_migration__liquor__2018__09__04153106__mojito-720x720-recipe-a55b114fc99c4a64b38c9ef6d1660e20.jpg",
    origin: "Havana, Cuba",
    preparation: "Muddle mint leaves with syrup and lime juice. Add a splash of soda water and fill the glass with cracked ice. Pour the rum and top with soda water. Garnish and serve with straw."
)

#----------------------Ingredients--------------------#

tequila = Ingredient.create(
    name: "Tequila",
    category: "Spirits",
    quantity: "1.5 oz"
)

triple_sec = Ingredient.create(
    name: "Triple Sec",
    category: "Spirits",
    quantity: "0.5 oz"

)

lime_juice_one = Ingredient.create(
    name: "Lime Juice",
    category: "Produce",
    quantity: "1 oz"
)

lime_wedge = Ingredient.create(
    name: "Lime Wedge",
    category: "Produce",
    quantity: "1 wedge"
)

gin = Ingredient.create(
    name: "Gin",
    category: "Spirits",
    quantity: "1 oz"
)

sweet_vermouth = Ingredient.create(
    name: "Sweet Vermouth",
    category: "Fortified Wines",
    quantity: "1 oz"
)

campari = Ingredient.create(
    name: "Campari",
    category: "Spirits",
    quantity: "1 oz"
)

orange_peel = Ingredient.create(
    name: "Orange Peel",
    category: "Produce",
    quantity: "1 peel"
)

aged_rum = Ingredient.create(
    name: "Aged Rum",
    category: "Spirits",
    quantity: "1 oz"
)

white_rum = Ingredient.create(
    name: "White Rum",
    category: "Spirits",
    quantity: "1 oz"
)

orgeat = Ingredient.create(
    name: "Orgeat",
    category: "Syrups",
    quantity: "0.5 oz"
)

overproof_rum = Ingredient.create(
    name: "Overproof Rum",
    category: "Spirits",
    quantity: "Float"
)

pineapple_flag = Ingredient.create(
    name: "Pineapple Flag",
    category: "Produce",
    quantity: "1 flag"
)

mint = Ingredient.create(
    name: "Mint",
    category: "Produce",
    quantity: "4 - 5 leaves"
)

bourbon = Ingredient.create(
    name: "Bourbon",
    category: "Spirits",
    quantity: "2 oz"
)

simple_syrup = Ingredient.create(
    name: "Simple Syrup",
    category: "Syrups",
    quantity: "0.5 oz"
)

mint_bouquet = Ingredient.create(
    name: "Mint Bouquet",
    category: "Produce",
    quantity: "1 bouquet"
)

soda_water = Ingredient.create(
    name: "Soda Water",
    category: "Non-Alcoholic",
    quantity: "Fill"
)

lime_wheel = Ingredient.create(
    name: "Lime Wheel",
    category: "Produce",
    quantity: "1 wheel"
)

white_rum_two  = Ingredient.create(
    name: "White Rum",
    category: "Spirits",
    quantity: "2 oz"
)

simple_syrup_one = Ingredient.create(
    name: "Simple Syrup",
    category: "Syrups",
    quantity: "1 oz"
)
lime_juice_three_quarters = Ingredient.create(
    name: "Lime Juice",
    category: "Produce",
    quantity: "0.75 oz"
)

#----------------------Cocktail + Ingredient - Associations--------------------#

margarita.ingredients << [tequila, triple_sec, lime_juice_one, lime_wedge]
negroni.ingredients << [gin, sweet_vermouth, campari, orange_peel]
mai_tai.ingredients << [aged_rum, white_rum, lime_juice_one, triple_sec, orgeat, overproof_rum]
mint_julep.ingredients << [mint, bourbon, simple_syrup, mint_bouquet]
mojito.ingredients << [white_rum_two, simple_syrup_one, lime_juice_three_quarters, soda_water, lime_wheel, mint_bouquet]