-
Notifications
You must be signed in to change notification settings - Fork 0
/
.byebug_history
63 lines (63 loc) · 1.26 KB
/
.byebug_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
exit
params[:rating]
params
q
recipe
recipe.update({ingredients: params[:ingredients]})
recipe
params[:ingredients]
skip
recipe
skip
recipe
exit
end
recipe.update(params[:ingredients])
params[:ingredients]
recipe
skip
recipeToDelete.destroy
recipeToDelete = Recipe.find("4")
skip
recipe.update({ingredients: params[:ingredients]})
recipe.update({params[:ingredients]})
recipe.ingredients
recipe.title
recipe.update({ingredients: []})
recipe.update([])
recipe
params[:ingredients]
skip
next
recipe.update({ingredients: [{name: "garlic", amount: 2}, {name: "onion", amount: 3}]})
recipe.update({someName: [{name: "garlic", amount: 2}, {name: "onion", amount: 3}]})
recipe.update([{name: "garlic", amount: 2}, {name: "onion", amount: 3}])
params[:ingredients]
skip
recipe.update(ingredients: ["big soup", "little soup"])
recipe(ingredients: ["big soup", "little soup"])
recipe
skip
params[:sourceURL]
params[:image]
params[:readyIn]
params[:title]
params{:title}
params[:ingredients]
recipe.update({params[:ingredients]})
recipe.update(params[:ingredients])
recipe
skip
params[:ingredients]
Recipe.create(params[:ingredients])
recipe.create(params[:ingredients])
recipe
skip
params[:ingredients]
params
recipe
exit
second_recipe
second_recipe = Recipe.create(new_recipe_params)
exit
params