cookbook assignment

Would appreciate any suggestions on refactoring or ways of simplifying my code. This assignment was pretty hard for me and I think my messy code reflects that a bit. I also noticed a really weird bug yesterday that treats the recipe_id and ingredient_id as string values rather than integers. I have no idea why it is doing this!
Really great job on writing these specs. Getting the practice in is going to the most valuable thing. A few notes:

- The specs in `/spec/controllers/ingredients_controller_spec.rb` are testing the ingredient class, these tests should go in `/spec/models/ingredient_spec.rb`. 
- Same as above for the specs in `/spec/forms/recipe_form_spec.rb`, those specs never use the `RecipeForm` object, so they should be within the spec file made for the specific class they are testing.
- A lot of the things tested are for `ActiveRecord` methods, which don't need to be tested. But, again, it's great practice to just be writing specs.