-
Notifications
You must be signed in to change notification settings - Fork 0
/
.byebug_history
151 lines (151 loc) · 4.94 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
continue
@team.users[0]
@team.users
@team
current_user.challenge_actions.find_by_challenge_id(@challenge)
@total_count += user.challenge_actions.find_by_challenge_id(@challenge).total_streak
@team.users.each do |user|
@team.users
@team
current_user
continue
@challenge_action = @challenge.challenge_actions.find_by_user_id(current_user)
@team = @challenge.team
continue
current_user.challenge_actions.find_by_challenge_id(params[:id]).total_streak
current_user.challenge_actions.find_by_challenge_id(params[:id])
current_user.challenge_actions.find_by_user_id(current_user)
current_user.challenge_actions
current_user
continue
current_user.challenge_actions
current_user.challenge
current_user.challenge_actions.find_by_challenge_id(params[:id])
current_user.challenge_actions
current_user
continue
streak_busted
continue
streak_busted
continue
reload!
@challenge.accept!
@challenge
(true_votes * 2) > @team.users.count
true_votes
@team.challenges.find_by_id(@challenge).challenge_actions.each do |user| true_votes = true_votes + 1 if (user.vote == true) end
true_votes
@team.challenges.find_by_id(@challenge).challenge_actions.each do |user| puts user.vote end
@team.challenges.find_by_id(@challenge).challenge_actions.each do |user| puts user end
true_votes
@team.challenges.find_by_id(@challenge).challenge_actions.each do |user| true_votes = true_votes + 1 if !user.vote end
@team.challenges.find_by_id(@challenge).challenge_actions.each do |user|
true_votes
true_votes = 0
true_votes
@team.challenges.find_by_id(@challenge).challenge_actions
@team.challenges.find_by_id(@challenge).challenge_actions.users
@team.challenges.find_by_id(@challenge).challenge_actions.count
@team.challenges.find_by_id(@challenge).challenge_actions
@team.challenges.find_by_id(@challenge)
@team = @challenge.team
@challenge.team
@challenge
@team
continue
ChallengeAction.find_by_challenge_id(9)
ChallengeAction.all
ChallengeAction
ChallengeActions
Challenge.find(9).challenge_actions
Challenge.find(9)
Challenge.all
current_user.challenge_actions
current_user.challenge_actions.find(params[:id])
current_user.challenge_actions.find_by_challenge_id(params[:id])
current_user.challenge_actions.find_by_challenge_id
params[:id]
params
current_user.challenge_actions
current_user
continue
@team.challenges
@request
@team.challenges.each do |challenge| @request << challenge if challenge.request? end
@team.challenges.each do |challenge| @request << challenge if challenge.request?
@team.challenges.each do |challenge|
@request = []
@team.challenges
@team = Team.find(3)
@team
continue
params.require(:challenge_action).permit({streak_count: (@streak + 1)})
continue
@challenge_action
@challenge.challenge_actions
@challenge_action
@challenge
params.require(:challenge_action).permit(streak_count: (streak + 1))
params.require(:challenge_action)
continue
params.require(:team)
params.require(:challenge)
params.require(:challenge_action).permit(streak: @streak_count + 1)
params.require(:challenge_action).permit(:streak)
@update_streak.update
@update_streak = @challenge.challenge_actions.find_by_user_id(@user).streak_count
@challenge_action
params.require(:challenge_actions).permit(:streak_count)
params.require(:challengeactions).permit(:streak_count)
params.require(:challenge_actions).permit(:streak_count)
params.require(:challengeaction).permit(:streak_count)
params.require(:challenge_action).permit(:streak_count)
params.require(:challenge_action).permit()
params.require(:challengeaction).permit()
params.require(:challengeaction)
params.require(:challenge-action)
params.require(:challenge-Action)
params.require(:challengeAction)
ChallengeAction.attributes_for
ChallengeAction.params
ChallengeAction.all
challenge_action
params.require(:challenge_actions).permit(:streak_count)
params.require(:challenge_action).permit(:streak_count)
params.require(:challengeaction).permit(:streak_count)
params.require(:challenge_action).permit(:streak_count)
params.require(:challenge_action)
params.require(:challengeAction)
params.require(:challengeActions
params.require(:challengeActions)
params.require(:challengeaction)
params.require(:challenge_actions)
params.require(:challenge_action)
params.require
@update_streak = @challenge.challenge_actions.find_by_user_id(@user).streak_count
@challenge.challenge_actions.find_by_user_id(@user).streak_count
@update_streak = @challenge_action.streak_count
@update_streak
@challenge.challenge_actions.find_by_user_id(@user)
@challenge.challenge_actions
@challenge
continue
@challenge_action.streak_count
@challenge.challenge_actions.find_by_user_id(@user)
@challenge
@challenge_action
continue
current_user.challenge_actions.find_by_challenge_id(12).streak_count
current_user.challenge_actions.find_by_challenge_id(12)
current_user.challenge_actions
current_user
continue
current_user.challenge_actions.find(9).streak_count
current_user.challenge_actions.find(9)
current_user.challenge_actions
current_user
continue
current_user.challenge_actions
current_user.challenge_actions.find(5)
current_user.challenge_actions
current_user