-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.byebug_history
181 lines (181 loc) · 2.04 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
c
@pictures
n
@pictures
current_user
c
params[:picture][:public_id]
params[:picture]
c
params[:picture]['0']
params[:picture][:0]
params[:picture]
params[:picture][:public_id]
params
c
self.includes(:owner, likes: [:user], comments: [:author]).where(user_id: leader_ids)
self.includes(:owner, likes: [:user], comments: [:author]).where(user_id: leaders_id)
leader_ids
c
self.where(user_id: [1,2])
self.where(user_id: [1])
self.where(user_id: 1)
self.where('user_id IN ?', [1])
self.where(user_id: 1)
self.where('user_id IN ?', [1,2])
self.where('user_id IN ?', [2])
self.where('user_id IN ?', [1])
self.where(user_id:2)
self.where(id:1)
self
current_user.leaders.map(&:id)
current_user.leaders.map(:id)
current_user.leaders.map {|leader| leader.id}
current_user.leaders
c
current_user.leaders
current_user
c
current_user
c
@picture
c
pic.url
pic
n
c
param[1]['public_id']
param[1]['url']
param[1].url
param[1]
param[1].public_id
c
param
c
param
c
params
param
params
c
param
c
user
current_user
c
current_user
n
s
c
param[1]
param
c
params
c
params
c
params
c
params
c
params
c
params
c
AC
C
ENV['CLOUD_NAME']
c
C
ENV['UPLOAD_PRESET']
ENV['CLOUD_NAME']
Figaro.env.UPDATE_PRESET
Figaro.env.CLOUD_NAME
Figaro
c
Picture.all_with_deets
Picture.all
c
current_user
User.includes(:pictures, :followers).where.not(id: current_user.id)
c
Figaro
c
params[:id]
params
c
exit
c
profile.following?(current_user.id)
current_user
current_suer
c
profile.following?
c
n
profile.pictures
c
n
profile.id
profile
asdfasfUser.all
exit
c
profile.pictures.take(3)
profile.pictures
profile.pics
@profiles
c
n
c
n
c
like.destroy
n
like
n
params
c
like_params
params[:like]
params
c
picture.liked_by?(User.first)
picture.liked_by?(current_user)
c
picture.likes.find_by_user_id(current_user.id)
picture.likes
picture.like
picture
c
likes.find_by_user_id(3)
likes.find_by_user_id(2)
likes.find_by_user_id(2
likes.find(1)
likes.include?(1)
likes
c
@comment
n
current_user
c
current_user
c
@comment
c
logged_in?
c
current_user
logged_in?
c
user.errors.full_messages
c
n
current_user
user
n
params
c
BCrypt
c
BCrypt