<commit_before>User.delete_all
Product.delete_all
Ingredient.delete_all

## SEED USERS

dummy_user = User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')

# INGREDIENTS

## DORITOS

doritos = Product.create(
  upc: "0028400344371",
  name: "Doritos Nacho Cheese Tortilla Chips",
  score: 1,
  img_url: "https://images-na.ssl-images-amazon.com/images/I/41sEhSXmzXL.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Corn",
  description: "Raw yellow corn kernels are soaked in large vats of near-boiling water, where they’re combined with lime (the chemical, not the fruit). Once the husks and any excess lime have been washed away, the now-hydrated corn is ground into a corn flour called masa, pressed into shape and fried in vegetable oil.",
  is_natural: true,
  img_url: "https://www.organicfacts.net/wp-content/uploads/2013/05/Corn12-1020x765.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Vegetable Oil",
  description: "Extracted from whichever source (sunflower, canola or corn) is cheapest at the time, vegetable oils have a notorious reputation. The refining process is extremely harsh and damages the moluecules and turns them into new compounds that don't occur in nature, many that are harmful to our bodies.",
  is_natural: true,
  img_url: "https://images-na.ssl-images-amazon.com/images/I/81CBn7U1c1L._SX355_.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Maltodextrin",
  description: "An artificial sugar made from maltose (aka malt sugar) and dextrose, Maltodextrin is usually used as a thickener or filler ingredient to add bulk to processed food and to increase its shelf life — maltodextrin itself has a shelf life of two years.",
  is_natural: false,
  img_url: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Maltodextrin.png/1200px-Maltodextrin.png"
  )

doritos.ingredients << Ingredient.create(
  name: "Salt",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Cheddar Cheese",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Whey",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Monosodium Glutamate (MSG)",
  description: "A naturally occurring amino acid (one of the building blocks of protein) that’s added to foods as a savory flavor enhancer. While it has a reputation for causing insatiable hunger, the food industry has no problem using it because it occurs in nature. Researchers, however, haven’t come to any decisive conclusions about its effects.",
  is_natural: true,
  img_url: "https://cdn.authoritynutrition.com/wp-content/uploads/2015/03/msg-monosodium-glutamate.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Buttermilk",
  description: "Similar to whey, buttermilk is the byproduct of churning butter out of cream and is usually added to processed foods like Doritos as a means of adding heartiness and oftentimes a sort of creamy texture (though, that’s not so much the case for Doritos).",
  is_natural: true,
  img_url: ""
  )

doritos.ingredients << Ingredient.create(
  name: "Romano Cheese",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Whey Protein Concentrate",
  is_natural: false
  )

doritos.ingredients << Ingredient.create(
  name: "Onion Powder",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Corn Flour",
  is_natural: true
  )<commit_msg>Minor updates to wording in seed file<commit_after>User.delete_all
Product.delete_all
Ingredient.delete_all

## SEED USERS

dummy_user = User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')
User.create(email: '<EMAIL>', password: 'password')

# INGREDIENTS

## DORITOS

doritos = Product.create(
  upc: "0028400344371",
  name: "Doritos Nacho Cheese Tortilla Chips",
  score: 1,
  img_url: "https://images-na.ssl-images-amazon.com/images/I/41sEhSXmzXL.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Corn",
  description: "Raw yellow corn kernels are soaked in large vats of near-boiling water, where they’re combined with lime (the chemical, not the fruit). Once the husks and any excess lime have been washed away, the now-hydrated corn is ground into a corn flour called masa, pressed into shape and fried in vegetable oil.",
  is_natural: true,
  img_url: "https://www.organicfacts.net/wp-content/uploads/2013/05/Corn12-1020x765.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Vegetable Oil",
  description: "Extracted from whichever source (sunflower, canola or corn) is cheapest at the time, vegetable oils have a notorious reputation. The refining process is extremely harsh and damages the moluecules and turns them into new compounds that don't occur in nature, many that are harmful to our bodies.",
  is_natural: true,
  img_url: "https://images-na.ssl-images-amazon.com/images/I/81CBn7U1c1L._SX355_.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Maltodextrin",
  description: "An artificial sugar made from maltose (aka malt sugar) and dextrose, Maltodextrin is usually used as a thickener or filler ingredient to add bulk to processed food and to increase its shelf life — maltodextrin itself has a shelf life of two years.",
  is_natural: false,
  img_url: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Maltodextrin.png/1200px-Maltodextrin.png"
  )

doritos.ingredients << Ingredient.create(
  name: "Salt",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Cheddar Cheese",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Whey",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Monosodium Glutamate (MSG)",
  description: "A naturally occurring amino acid (one of the building blocks of protein) that’s added to foods as a savory flavor enhancer. While it has a reputation for causing insatiable hunger, the food industry has no problem using it because it occurs in nature. Researchers, however, haven’t come to any decisive conclusions about its effects.",
  is_natural: true,
  img_url: "https://cdn.authoritynutrition.com/wp-content/uploads/2015/03/msg-monosodium-glutamate.jpg"
  )

doritos.ingredients << Ingredient.create(
  name: "Buttermilk",
  description: "Similar to whey, buttermilk is the byproduct of churning butter out of cream and is usually added to processed foods as a means of adding heartiness and oftentimes a sort of creamy texture.",
  is_natural: true,
  img_url: ""
  )

doritos.ingredients << Ingredient.create(
  name: "Romano Cheese",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Whey Protein Concentrate",
  is_natural: false
  )

doritos.ingredients << Ingredient.create(
  name: "Onion Powder",
  is_natural: true
  )

doritos.ingredients << Ingredient.create(
  name: "Corn Flour",
  is_natural: true
  )
{'fraction_non_alphanumeric': 0.1025212425128848, 'fraction_numerical': 0.014208106978687839, 'mean_word_length': 4.698412698412699, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 13, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '740538', 'n_tokens_mistral': 2501, 'n_tokens_neox': 2278, 'n_words': 749}