class RecipeIngredient < ActiveRecord::Base
belongs_to :ingredient
belongs_to :recipe, inverse_of: :recipe_ingredients
validates :sort_order, presence: true
end