activerecord 3.0.6 → 3.0.7.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activerecord might be problematic. Click here for more details.
- data/CHANGELOG +7 -1
- data/lib/active_record.rbc +1825 -0
- data/lib/active_record/aggregations.rbc +2173 -0
- data/lib/active_record/association_preload.rbc +8379 -0
- data/lib/active_record/associations.rbc +25180 -0
- data/lib/active_record/associations/association_collection.rbc +11174 -0
- data/lib/active_record/associations/association_proxy.rbc +4435 -0
- data/lib/active_record/associations/belongs_to_association.rbc +1867 -0
- data/lib/active_record/associations/belongs_to_polymorphic_association.rbc +1718 -0
- data/lib/active_record/associations/has_many_association.rbc +2553 -0
- data/lib/active_record/associations/has_many_through_association.rbc +2381 -0
- data/lib/active_record/associations/has_one_association.rbc +2919 -0
- data/lib/active_record/associations/through_association_scope.rbc +3411 -0
- data/lib/active_record/attribute_methods.rbc +1473 -0
- data/lib/active_record/attribute_methods/before_type_cast.rbc +700 -0
- data/lib/active_record/attribute_methods/dirty.rbc +1627 -0
- data/lib/active_record/attribute_methods/primary_key.rb +6 -0
- data/lib/active_record/attribute_methods/primary_key.rbc +1017 -0
- data/lib/active_record/attribute_methods/query.rbc +786 -0
- data/lib/active_record/attribute_methods/read.rb +5 -3
- data/lib/active_record/attribute_methods/read.rbc +2614 -0
- data/lib/active_record/attribute_methods/time_zone_conversion.rbc +1148 -0
- data/lib/active_record/attribute_methods/write.rbc +998 -0
- data/lib/active_record/autosave_association.rbc +4143 -0
- data/lib/active_record/base.rb +2 -1
- data/lib/active_record/base.rbc +23583 -0
- data/lib/active_record/callbacks.rbc +1562 -0
- data/lib/active_record/connection_adapters/abstract/connection_pool.rbc +5041 -0
- data/lib/active_record/connection_adapters/abstract/connection_specification.rbc +1752 -0
- data/lib/active_record/connection_adapters/abstract/database_limits.rbc +877 -0
- data/lib/active_record/connection_adapters/abstract/database_statements.rbc +4704 -0
- data/lib/active_record/connection_adapters/abstract/query_cache.rbc +1519 -0
- data/lib/active_record/connection_adapters/abstract/quoting.rbc +1566 -0
- data/lib/active_record/connection_adapters/abstract/schema_definitions.rbc +10452 -0
- data/lib/active_record/connection_adapters/abstract/schema_statements.rbc +6987 -0
- data/lib/active_record/connection_adapters/abstract_adapter.rbc +2890 -0
- data/lib/active_record/connection_adapters/postgresql_adapter.rbc +16913 -0
- data/lib/active_record/connection_adapters/sqlite3_adapter.rbc +1265 -0
- data/lib/active_record/connection_adapters/sqlite_adapter.rbc +0 -0
- data/lib/active_record/counter_cache.rbc +1191 -0
- data/lib/active_record/dynamic_finder_match.rbc +1091 -0
- data/lib/active_record/dynamic_scope_match.rbc +514 -0
- data/lib/active_record/errors.rbc +1077 -0
- data/lib/active_record/locking/optimistic.rbc +2281 -0
- data/lib/active_record/locking/pessimistic.rbc +384 -0
- data/lib/active_record/log_subscriber.rbc +1055 -0
- data/lib/active_record/migration.rbc +8513 -0
- data/lib/active_record/named_scope.rbc +1347 -0
- data/lib/active_record/nested_attributes.rb +1 -0
- data/lib/active_record/nested_attributes.rbc +3599 -0
- data/lib/active_record/observer.rbc +941 -0
- data/lib/active_record/persistence.rbc +3631 -0
- data/lib/active_record/query_cache.rbc +760 -0
- data/lib/active_record/railtie.rbc +2109 -0
- data/lib/active_record/railties/controller_runtime.rbc +838 -0
- data/lib/active_record/reflection.rbc +6897 -0
- data/lib/active_record/relation.rbc +6006 -0
- data/lib/active_record/relation/batches.rb +1 -1
- data/lib/active_record/relation/batches.rbc +1078 -0
- data/lib/active_record/relation/calculations.rbc +4012 -0
- data/lib/active_record/relation/finder_methods.rb +14 -6
- data/lib/active_record/relation/finder_methods.rbc +5264 -0
- data/lib/active_record/relation/query_methods.rbc +6458 -0
- data/lib/active_record/relation/spawn_methods.rbc +3034 -0
- data/lib/active_record/serialization.rbc +1302 -0
- data/lib/active_record/serializers/xml_serializer.rbc +1866 -0
- data/lib/active_record/timestamp.rbc +1354 -0
- data/lib/active_record/transactions.rbc +3348 -0
- data/lib/active_record/validations.rbc +1597 -0
- data/lib/active_record/validations/associated.rbc +681 -0
- data/lib/active_record/validations/uniqueness.rbc +1803 -0
- data/lib/active_record/version.rb +2 -2
- data/lib/active_record/version.rbc +295 -0
- metadata +89 -16
@@ -0,0 +1,4012 @@
|
|
1
|
+
!RBIX
|
2
|
+
12079494195756429234
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
46
|
13
|
+
5
|
14
|
+
7
|
15
|
+
0
|
16
|
+
64
|
17
|
+
47
|
18
|
+
49
|
19
|
+
1
|
20
|
+
1
|
21
|
+
15
|
22
|
+
5
|
23
|
+
7
|
24
|
+
2
|
25
|
+
64
|
26
|
+
47
|
27
|
+
49
|
28
|
+
1
|
29
|
+
1
|
30
|
+
15
|
31
|
+
99
|
32
|
+
7
|
33
|
+
3
|
34
|
+
65
|
35
|
+
49
|
36
|
+
4
|
37
|
+
2
|
38
|
+
13
|
39
|
+
99
|
40
|
+
12
|
41
|
+
7
|
42
|
+
5
|
43
|
+
12
|
44
|
+
7
|
45
|
+
6
|
46
|
+
12
|
47
|
+
65
|
48
|
+
12
|
49
|
+
49
|
50
|
+
7
|
51
|
+
4
|
52
|
+
15
|
53
|
+
49
|
54
|
+
5
|
55
|
+
0
|
56
|
+
15
|
57
|
+
2
|
58
|
+
11
|
59
|
+
I
|
60
|
+
6
|
61
|
+
I
|
62
|
+
0
|
63
|
+
I
|
64
|
+
0
|
65
|
+
I
|
66
|
+
0
|
67
|
+
n
|
68
|
+
p
|
69
|
+
8
|
70
|
+
s
|
71
|
+
36
|
72
|
+
active_support/core_ext/object/blank
|
73
|
+
x
|
74
|
+
7
|
75
|
+
require
|
76
|
+
s
|
77
|
+
34
|
78
|
+
active_support/core_ext/object/try
|
79
|
+
x
|
80
|
+
12
|
81
|
+
ActiveRecord
|
82
|
+
x
|
83
|
+
11
|
84
|
+
open_module
|
85
|
+
x
|
86
|
+
15
|
87
|
+
__module_init__
|
88
|
+
M
|
89
|
+
1
|
90
|
+
n
|
91
|
+
n
|
92
|
+
x
|
93
|
+
12
|
94
|
+
ActiveRecord
|
95
|
+
i
|
96
|
+
28
|
97
|
+
5
|
98
|
+
66
|
99
|
+
99
|
100
|
+
7
|
101
|
+
0
|
102
|
+
65
|
103
|
+
49
|
104
|
+
1
|
105
|
+
2
|
106
|
+
13
|
107
|
+
99
|
108
|
+
12
|
109
|
+
7
|
110
|
+
2
|
111
|
+
12
|
112
|
+
7
|
113
|
+
3
|
114
|
+
12
|
115
|
+
65
|
116
|
+
12
|
117
|
+
49
|
118
|
+
4
|
119
|
+
4
|
120
|
+
15
|
121
|
+
49
|
122
|
+
2
|
123
|
+
0
|
124
|
+
11
|
125
|
+
I
|
126
|
+
6
|
127
|
+
I
|
128
|
+
0
|
129
|
+
I
|
130
|
+
0
|
131
|
+
I
|
132
|
+
0
|
133
|
+
n
|
134
|
+
p
|
135
|
+
5
|
136
|
+
x
|
137
|
+
12
|
138
|
+
Calculations
|
139
|
+
x
|
140
|
+
11
|
141
|
+
open_module
|
142
|
+
x
|
143
|
+
15
|
144
|
+
__module_init__
|
145
|
+
M
|
146
|
+
1
|
147
|
+
n
|
148
|
+
n
|
149
|
+
x
|
150
|
+
12
|
151
|
+
Calculations
|
152
|
+
i
|
153
|
+
230
|
154
|
+
5
|
155
|
+
66
|
156
|
+
99
|
157
|
+
7
|
158
|
+
0
|
159
|
+
7
|
160
|
+
1
|
161
|
+
65
|
162
|
+
67
|
163
|
+
49
|
164
|
+
2
|
165
|
+
0
|
166
|
+
49
|
167
|
+
3
|
168
|
+
4
|
169
|
+
15
|
170
|
+
99
|
171
|
+
7
|
172
|
+
4
|
173
|
+
7
|
174
|
+
5
|
175
|
+
65
|
176
|
+
67
|
177
|
+
49
|
178
|
+
2
|
179
|
+
0
|
180
|
+
49
|
181
|
+
3
|
182
|
+
4
|
183
|
+
15
|
184
|
+
99
|
185
|
+
7
|
186
|
+
6
|
187
|
+
7
|
188
|
+
7
|
189
|
+
65
|
190
|
+
67
|
191
|
+
49
|
192
|
+
2
|
193
|
+
0
|
194
|
+
49
|
195
|
+
3
|
196
|
+
4
|
197
|
+
15
|
198
|
+
99
|
199
|
+
7
|
200
|
+
8
|
201
|
+
7
|
202
|
+
9
|
203
|
+
65
|
204
|
+
67
|
205
|
+
49
|
206
|
+
2
|
207
|
+
0
|
208
|
+
49
|
209
|
+
3
|
210
|
+
4
|
211
|
+
15
|
212
|
+
99
|
213
|
+
7
|
214
|
+
10
|
215
|
+
7
|
216
|
+
11
|
217
|
+
65
|
218
|
+
67
|
219
|
+
49
|
220
|
+
2
|
221
|
+
0
|
222
|
+
49
|
223
|
+
3
|
224
|
+
4
|
225
|
+
15
|
226
|
+
99
|
227
|
+
7
|
228
|
+
12
|
229
|
+
7
|
230
|
+
13
|
231
|
+
65
|
232
|
+
67
|
233
|
+
49
|
234
|
+
2
|
235
|
+
0
|
236
|
+
49
|
237
|
+
3
|
238
|
+
4
|
239
|
+
15
|
240
|
+
5
|
241
|
+
48
|
242
|
+
14
|
243
|
+
15
|
244
|
+
99
|
245
|
+
7
|
246
|
+
15
|
247
|
+
7
|
248
|
+
16
|
249
|
+
65
|
250
|
+
67
|
251
|
+
49
|
252
|
+
2
|
253
|
+
0
|
254
|
+
49
|
255
|
+
3
|
256
|
+
4
|
257
|
+
15
|
258
|
+
99
|
259
|
+
7
|
260
|
+
17
|
261
|
+
7
|
262
|
+
18
|
263
|
+
65
|
264
|
+
67
|
265
|
+
49
|
266
|
+
2
|
267
|
+
0
|
268
|
+
49
|
269
|
+
3
|
270
|
+
4
|
271
|
+
15
|
272
|
+
99
|
273
|
+
7
|
274
|
+
19
|
275
|
+
7
|
276
|
+
20
|
277
|
+
65
|
278
|
+
67
|
279
|
+
49
|
280
|
+
2
|
281
|
+
0
|
282
|
+
49
|
283
|
+
3
|
284
|
+
4
|
285
|
+
15
|
286
|
+
99
|
287
|
+
7
|
288
|
+
21
|
289
|
+
7
|
290
|
+
22
|
291
|
+
65
|
292
|
+
67
|
293
|
+
49
|
294
|
+
2
|
295
|
+
0
|
296
|
+
49
|
297
|
+
3
|
298
|
+
4
|
299
|
+
15
|
300
|
+
99
|
301
|
+
7
|
302
|
+
23
|
303
|
+
7
|
304
|
+
24
|
305
|
+
65
|
306
|
+
67
|
307
|
+
49
|
308
|
+
2
|
309
|
+
0
|
310
|
+
49
|
311
|
+
3
|
312
|
+
4
|
313
|
+
15
|
314
|
+
99
|
315
|
+
7
|
316
|
+
25
|
317
|
+
7
|
318
|
+
26
|
319
|
+
65
|
320
|
+
67
|
321
|
+
49
|
322
|
+
2
|
323
|
+
0
|
324
|
+
49
|
325
|
+
3
|
326
|
+
4
|
327
|
+
15
|
328
|
+
99
|
329
|
+
7
|
330
|
+
27
|
331
|
+
7
|
332
|
+
28
|
333
|
+
65
|
334
|
+
67
|
335
|
+
49
|
336
|
+
2
|
337
|
+
0
|
338
|
+
49
|
339
|
+
3
|
340
|
+
4
|
341
|
+
15
|
342
|
+
99
|
343
|
+
7
|
344
|
+
29
|
345
|
+
7
|
346
|
+
30
|
347
|
+
65
|
348
|
+
67
|
349
|
+
49
|
350
|
+
2
|
351
|
+
0
|
352
|
+
49
|
353
|
+
3
|
354
|
+
4
|
355
|
+
15
|
356
|
+
99
|
357
|
+
7
|
358
|
+
31
|
359
|
+
7
|
360
|
+
32
|
361
|
+
65
|
362
|
+
67
|
363
|
+
49
|
364
|
+
2
|
365
|
+
0
|
366
|
+
49
|
367
|
+
3
|
368
|
+
4
|
369
|
+
15
|
370
|
+
99
|
371
|
+
7
|
372
|
+
33
|
373
|
+
7
|
374
|
+
34
|
375
|
+
65
|
376
|
+
67
|
377
|
+
49
|
378
|
+
2
|
379
|
+
0
|
380
|
+
49
|
381
|
+
3
|
382
|
+
4
|
383
|
+
11
|
384
|
+
I
|
385
|
+
5
|
386
|
+
I
|
387
|
+
0
|
388
|
+
I
|
389
|
+
0
|
390
|
+
I
|
391
|
+
0
|
392
|
+
n
|
393
|
+
p
|
394
|
+
35
|
395
|
+
x
|
396
|
+
5
|
397
|
+
count
|
398
|
+
M
|
399
|
+
1
|
400
|
+
n
|
401
|
+
n
|
402
|
+
x
|
403
|
+
5
|
404
|
+
count
|
405
|
+
i
|
406
|
+
60
|
407
|
+
23
|
408
|
+
0
|
409
|
+
10
|
410
|
+
8
|
411
|
+
1
|
412
|
+
19
|
413
|
+
0
|
414
|
+
15
|
415
|
+
23
|
416
|
+
1
|
417
|
+
10
|
418
|
+
22
|
419
|
+
44
|
420
|
+
43
|
421
|
+
0
|
422
|
+
78
|
423
|
+
49
|
424
|
+
1
|
425
|
+
1
|
426
|
+
19
|
427
|
+
1
|
428
|
+
15
|
429
|
+
20
|
430
|
+
0
|
431
|
+
45
|
432
|
+
0
|
433
|
+
2
|
434
|
+
49
|
435
|
+
3
|
436
|
+
1
|
437
|
+
9
|
438
|
+
46
|
439
|
+
1
|
440
|
+
20
|
441
|
+
0
|
442
|
+
17
|
443
|
+
2
|
444
|
+
19
|
445
|
+
0
|
446
|
+
15
|
447
|
+
19
|
448
|
+
1
|
449
|
+
15
|
450
|
+
2
|
451
|
+
8
|
452
|
+
47
|
453
|
+
1
|
454
|
+
15
|
455
|
+
5
|
456
|
+
7
|
457
|
+
4
|
458
|
+
20
|
459
|
+
0
|
460
|
+
20
|
461
|
+
1
|
462
|
+
47
|
463
|
+
49
|
464
|
+
5
|
465
|
+
3
|
466
|
+
11
|
467
|
+
I
|
468
|
+
6
|
469
|
+
I
|
470
|
+
2
|
471
|
+
I
|
472
|
+
0
|
473
|
+
I
|
474
|
+
2
|
475
|
+
n
|
476
|
+
p
|
477
|
+
6
|
478
|
+
x
|
479
|
+
4
|
480
|
+
Hash
|
481
|
+
x
|
482
|
+
16
|
483
|
+
new_from_literal
|
484
|
+
n
|
485
|
+
x
|
486
|
+
5
|
487
|
+
is_a?
|
488
|
+
x
|
489
|
+
5
|
490
|
+
count
|
491
|
+
x
|
492
|
+
9
|
493
|
+
calculate
|
494
|
+
p
|
495
|
+
7
|
496
|
+
I
|
497
|
+
-1
|
498
|
+
I
|
499
|
+
38
|
500
|
+
I
|
501
|
+
16
|
502
|
+
I
|
503
|
+
39
|
504
|
+
I
|
505
|
+
30
|
506
|
+
I
|
507
|
+
3a
|
508
|
+
I
|
509
|
+
3c
|
510
|
+
x
|
511
|
+
92
|
512
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
513
|
+
p
|
514
|
+
2
|
515
|
+
x
|
516
|
+
11
|
517
|
+
column_name
|
518
|
+
x
|
519
|
+
7
|
520
|
+
options
|
521
|
+
x
|
522
|
+
17
|
523
|
+
method_visibility
|
524
|
+
x
|
525
|
+
15
|
526
|
+
add_defn_method
|
527
|
+
x
|
528
|
+
7
|
529
|
+
average
|
530
|
+
M
|
531
|
+
1
|
532
|
+
n
|
533
|
+
n
|
534
|
+
x
|
535
|
+
7
|
536
|
+
average
|
537
|
+
i
|
538
|
+
26
|
539
|
+
23
|
540
|
+
1
|
541
|
+
10
|
542
|
+
14
|
543
|
+
44
|
544
|
+
43
|
545
|
+
0
|
546
|
+
78
|
547
|
+
49
|
548
|
+
1
|
549
|
+
1
|
550
|
+
19
|
551
|
+
1
|
552
|
+
15
|
553
|
+
5
|
554
|
+
7
|
555
|
+
2
|
556
|
+
20
|
557
|
+
0
|
558
|
+
20
|
559
|
+
1
|
560
|
+
47
|
561
|
+
49
|
562
|
+
3
|
563
|
+
3
|
564
|
+
11
|
565
|
+
I
|
566
|
+
6
|
567
|
+
I
|
568
|
+
2
|
569
|
+
I
|
570
|
+
1
|
571
|
+
I
|
572
|
+
2
|
573
|
+
n
|
574
|
+
p
|
575
|
+
4
|
576
|
+
x
|
577
|
+
4
|
578
|
+
Hash
|
579
|
+
x
|
580
|
+
16
|
581
|
+
new_from_literal
|
582
|
+
x
|
583
|
+
7
|
584
|
+
average
|
585
|
+
x
|
586
|
+
9
|
587
|
+
calculate
|
588
|
+
p
|
589
|
+
5
|
590
|
+
I
|
591
|
+
-1
|
592
|
+
I
|
593
|
+
41
|
594
|
+
I
|
595
|
+
e
|
596
|
+
I
|
597
|
+
42
|
598
|
+
I
|
599
|
+
1a
|
600
|
+
x
|
601
|
+
92
|
602
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
603
|
+
p
|
604
|
+
2
|
605
|
+
x
|
606
|
+
11
|
607
|
+
column_name
|
608
|
+
x
|
609
|
+
7
|
610
|
+
options
|
611
|
+
x
|
612
|
+
7
|
613
|
+
minimum
|
614
|
+
M
|
615
|
+
1
|
616
|
+
n
|
617
|
+
n
|
618
|
+
x
|
619
|
+
7
|
620
|
+
minimum
|
621
|
+
i
|
622
|
+
26
|
623
|
+
23
|
624
|
+
1
|
625
|
+
10
|
626
|
+
14
|
627
|
+
44
|
628
|
+
43
|
629
|
+
0
|
630
|
+
78
|
631
|
+
49
|
632
|
+
1
|
633
|
+
1
|
634
|
+
19
|
635
|
+
1
|
636
|
+
15
|
637
|
+
5
|
638
|
+
7
|
639
|
+
2
|
640
|
+
20
|
641
|
+
0
|
642
|
+
20
|
643
|
+
1
|
644
|
+
47
|
645
|
+
49
|
646
|
+
3
|
647
|
+
3
|
648
|
+
11
|
649
|
+
I
|
650
|
+
6
|
651
|
+
I
|
652
|
+
2
|
653
|
+
I
|
654
|
+
1
|
655
|
+
I
|
656
|
+
2
|
657
|
+
n
|
658
|
+
p
|
659
|
+
4
|
660
|
+
x
|
661
|
+
4
|
662
|
+
Hash
|
663
|
+
x
|
664
|
+
16
|
665
|
+
new_from_literal
|
666
|
+
x
|
667
|
+
7
|
668
|
+
minimum
|
669
|
+
x
|
670
|
+
9
|
671
|
+
calculate
|
672
|
+
p
|
673
|
+
5
|
674
|
+
I
|
675
|
+
-1
|
676
|
+
I
|
677
|
+
4a
|
678
|
+
I
|
679
|
+
e
|
680
|
+
I
|
681
|
+
4b
|
682
|
+
I
|
683
|
+
1a
|
684
|
+
x
|
685
|
+
92
|
686
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
687
|
+
p
|
688
|
+
2
|
689
|
+
x
|
690
|
+
11
|
691
|
+
column_name
|
692
|
+
x
|
693
|
+
7
|
694
|
+
options
|
695
|
+
x
|
696
|
+
7
|
697
|
+
maximum
|
698
|
+
M
|
699
|
+
1
|
700
|
+
n
|
701
|
+
n
|
702
|
+
x
|
703
|
+
7
|
704
|
+
maximum
|
705
|
+
i
|
706
|
+
26
|
707
|
+
23
|
708
|
+
1
|
709
|
+
10
|
710
|
+
14
|
711
|
+
44
|
712
|
+
43
|
713
|
+
0
|
714
|
+
78
|
715
|
+
49
|
716
|
+
1
|
717
|
+
1
|
718
|
+
19
|
719
|
+
1
|
720
|
+
15
|
721
|
+
5
|
722
|
+
7
|
723
|
+
2
|
724
|
+
20
|
725
|
+
0
|
726
|
+
20
|
727
|
+
1
|
728
|
+
47
|
729
|
+
49
|
730
|
+
3
|
731
|
+
3
|
732
|
+
11
|
733
|
+
I
|
734
|
+
6
|
735
|
+
I
|
736
|
+
2
|
737
|
+
I
|
738
|
+
1
|
739
|
+
I
|
740
|
+
2
|
741
|
+
n
|
742
|
+
p
|
743
|
+
4
|
744
|
+
x
|
745
|
+
4
|
746
|
+
Hash
|
747
|
+
x
|
748
|
+
16
|
749
|
+
new_from_literal
|
750
|
+
x
|
751
|
+
7
|
752
|
+
maximum
|
753
|
+
x
|
754
|
+
9
|
755
|
+
calculate
|
756
|
+
p
|
757
|
+
5
|
758
|
+
I
|
759
|
+
-1
|
760
|
+
I
|
761
|
+
53
|
762
|
+
I
|
763
|
+
e
|
764
|
+
I
|
765
|
+
54
|
766
|
+
I
|
767
|
+
1a
|
768
|
+
x
|
769
|
+
92
|
770
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
771
|
+
p
|
772
|
+
2
|
773
|
+
x
|
774
|
+
11
|
775
|
+
column_name
|
776
|
+
x
|
777
|
+
7
|
778
|
+
options
|
779
|
+
x
|
780
|
+
3
|
781
|
+
sum
|
782
|
+
M
|
783
|
+
1
|
784
|
+
n
|
785
|
+
n
|
786
|
+
x
|
787
|
+
3
|
788
|
+
sum
|
789
|
+
i
|
790
|
+
26
|
791
|
+
23
|
792
|
+
1
|
793
|
+
10
|
794
|
+
14
|
795
|
+
44
|
796
|
+
43
|
797
|
+
0
|
798
|
+
78
|
799
|
+
49
|
800
|
+
1
|
801
|
+
1
|
802
|
+
19
|
803
|
+
1
|
804
|
+
15
|
805
|
+
5
|
806
|
+
7
|
807
|
+
2
|
808
|
+
20
|
809
|
+
0
|
810
|
+
20
|
811
|
+
1
|
812
|
+
47
|
813
|
+
49
|
814
|
+
3
|
815
|
+
3
|
816
|
+
11
|
817
|
+
I
|
818
|
+
6
|
819
|
+
I
|
820
|
+
2
|
821
|
+
I
|
822
|
+
1
|
823
|
+
I
|
824
|
+
2
|
825
|
+
n
|
826
|
+
p
|
827
|
+
4
|
828
|
+
x
|
829
|
+
4
|
830
|
+
Hash
|
831
|
+
x
|
832
|
+
16
|
833
|
+
new_from_literal
|
834
|
+
x
|
835
|
+
3
|
836
|
+
sum
|
837
|
+
x
|
838
|
+
9
|
839
|
+
calculate
|
840
|
+
p
|
841
|
+
5
|
842
|
+
I
|
843
|
+
-1
|
844
|
+
I
|
845
|
+
5c
|
846
|
+
I
|
847
|
+
e
|
848
|
+
I
|
849
|
+
5d
|
850
|
+
I
|
851
|
+
1a
|
852
|
+
x
|
853
|
+
92
|
854
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
855
|
+
p
|
856
|
+
2
|
857
|
+
x
|
858
|
+
11
|
859
|
+
column_name
|
860
|
+
x
|
861
|
+
7
|
862
|
+
options
|
863
|
+
x
|
864
|
+
9
|
865
|
+
calculate
|
866
|
+
M
|
867
|
+
1
|
868
|
+
n
|
869
|
+
n
|
870
|
+
x
|
871
|
+
9
|
872
|
+
calculate
|
873
|
+
i
|
874
|
+
151
|
875
|
+
23
|
876
|
+
2
|
877
|
+
10
|
878
|
+
14
|
879
|
+
44
|
880
|
+
43
|
881
|
+
0
|
882
|
+
78
|
883
|
+
49
|
884
|
+
1
|
885
|
+
1
|
886
|
+
19
|
887
|
+
2
|
888
|
+
15
|
889
|
+
26
|
890
|
+
93
|
891
|
+
0
|
892
|
+
15
|
893
|
+
29
|
894
|
+
120
|
895
|
+
0
|
896
|
+
20
|
897
|
+
2
|
898
|
+
7
|
899
|
+
2
|
900
|
+
49
|
901
|
+
3
|
902
|
+
1
|
903
|
+
49
|
904
|
+
4
|
905
|
+
0
|
906
|
+
9
|
907
|
+
75
|
908
|
+
5
|
909
|
+
20
|
910
|
+
2
|
911
|
+
7
|
912
|
+
2
|
913
|
+
49
|
914
|
+
3
|
915
|
+
1
|
916
|
+
47
|
917
|
+
49
|
918
|
+
5
|
919
|
+
1
|
920
|
+
20
|
921
|
+
0
|
922
|
+
20
|
923
|
+
1
|
924
|
+
44
|
925
|
+
43
|
926
|
+
0
|
927
|
+
79
|
928
|
+
49
|
929
|
+
1
|
930
|
+
1
|
931
|
+
13
|
932
|
+
7
|
933
|
+
2
|
934
|
+
20
|
935
|
+
2
|
936
|
+
7
|
937
|
+
2
|
938
|
+
49
|
939
|
+
6
|
940
|
+
1
|
941
|
+
49
|
942
|
+
7
|
943
|
+
2
|
944
|
+
15
|
945
|
+
49
|
946
|
+
8
|
947
|
+
3
|
948
|
+
8
|
949
|
+
117
|
950
|
+
5
|
951
|
+
47
|
952
|
+
49
|
953
|
+
9
|
954
|
+
0
|
955
|
+
13
|
956
|
+
10
|
957
|
+
90
|
958
|
+
15
|
959
|
+
5
|
960
|
+
48
|
961
|
+
10
|
962
|
+
49
|
963
|
+
4
|
964
|
+
0
|
965
|
+
9
|
966
|
+
106
|
967
|
+
5
|
968
|
+
48
|
969
|
+
11
|
970
|
+
20
|
971
|
+
0
|
972
|
+
20
|
973
|
+
1
|
974
|
+
20
|
975
|
+
2
|
976
|
+
49
|
977
|
+
8
|
978
|
+
3
|
979
|
+
8
|
980
|
+
117
|
981
|
+
5
|
982
|
+
20
|
983
|
+
0
|
984
|
+
20
|
985
|
+
1
|
986
|
+
20
|
987
|
+
2
|
988
|
+
47
|
989
|
+
49
|
990
|
+
12
|
991
|
+
3
|
992
|
+
30
|
993
|
+
8
|
994
|
+
147
|
995
|
+
26
|
996
|
+
93
|
997
|
+
1
|
998
|
+
15
|
999
|
+
24
|
1000
|
+
13
|
1001
|
+
45
|
1002
|
+
13
|
1003
|
+
14
|
1004
|
+
12
|
1005
|
+
49
|
1006
|
+
15
|
1007
|
+
1
|
1008
|
+
10
|
1009
|
+
137
|
1010
|
+
8
|
1011
|
+
142
|
1012
|
+
15
|
1013
|
+
78
|
1014
|
+
25
|
1015
|
+
8
|
1016
|
+
147
|
1017
|
+
15
|
1018
|
+
92
|
1019
|
+
1
|
1020
|
+
27
|
1021
|
+
34
|
1022
|
+
92
|
1023
|
+
0
|
1024
|
+
27
|
1025
|
+
11
|
1026
|
+
I
|
1027
|
+
d
|
1028
|
+
I
|
1029
|
+
3
|
1030
|
+
I
|
1031
|
+
2
|
1032
|
+
I
|
1033
|
+
3
|
1034
|
+
n
|
1035
|
+
p
|
1036
|
+
16
|
1037
|
+
x
|
1038
|
+
4
|
1039
|
+
Hash
|
1040
|
+
x
|
1041
|
+
16
|
1042
|
+
new_from_literal
|
1043
|
+
x
|
1044
|
+
8
|
1045
|
+
distinct
|
1046
|
+
x
|
1047
|
+
6
|
1048
|
+
except
|
1049
|
+
x
|
1050
|
+
8
|
1051
|
+
present?
|
1052
|
+
x
|
1053
|
+
20
|
1054
|
+
apply_finder_options
|
1055
|
+
x
|
1056
|
+
2
|
1057
|
+
[]
|
1058
|
+
x
|
1059
|
+
3
|
1060
|
+
[]=
|
1061
|
+
x
|
1062
|
+
9
|
1063
|
+
calculate
|
1064
|
+
x
|
1065
|
+
14
|
1066
|
+
eager_loading?
|
1067
|
+
x
|
1068
|
+
15
|
1069
|
+
includes_values
|
1070
|
+
x
|
1071
|
+
47
|
1072
|
+
construct_relation_for_association_calculations
|
1073
|
+
x
|
1074
|
+
19
|
1075
|
+
perform_calculation
|
1076
|
+
x
|
1077
|
+
11
|
1078
|
+
ThrowResult
|
1079
|
+
n
|
1080
|
+
x
|
1081
|
+
3
|
1082
|
+
===
|
1083
|
+
p
|
1084
|
+
17
|
1085
|
+
I
|
1086
|
+
-1
|
1087
|
+
I
|
1088
|
+
91
|
1089
|
+
I
|
1090
|
+
e
|
1091
|
+
I
|
1092
|
+
92
|
1093
|
+
I
|
1094
|
+
21
|
1095
|
+
I
|
1096
|
+
93
|
1097
|
+
I
|
1098
|
+
4b
|
1099
|
+
I
|
1100
|
+
95
|
1101
|
+
I
|
1102
|
+
5c
|
1103
|
+
I
|
1104
|
+
96
|
1105
|
+
I
|
1106
|
+
6a
|
1107
|
+
I
|
1108
|
+
98
|
1109
|
+
I
|
1110
|
+
7d
|
1111
|
+
I
|
1112
|
+
9b
|
1113
|
+
I
|
1114
|
+
8a
|
1115
|
+
I
|
1116
|
+
9c
|
1117
|
+
I
|
1118
|
+
97
|
1119
|
+
x
|
1120
|
+
92
|
1121
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
1122
|
+
p
|
1123
|
+
3
|
1124
|
+
x
|
1125
|
+
9
|
1126
|
+
operation
|
1127
|
+
x
|
1128
|
+
11
|
1129
|
+
column_name
|
1130
|
+
x
|
1131
|
+
7
|
1132
|
+
options
|
1133
|
+
x
|
1134
|
+
7
|
1135
|
+
private
|
1136
|
+
x
|
1137
|
+
19
|
1138
|
+
perform_calculation
|
1139
|
+
M
|
1140
|
+
1
|
1141
|
+
n
|
1142
|
+
n
|
1143
|
+
x
|
1144
|
+
19
|
1145
|
+
perform_calculation
|
1146
|
+
i
|
1147
|
+
194
|
1148
|
+
23
|
1149
|
+
2
|
1150
|
+
10
|
1151
|
+
14
|
1152
|
+
44
|
1153
|
+
43
|
1154
|
+
0
|
1155
|
+
78
|
1156
|
+
49
|
1157
|
+
1
|
1158
|
+
1
|
1159
|
+
19
|
1160
|
+
2
|
1161
|
+
15
|
1162
|
+
20
|
1163
|
+
0
|
1164
|
+
49
|
1165
|
+
2
|
1166
|
+
0
|
1167
|
+
49
|
1168
|
+
3
|
1169
|
+
0
|
1170
|
+
19
|
1171
|
+
0
|
1172
|
+
15
|
1173
|
+
1
|
1174
|
+
19
|
1175
|
+
3
|
1176
|
+
15
|
1177
|
+
20
|
1178
|
+
0
|
1179
|
+
7
|
1180
|
+
4
|
1181
|
+
64
|
1182
|
+
83
|
1183
|
+
5
|
1184
|
+
9
|
1185
|
+
144
|
1186
|
+
20
|
1187
|
+
1
|
1188
|
+
13
|
1189
|
+
10
|
1190
|
+
55
|
1191
|
+
15
|
1192
|
+
5
|
1193
|
+
48
|
1194
|
+
6
|
1195
|
+
13
|
1196
|
+
10
|
1197
|
+
53
|
1198
|
+
15
|
1199
|
+
7
|
1200
|
+
7
|
1201
|
+
19
|
1202
|
+
1
|
1203
|
+
15
|
1204
|
+
5
|
1205
|
+
48
|
1206
|
+
8
|
1207
|
+
49
|
1208
|
+
9
|
1209
|
+
0
|
1210
|
+
7
|
1211
|
+
10
|
1212
|
+
13
|
1213
|
+
70
|
1214
|
+
9
|
1215
|
+
80
|
1216
|
+
15
|
1217
|
+
44
|
1218
|
+
43
|
1219
|
+
11
|
1220
|
+
7
|
1221
|
+
12
|
1222
|
+
79
|
1223
|
+
49
|
1224
|
+
13
|
1225
|
+
2
|
1226
|
+
6
|
1227
|
+
10
|
1228
|
+
49
|
1229
|
+
14
|
1230
|
+
1
|
1231
|
+
9
|
1232
|
+
109
|
1233
|
+
2
|
1234
|
+
19
|
1235
|
+
3
|
1236
|
+
15
|
1237
|
+
20
|
1238
|
+
1
|
1239
|
+
7
|
1240
|
+
7
|
1241
|
+
83
|
1242
|
+
5
|
1243
|
+
9
|
1244
|
+
106
|
1245
|
+
39
|
1246
|
+
15
|
1247
|
+
49
|
1248
|
+
16
|
1249
|
+
0
|
1250
|
+
19
|
1251
|
+
1
|
1252
|
+
8
|
1253
|
+
107
|
1254
|
+
1
|
1255
|
+
8
|
1256
|
+
110
|
1257
|
+
1
|
1258
|
+
15
|
1259
|
+
20
|
1260
|
+
1
|
1261
|
+
7
|
1262
|
+
17
|
1263
|
+
13
|
1264
|
+
70
|
1265
|
+
9
|
1266
|
+
131
|
1267
|
+
15
|
1268
|
+
44
|
1269
|
+
43
|
1270
|
+
11
|
1271
|
+
7
|
1272
|
+
18
|
1273
|
+
79
|
1274
|
+
49
|
1275
|
+
13
|
1276
|
+
2
|
1277
|
+
6
|
1278
|
+
17
|
1279
|
+
49
|
1280
|
+
14
|
1281
|
+
1
|
1282
|
+
9
|
1283
|
+
141
|
1284
|
+
1
|
1285
|
+
19
|
1286
|
+
3
|
1287
|
+
8
|
1288
|
+
142
|
1289
|
+
1
|
1290
|
+
8
|
1291
|
+
145
|
1292
|
+
1
|
1293
|
+
15
|
1294
|
+
20
|
1295
|
+
2
|
1296
|
+
7
|
1297
|
+
19
|
1298
|
+
49
|
1299
|
+
20
|
1300
|
+
1
|
1301
|
+
13
|
1302
|
+
10
|
1303
|
+
159
|
1304
|
+
15
|
1305
|
+
20
|
1306
|
+
3
|
1307
|
+
19
|
1308
|
+
3
|
1309
|
+
15
|
1310
|
+
39
|
1311
|
+
21
|
1312
|
+
49
|
1313
|
+
22
|
1314
|
+
0
|
1315
|
+
9
|
1316
|
+
182
|
1317
|
+
5
|
1318
|
+
20
|
1319
|
+
0
|
1320
|
+
20
|
1321
|
+
1
|
1322
|
+
20
|
1323
|
+
3
|
1324
|
+
47
|
1325
|
+
49
|
1326
|
+
23
|
1327
|
+
3
|
1328
|
+
8
|
1329
|
+
193
|
1330
|
+
5
|
1331
|
+
20
|
1332
|
+
0
|
1333
|
+
20
|
1334
|
+
1
|
1335
|
+
20
|
1336
|
+
3
|
1337
|
+
47
|
1338
|
+
49
|
1339
|
+
24
|
1340
|
+
3
|
1341
|
+
11
|
1342
|
+
I
|
1343
|
+
8
|
1344
|
+
I
|
1345
|
+
4
|
1346
|
+
I
|
1347
|
+
2
|
1348
|
+
I
|
1349
|
+
3
|
1350
|
+
n
|
1351
|
+
p
|
1352
|
+
25
|
1353
|
+
x
|
1354
|
+
4
|
1355
|
+
Hash
|
1356
|
+
x
|
1357
|
+
16
|
1358
|
+
new_from_literal
|
1359
|
+
x
|
1360
|
+
4
|
1361
|
+
to_s
|
1362
|
+
x
|
1363
|
+
8
|
1364
|
+
downcase
|
1365
|
+
s
|
1366
|
+
5
|
1367
|
+
count
|
1368
|
+
x
|
1369
|
+
2
|
1370
|
+
==
|
1371
|
+
x
|
1372
|
+
16
|
1373
|
+
select_for_count
|
1374
|
+
x
|
1375
|
+
3
|
1376
|
+
all
|
1377
|
+
x
|
1378
|
+
4
|
1379
|
+
arel
|
1380
|
+
x
|
1381
|
+
8
|
1382
|
+
join_sql
|
1383
|
+
n
|
1384
|
+
x
|
1385
|
+
6
|
1386
|
+
Regexp
|
1387
|
+
s
|
1388
|
+
10
|
1389
|
+
LEFT OUTER
|
1390
|
+
x
|
1391
|
+
3
|
1392
|
+
new
|
1393
|
+
x
|
1394
|
+
2
|
1395
|
+
=~
|
1396
|
+
x
|
1397
|
+
6
|
1398
|
+
@klass
|
1399
|
+
x
|
1400
|
+
11
|
1401
|
+
primary_key
|
1402
|
+
n
|
1403
|
+
s
|
1404
|
+
14
|
1405
|
+
\s*DISTINCT\s+
|
1406
|
+
x
|
1407
|
+
8
|
1408
|
+
distinct
|
1409
|
+
x
|
1410
|
+
2
|
1411
|
+
[]
|
1412
|
+
x
|
1413
|
+
13
|
1414
|
+
@group_values
|
1415
|
+
x
|
1416
|
+
4
|
1417
|
+
any?
|
1418
|
+
x
|
1419
|
+
27
|
1420
|
+
execute_grouped_calculation
|
1421
|
+
x
|
1422
|
+
26
|
1423
|
+
execute_simple_calculation
|
1424
|
+
p
|
1425
|
+
31
|
1426
|
+
I
|
1427
|
+
-1
|
1428
|
+
I
|
1429
|
+
a1
|
1430
|
+
I
|
1431
|
+
e
|
1432
|
+
I
|
1433
|
+
a2
|
1434
|
+
I
|
1435
|
+
19
|
1436
|
+
I
|
1437
|
+
a4
|
1438
|
+
I
|
1439
|
+
1d
|
1440
|
+
I
|
1441
|
+
a6
|
1442
|
+
I
|
1443
|
+
26
|
1444
|
+
I
|
1445
|
+
a7
|
1446
|
+
I
|
1447
|
+
38
|
1448
|
+
I
|
1449
|
+
a9
|
1450
|
+
I
|
1451
|
+
55
|
1452
|
+
I
|
1453
|
+
aa
|
1454
|
+
I
|
1455
|
+
59
|
1456
|
+
I
|
1457
|
+
ab
|
1458
|
+
I
|
1459
|
+
6d
|
1460
|
+
I
|
1461
|
+
a9
|
1462
|
+
I
|
1463
|
+
6f
|
1464
|
+
I
|
1465
|
+
ae
|
1466
|
+
I
|
1467
|
+
90
|
1468
|
+
I
|
1469
|
+
a6
|
1470
|
+
I
|
1471
|
+
92
|
1472
|
+
I
|
1473
|
+
b1
|
1474
|
+
I
|
1475
|
+
a2
|
1476
|
+
I
|
1477
|
+
b3
|
1478
|
+
I
|
1479
|
+
a9
|
1480
|
+
I
|
1481
|
+
b4
|
1482
|
+
I
|
1483
|
+
b6
|
1484
|
+
I
|
1485
|
+
b6
|
1486
|
+
I
|
1487
|
+
c2
|
1488
|
+
x
|
1489
|
+
92
|
1490
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
1491
|
+
p
|
1492
|
+
4
|
1493
|
+
x
|
1494
|
+
9
|
1495
|
+
operation
|
1496
|
+
x
|
1497
|
+
11
|
1498
|
+
column_name
|
1499
|
+
x
|
1500
|
+
7
|
1501
|
+
options
|
1502
|
+
x
|
1503
|
+
8
|
1504
|
+
distinct
|
1505
|
+
x
|
1506
|
+
16
|
1507
|
+
aggregate_column
|
1508
|
+
M
|
1509
|
+
1
|
1510
|
+
n
|
1511
|
+
n
|
1512
|
+
x
|
1513
|
+
16
|
1514
|
+
aggregate_column
|
1515
|
+
i
|
1516
|
+
88
|
1517
|
+
39
|
1518
|
+
0
|
1519
|
+
49
|
1520
|
+
1
|
1521
|
+
0
|
1522
|
+
20
|
1523
|
+
0
|
1524
|
+
49
|
1525
|
+
2
|
1526
|
+
0
|
1527
|
+
49
|
1528
|
+
3
|
1529
|
+
1
|
1530
|
+
9
|
1531
|
+
63
|
1532
|
+
45
|
1533
|
+
4
|
1534
|
+
5
|
1535
|
+
43
|
1536
|
+
6
|
1537
|
+
13
|
1538
|
+
71
|
1539
|
+
7
|
1540
|
+
47
|
1541
|
+
9
|
1542
|
+
48
|
1543
|
+
47
|
1544
|
+
49
|
1545
|
+
8
|
1546
|
+
0
|
1547
|
+
13
|
1548
|
+
39
|
1549
|
+
0
|
1550
|
+
49
|
1551
|
+
9
|
1552
|
+
0
|
1553
|
+
49
|
1554
|
+
10
|
1555
|
+
0
|
1556
|
+
20
|
1557
|
+
0
|
1558
|
+
47
|
1559
|
+
49
|
1560
|
+
11
|
1561
|
+
2
|
1562
|
+
15
|
1563
|
+
8
|
1564
|
+
61
|
1565
|
+
39
|
1566
|
+
0
|
1567
|
+
49
|
1568
|
+
9
|
1569
|
+
0
|
1570
|
+
49
|
1571
|
+
10
|
1572
|
+
0
|
1573
|
+
20
|
1574
|
+
0
|
1575
|
+
49
|
1576
|
+
7
|
1577
|
+
2
|
1578
|
+
8
|
1579
|
+
87
|
1580
|
+
45
|
1581
|
+
4
|
1582
|
+
12
|
1583
|
+
20
|
1584
|
+
0
|
1585
|
+
7
|
1586
|
+
13
|
1587
|
+
83
|
1588
|
+
14
|
1589
|
+
9
|
1590
|
+
79
|
1591
|
+
7
|
1592
|
+
15
|
1593
|
+
64
|
1594
|
+
8
|
1595
|
+
84
|
1596
|
+
20
|
1597
|
+
0
|
1598
|
+
49
|
1599
|
+
2
|
1600
|
+
0
|
1601
|
+
49
|
1602
|
+
16
|
1603
|
+
1
|
1604
|
+
11
|
1605
|
+
I
|
1606
|
+
5
|
1607
|
+
I
|
1608
|
+
1
|
1609
|
+
I
|
1610
|
+
1
|
1611
|
+
I
|
1612
|
+
1
|
1613
|
+
n
|
1614
|
+
p
|
1615
|
+
17
|
1616
|
+
x
|
1617
|
+
6
|
1618
|
+
@klass
|
1619
|
+
x
|
1620
|
+
12
|
1621
|
+
column_names
|
1622
|
+
x
|
1623
|
+
4
|
1624
|
+
to_s
|
1625
|
+
x
|
1626
|
+
8
|
1627
|
+
include?
|
1628
|
+
x
|
1629
|
+
4
|
1630
|
+
Arel
|
1631
|
+
n
|
1632
|
+
x
|
1633
|
+
9
|
1634
|
+
Attribute
|
1635
|
+
x
|
1636
|
+
3
|
1637
|
+
new
|
1638
|
+
x
|
1639
|
+
8
|
1640
|
+
allocate
|
1641
|
+
x
|
1642
|
+
8
|
1643
|
+
unscoped
|
1644
|
+
x
|
1645
|
+
5
|
1646
|
+
table
|
1647
|
+
x
|
1648
|
+
10
|
1649
|
+
initialize
|
1650
|
+
n
|
1651
|
+
x
|
1652
|
+
3
|
1653
|
+
all
|
1654
|
+
x
|
1655
|
+
2
|
1656
|
+
==
|
1657
|
+
s
|
1658
|
+
1
|
1659
|
+
*
|
1660
|
+
x
|
1661
|
+
3
|
1662
|
+
sql
|
1663
|
+
p
|
1664
|
+
9
|
1665
|
+
I
|
1666
|
+
-1
|
1667
|
+
I
|
1668
|
+
ba
|
1669
|
+
I
|
1670
|
+
0
|
1671
|
+
I
|
1672
|
+
bb
|
1673
|
+
I
|
1674
|
+
f
|
1675
|
+
I
|
1676
|
+
bc
|
1677
|
+
I
|
1678
|
+
3f
|
1679
|
+
I
|
1680
|
+
be
|
1681
|
+
I
|
1682
|
+
58
|
1683
|
+
x
|
1684
|
+
92
|
1685
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
1686
|
+
p
|
1687
|
+
1
|
1688
|
+
x
|
1689
|
+
11
|
1690
|
+
column_name
|
1691
|
+
x
|
1692
|
+
31
|
1693
|
+
operation_over_aggregate_column
|
1694
|
+
M
|
1695
|
+
1
|
1696
|
+
n
|
1697
|
+
n
|
1698
|
+
x
|
1699
|
+
31
|
1700
|
+
operation_over_aggregate_column
|
1701
|
+
i
|
1702
|
+
26
|
1703
|
+
20
|
1704
|
+
1
|
1705
|
+
7
|
1706
|
+
0
|
1707
|
+
64
|
1708
|
+
83
|
1709
|
+
1
|
1710
|
+
9
|
1711
|
+
18
|
1712
|
+
20
|
1713
|
+
0
|
1714
|
+
20
|
1715
|
+
2
|
1716
|
+
49
|
1717
|
+
2
|
1718
|
+
1
|
1719
|
+
8
|
1720
|
+
25
|
1721
|
+
20
|
1722
|
+
0
|
1723
|
+
20
|
1724
|
+
1
|
1725
|
+
49
|
1726
|
+
3
|
1727
|
+
1
|
1728
|
+
11
|
1729
|
+
I
|
1730
|
+
5
|
1731
|
+
I
|
1732
|
+
3
|
1733
|
+
I
|
1734
|
+
3
|
1735
|
+
I
|
1736
|
+
3
|
1737
|
+
n
|
1738
|
+
p
|
1739
|
+
4
|
1740
|
+
s
|
1741
|
+
5
|
1742
|
+
count
|
1743
|
+
x
|
1744
|
+
2
|
1745
|
+
==
|
1746
|
+
x
|
1747
|
+
5
|
1748
|
+
count
|
1749
|
+
x
|
1750
|
+
4
|
1751
|
+
send
|
1752
|
+
p
|
1753
|
+
5
|
1754
|
+
I
|
1755
|
+
-1
|
1756
|
+
I
|
1757
|
+
c2
|
1758
|
+
I
|
1759
|
+
0
|
1760
|
+
I
|
1761
|
+
c3
|
1762
|
+
I
|
1763
|
+
1a
|
1764
|
+
x
|
1765
|
+
92
|
1766
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
1767
|
+
p
|
1768
|
+
3
|
1769
|
+
x
|
1770
|
+
6
|
1771
|
+
column
|
1772
|
+
x
|
1773
|
+
9
|
1774
|
+
operation
|
1775
|
+
x
|
1776
|
+
8
|
1777
|
+
distinct
|
1778
|
+
x
|
1779
|
+
26
|
1780
|
+
execute_simple_calculation
|
1781
|
+
M
|
1782
|
+
1
|
1783
|
+
n
|
1784
|
+
n
|
1785
|
+
x
|
1786
|
+
26
|
1787
|
+
execute_simple_calculation
|
1788
|
+
i
|
1789
|
+
76
|
1790
|
+
5
|
1791
|
+
20
|
1792
|
+
1
|
1793
|
+
47
|
1794
|
+
49
|
1795
|
+
0
|
1796
|
+
1
|
1797
|
+
19
|
1798
|
+
3
|
1799
|
+
15
|
1800
|
+
5
|
1801
|
+
7
|
1802
|
+
1
|
1803
|
+
47
|
1804
|
+
49
|
1805
|
+
2
|
1806
|
+
1
|
1807
|
+
19
|
1808
|
+
4
|
1809
|
+
15
|
1810
|
+
5
|
1811
|
+
20
|
1812
|
+
3
|
1813
|
+
20
|
1814
|
+
0
|
1815
|
+
20
|
1816
|
+
2
|
1817
|
+
47
|
1818
|
+
49
|
1819
|
+
3
|
1820
|
+
3
|
1821
|
+
19
|
1822
|
+
5
|
1823
|
+
15
|
1824
|
+
20
|
1825
|
+
4
|
1826
|
+
20
|
1827
|
+
5
|
1828
|
+
35
|
1829
|
+
1
|
1830
|
+
13
|
1831
|
+
18
|
1832
|
+
2
|
1833
|
+
49
|
1834
|
+
4
|
1835
|
+
1
|
1836
|
+
15
|
1837
|
+
15
|
1838
|
+
5
|
1839
|
+
39
|
1840
|
+
5
|
1841
|
+
49
|
1842
|
+
6
|
1843
|
+
0
|
1844
|
+
20
|
1845
|
+
4
|
1846
|
+
49
|
1847
|
+
7
|
1848
|
+
0
|
1849
|
+
49
|
1850
|
+
8
|
1851
|
+
1
|
1852
|
+
5
|
1853
|
+
20
|
1854
|
+
1
|
1855
|
+
47
|
1856
|
+
49
|
1857
|
+
9
|
1858
|
+
1
|
1859
|
+
20
|
1860
|
+
0
|
1861
|
+
47
|
1862
|
+
49
|
1863
|
+
10
|
1864
|
+
3
|
1865
|
+
11
|
1866
|
+
I
|
1867
|
+
a
|
1868
|
+
I
|
1869
|
+
6
|
1870
|
+
I
|
1871
|
+
3
|
1872
|
+
I
|
1873
|
+
3
|
1874
|
+
n
|
1875
|
+
p
|
1876
|
+
11
|
1877
|
+
x
|
1878
|
+
16
|
1879
|
+
aggregate_column
|
1880
|
+
x
|
1881
|
+
5
|
1882
|
+
order
|
1883
|
+
x
|
1884
|
+
6
|
1885
|
+
except
|
1886
|
+
x
|
1887
|
+
31
|
1888
|
+
operation_over_aggregate_column
|
1889
|
+
x
|
1890
|
+
14
|
1891
|
+
select_values=
|
1892
|
+
x
|
1893
|
+
6
|
1894
|
+
@klass
|
1895
|
+
x
|
1896
|
+
10
|
1897
|
+
connection
|
1898
|
+
x
|
1899
|
+
6
|
1900
|
+
to_sql
|
1901
|
+
x
|
1902
|
+
12
|
1903
|
+
select_value
|
1904
|
+
x
|
1905
|
+
10
|
1906
|
+
column_for
|
1907
|
+
x
|
1908
|
+
26
|
1909
|
+
type_cast_calculated_value
|
1910
|
+
p
|
1911
|
+
13
|
1912
|
+
I
|
1913
|
+
-1
|
1914
|
+
I
|
1915
|
+
c6
|
1916
|
+
I
|
1917
|
+
0
|
1918
|
+
I
|
1919
|
+
c7
|
1920
|
+
I
|
1921
|
+
a
|
1922
|
+
I
|
1923
|
+
ca
|
1924
|
+
I
|
1925
|
+
14
|
1926
|
+
I
|
1927
|
+
cb
|
1928
|
+
I
|
1929
|
+
22
|
1930
|
+
I
|
1931
|
+
cd
|
1932
|
+
I
|
1933
|
+
30
|
1934
|
+
I
|
1935
|
+
cf
|
1936
|
+
I
|
1937
|
+
4c
|
1938
|
+
x
|
1939
|
+
92
|
1940
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
1941
|
+
p
|
1942
|
+
6
|
1943
|
+
x
|
1944
|
+
9
|
1945
|
+
operation
|
1946
|
+
x
|
1947
|
+
11
|
1948
|
+
column_name
|
1949
|
+
x
|
1950
|
+
8
|
1951
|
+
distinct
|
1952
|
+
x
|
1953
|
+
6
|
1954
|
+
column
|
1955
|
+
x
|
1956
|
+
8
|
1957
|
+
relation
|
1958
|
+
x
|
1959
|
+
12
|
1960
|
+
select_value
|
1961
|
+
x
|
1962
|
+
27
|
1963
|
+
execute_grouped_calculation
|
1964
|
+
M
|
1965
|
+
1
|
1966
|
+
n
|
1967
|
+
n
|
1968
|
+
x
|
1969
|
+
27
|
1970
|
+
execute_grouped_calculation
|
1971
|
+
i
|
1972
|
+
300
|
1973
|
+
39
|
1974
|
+
0
|
1975
|
+
19
|
1976
|
+
3
|
1977
|
+
15
|
1978
|
+
39
|
1979
|
+
1
|
1980
|
+
20
|
1981
|
+
3
|
1982
|
+
49
|
1983
|
+
2
|
1984
|
+
0
|
1985
|
+
49
|
1986
|
+
3
|
1987
|
+
0
|
1988
|
+
49
|
1989
|
+
4
|
1990
|
+
1
|
1991
|
+
19
|
1992
|
+
4
|
1993
|
+
15
|
1994
|
+
20
|
1995
|
+
3
|
1996
|
+
49
|
1997
|
+
5
|
1998
|
+
0
|
1999
|
+
79
|
2000
|
+
83
|
2001
|
+
6
|
2002
|
+
13
|
2003
|
+
9
|
2004
|
+
48
|
2005
|
+
15
|
2006
|
+
20
|
2007
|
+
4
|
2008
|
+
13
|
2009
|
+
9
|
2010
|
+
48
|
2011
|
+
15
|
2012
|
+
20
|
2013
|
+
4
|
2014
|
+
49
|
2015
|
+
7
|
2016
|
+
0
|
2017
|
+
7
|
2018
|
+
8
|
2019
|
+
83
|
2020
|
+
6
|
2021
|
+
19
|
2022
|
+
5
|
2023
|
+
15
|
2024
|
+
5
|
2025
|
+
20
|
2026
|
+
5
|
2027
|
+
9
|
2028
|
+
63
|
2029
|
+
20
|
2030
|
+
4
|
2031
|
+
49
|
2032
|
+
9
|
2033
|
+
0
|
2034
|
+
8
|
2035
|
+
65
|
2036
|
+
20
|
2037
|
+
3
|
2038
|
+
47
|
2039
|
+
49
|
2040
|
+
10
|
2041
|
+
1
|
2042
|
+
19
|
2043
|
+
6
|
2044
|
+
15
|
2045
|
+
35
|
2046
|
+
0
|
2047
|
+
19
|
2048
|
+
7
|
2049
|
+
15
|
2050
|
+
44
|
2051
|
+
43
|
2052
|
+
11
|
2053
|
+
78
|
2054
|
+
49
|
2055
|
+
12
|
2056
|
+
1
|
2057
|
+
19
|
2058
|
+
8
|
2059
|
+
15
|
2060
|
+
20
|
2061
|
+
6
|
2062
|
+
56
|
2063
|
+
13
|
2064
|
+
50
|
2065
|
+
14
|
2066
|
+
0
|
2067
|
+
15
|
2068
|
+
39
|
2069
|
+
1
|
2070
|
+
49
|
2071
|
+
15
|
2072
|
+
0
|
2073
|
+
49
|
2074
|
+
16
|
2075
|
+
0
|
2076
|
+
7
|
2077
|
+
17
|
2078
|
+
64
|
2079
|
+
83
|
2080
|
+
6
|
2081
|
+
9
|
2082
|
+
114
|
2083
|
+
20
|
2084
|
+
7
|
2085
|
+
8
|
2086
|
+
116
|
2087
|
+
20
|
2088
|
+
6
|
2089
|
+
19
|
2090
|
+
9
|
2091
|
+
15
|
2092
|
+
20
|
2093
|
+
0
|
2094
|
+
7
|
2095
|
+
18
|
2096
|
+
64
|
2097
|
+
83
|
2098
|
+
6
|
2099
|
+
13
|
2100
|
+
9
|
2101
|
+
136
|
2102
|
+
15
|
2103
|
+
20
|
2104
|
+
1
|
2105
|
+
7
|
2106
|
+
19
|
2107
|
+
83
|
2108
|
+
6
|
2109
|
+
9
|
2110
|
+
145
|
2111
|
+
7
|
2112
|
+
20
|
2113
|
+
64
|
2114
|
+
19
|
2115
|
+
10
|
2116
|
+
8
|
2117
|
+
156
|
2118
|
+
5
|
2119
|
+
20
|
2120
|
+
0
|
2121
|
+
20
|
2122
|
+
1
|
2123
|
+
47
|
2124
|
+
49
|
2125
|
+
21
|
2126
|
+
2
|
2127
|
+
19
|
2128
|
+
10
|
2129
|
+
15
|
2130
|
+
5
|
2131
|
+
7
|
2132
|
+
22
|
2133
|
+
47
|
2134
|
+
49
|
2135
|
+
23
|
2136
|
+
1
|
2137
|
+
20
|
2138
|
+
9
|
2139
|
+
7
|
2140
|
+
24
|
2141
|
+
64
|
2142
|
+
49
|
2143
|
+
25
|
2144
|
+
1
|
2145
|
+
49
|
2146
|
+
22
|
2147
|
+
1
|
2148
|
+
19
|
2149
|
+
11
|
2150
|
+
15
|
2151
|
+
20
|
2152
|
+
11
|
2153
|
+
5
|
2154
|
+
5
|
2155
|
+
20
|
2156
|
+
1
|
2157
|
+
47
|
2158
|
+
49
|
2159
|
+
26
|
2160
|
+
1
|
2161
|
+
20
|
2162
|
+
0
|
2163
|
+
20
|
2164
|
+
2
|
2165
|
+
47
|
2166
|
+
49
|
2167
|
+
27
|
2168
|
+
3
|
2169
|
+
20
|
2170
|
+
10
|
2171
|
+
49
|
2172
|
+
28
|
2173
|
+
1
|
2174
|
+
35
|
2175
|
+
1
|
2176
|
+
13
|
2177
|
+
18
|
2178
|
+
2
|
2179
|
+
49
|
2180
|
+
29
|
2181
|
+
1
|
2182
|
+
15
|
2183
|
+
15
|
2184
|
+
20
|
2185
|
+
6
|
2186
|
+
56
|
2187
|
+
30
|
2188
|
+
50
|
2189
|
+
31
|
2190
|
+
0
|
2191
|
+
15
|
2192
|
+
39
|
2193
|
+
1
|
2194
|
+
49
|
2195
|
+
15
|
2196
|
+
0
|
2197
|
+
20
|
2198
|
+
11
|
2199
|
+
49
|
2200
|
+
32
|
2201
|
+
0
|
2202
|
+
49
|
2203
|
+
33
|
2204
|
+
1
|
2205
|
+
19
|
2206
|
+
12
|
2207
|
+
15
|
2208
|
+
20
|
2209
|
+
4
|
2210
|
+
9
|
2211
|
+
282
|
2212
|
+
20
|
2213
|
+
12
|
2214
|
+
56
|
2215
|
+
34
|
2216
|
+
50
|
2217
|
+
35
|
2218
|
+
0
|
2219
|
+
19
|
2220
|
+
13
|
2221
|
+
15
|
2222
|
+
20
|
2223
|
+
4
|
2224
|
+
49
|
2225
|
+
36
|
2226
|
+
0
|
2227
|
+
49
|
2228
|
+
37
|
2229
|
+
0
|
2230
|
+
20
|
2231
|
+
13
|
2232
|
+
49
|
2233
|
+
38
|
2234
|
+
1
|
2235
|
+
19
|
2236
|
+
14
|
2237
|
+
15
|
2238
|
+
45
|
2239
|
+
11
|
2240
|
+
39
|
2241
|
+
20
|
2242
|
+
14
|
2243
|
+
56
|
2244
|
+
40
|
2245
|
+
50
|
2246
|
+
41
|
2247
|
+
0
|
2248
|
+
49
|
2249
|
+
42
|
2250
|
+
1
|
2251
|
+
19
|
2252
|
+
14
|
2253
|
+
8
|
2254
|
+
283
|
2255
|
+
1
|
2256
|
+
15
|
2257
|
+
45
|
2258
|
+
43
|
2259
|
+
44
|
2260
|
+
43
|
2261
|
+
45
|
2262
|
+
20
|
2263
|
+
12
|
2264
|
+
56
|
2265
|
+
46
|
2266
|
+
50
|
2267
|
+
41
|
2268
|
+
0
|
2269
|
+
49
|
2270
|
+
42
|
2271
|
+
1
|
2272
|
+
11
|
2273
|
+
I
|
2274
|
+
14
|
2275
|
+
I
|
2276
|
+
f
|
2277
|
+
I
|
2278
|
+
3
|
2279
|
+
I
|
2280
|
+
3
|
2281
|
+
n
|
2282
|
+
p
|
2283
|
+
47
|
2284
|
+
x
|
2285
|
+
13
|
2286
|
+
@group_values
|
2287
|
+
x
|
2288
|
+
6
|
2289
|
+
@klass
|
2290
|
+
x
|
2291
|
+
5
|
2292
|
+
first
|
2293
|
+
x
|
2294
|
+
6
|
2295
|
+
to_sym
|
2296
|
+
x
|
2297
|
+
22
|
2298
|
+
reflect_on_association
|
2299
|
+
x
|
2300
|
+
4
|
2301
|
+
size
|
2302
|
+
x
|
2303
|
+
2
|
2304
|
+
==
|
2305
|
+
x
|
2306
|
+
5
|
2307
|
+
macro
|
2308
|
+
x
|
2309
|
+
10
|
2310
|
+
belongs_to
|
2311
|
+
x
|
2312
|
+
16
|
2313
|
+
primary_key_name
|
2314
|
+
x
|
2315
|
+
5
|
2316
|
+
Array
|
2317
|
+
x
|
2318
|
+
4
|
2319
|
+
Hash
|
2320
|
+
x
|
2321
|
+
16
|
2322
|
+
new_from_literal
|
2323
|
+
M
|
2324
|
+
1
|
2325
|
+
p
|
2326
|
+
2
|
2327
|
+
x
|
2328
|
+
9
|
2329
|
+
for_block
|
2330
|
+
t
|
2331
|
+
n
|
2332
|
+
x
|
2333
|
+
27
|
2334
|
+
execute_grouped_calculation
|
2335
|
+
i
|
2336
|
+
43
|
2337
|
+
57
|
2338
|
+
19
|
2339
|
+
0
|
2340
|
+
15
|
2341
|
+
21
|
2342
|
+
1
|
2343
|
+
7
|
2344
|
+
5
|
2345
|
+
20
|
2346
|
+
0
|
2347
|
+
47
|
2348
|
+
49
|
2349
|
+
0
|
2350
|
+
1
|
2351
|
+
49
|
2352
|
+
1
|
2353
|
+
1
|
2354
|
+
15
|
2355
|
+
21
|
2356
|
+
1
|
2357
|
+
8
|
2358
|
+
5
|
2359
|
+
20
|
2360
|
+
0
|
2361
|
+
47
|
2362
|
+
49
|
2363
|
+
0
|
2364
|
+
1
|
2365
|
+
5
|
2366
|
+
20
|
2367
|
+
0
|
2368
|
+
47
|
2369
|
+
49
|
2370
|
+
2
|
2371
|
+
1
|
2372
|
+
13
|
2373
|
+
18
|
2374
|
+
3
|
2375
|
+
49
|
2376
|
+
3
|
2377
|
+
2
|
2378
|
+
15
|
2379
|
+
11
|
2380
|
+
I
|
2381
|
+
6
|
2382
|
+
I
|
2383
|
+
1
|
2384
|
+
I
|
2385
|
+
1
|
2386
|
+
I
|
2387
|
+
1
|
2388
|
+
n
|
2389
|
+
p
|
2390
|
+
4
|
2391
|
+
x
|
2392
|
+
16
|
2393
|
+
column_alias_for
|
2394
|
+
x
|
2395
|
+
2
|
2396
|
+
<<
|
2397
|
+
x
|
2398
|
+
10
|
2399
|
+
column_for
|
2400
|
+
x
|
2401
|
+
3
|
2402
|
+
[]=
|
2403
|
+
p
|
2404
|
+
7
|
2405
|
+
I
|
2406
|
+
0
|
2407
|
+
I
|
2408
|
+
da
|
2409
|
+
I
|
2410
|
+
4
|
2411
|
+
I
|
2412
|
+
db
|
2413
|
+
I
|
2414
|
+
12
|
2415
|
+
I
|
2416
|
+
dc
|
2417
|
+
I
|
2418
|
+
2b
|
2419
|
+
x
|
2420
|
+
92
|
2421
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
2422
|
+
p
|
2423
|
+
1
|
2424
|
+
x
|
2425
|
+
5
|
2426
|
+
field
|
2427
|
+
x
|
2428
|
+
4
|
2429
|
+
each
|
2430
|
+
x
|
2431
|
+
10
|
2432
|
+
connection
|
2433
|
+
x
|
2434
|
+
12
|
2435
|
+
adapter_name
|
2436
|
+
s
|
2437
|
+
9
|
2438
|
+
FrontBase
|
2439
|
+
s
|
2440
|
+
5
|
2441
|
+
count
|
2442
|
+
x
|
2443
|
+
3
|
2444
|
+
all
|
2445
|
+
s
|
2446
|
+
9
|
2447
|
+
count_all
|
2448
|
+
x
|
2449
|
+
16
|
2450
|
+
column_alias_for
|
2451
|
+
x
|
2452
|
+
5
|
2453
|
+
group
|
2454
|
+
x
|
2455
|
+
6
|
2456
|
+
except
|
2457
|
+
s
|
2458
|
+
1
|
2459
|
+
,
|
2460
|
+
x
|
2461
|
+
4
|
2462
|
+
join
|
2463
|
+
x
|
2464
|
+
16
|
2465
|
+
aggregate_column
|
2466
|
+
x
|
2467
|
+
31
|
2468
|
+
operation_over_aggregate_column
|
2469
|
+
x
|
2470
|
+
2
|
2471
|
+
as
|
2472
|
+
x
|
2473
|
+
14
|
2474
|
+
select_values=
|
2475
|
+
M
|
2476
|
+
1
|
2477
|
+
p
|
2478
|
+
2
|
2479
|
+
x
|
2480
|
+
9
|
2481
|
+
for_block
|
2482
|
+
t
|
2483
|
+
n
|
2484
|
+
x
|
2485
|
+
27
|
2486
|
+
execute_grouped_calculation
|
2487
|
+
i
|
2488
|
+
40
|
2489
|
+
57
|
2490
|
+
19
|
2491
|
+
0
|
2492
|
+
15
|
2493
|
+
21
|
2494
|
+
1
|
2495
|
+
11
|
2496
|
+
49
|
2497
|
+
0
|
2498
|
+
0
|
2499
|
+
21
|
2500
|
+
1
|
2501
|
+
6
|
2502
|
+
20
|
2503
|
+
0
|
2504
|
+
49
|
2505
|
+
1
|
2506
|
+
1
|
2507
|
+
47
|
2508
|
+
101
|
2509
|
+
2
|
2510
|
+
7
|
2511
|
+
3
|
2512
|
+
21
|
2513
|
+
1
|
2514
|
+
7
|
2515
|
+
20
|
2516
|
+
0
|
2517
|
+
49
|
2518
|
+
1
|
2519
|
+
1
|
2520
|
+
47
|
2521
|
+
101
|
2522
|
+
2
|
2523
|
+
63
|
2524
|
+
3
|
2525
|
+
49
|
2526
|
+
4
|
2527
|
+
1
|
2528
|
+
11
|
2529
|
+
I
|
2530
|
+
7
|
2531
|
+
I
|
2532
|
+
1
|
2533
|
+
I
|
2534
|
+
1
|
2535
|
+
I
|
2536
|
+
1
|
2537
|
+
n
|
2538
|
+
p
|
2539
|
+
5
|
2540
|
+
x
|
2541
|
+
13
|
2542
|
+
select_values
|
2543
|
+
x
|
2544
|
+
2
|
2545
|
+
[]
|
2546
|
+
x
|
2547
|
+
4
|
2548
|
+
to_s
|
2549
|
+
s
|
2550
|
+
4
|
2551
|
+
AS
|
2552
|
+
x
|
2553
|
+
2
|
2554
|
+
<<
|
2555
|
+
p
|
2556
|
+
3
|
2557
|
+
I
|
2558
|
+
0
|
2559
|
+
I
|
2560
|
+
e9
|
2561
|
+
I
|
2562
|
+
28
|
2563
|
+
x
|
2564
|
+
92
|
2565
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
2566
|
+
p
|
2567
|
+
1
|
2568
|
+
x
|
2569
|
+
1
|
2570
|
+
i
|
2571
|
+
x
|
2572
|
+
10
|
2573
|
+
each_index
|
2574
|
+
x
|
2575
|
+
6
|
2576
|
+
to_sql
|
2577
|
+
x
|
2578
|
+
10
|
2579
|
+
select_all
|
2580
|
+
M
|
2581
|
+
1
|
2582
|
+
p
|
2583
|
+
2
|
2584
|
+
x
|
2585
|
+
9
|
2586
|
+
for_block
|
2587
|
+
t
|
2588
|
+
n
|
2589
|
+
x
|
2590
|
+
27
|
2591
|
+
execute_grouped_calculation
|
2592
|
+
i
|
2593
|
+
16
|
2594
|
+
57
|
2595
|
+
19
|
2596
|
+
0
|
2597
|
+
15
|
2598
|
+
20
|
2599
|
+
0
|
2600
|
+
21
|
2601
|
+
1
|
2602
|
+
7
|
2603
|
+
49
|
2604
|
+
0
|
2605
|
+
0
|
2606
|
+
49
|
2607
|
+
1
|
2608
|
+
1
|
2609
|
+
11
|
2610
|
+
I
|
2611
|
+
4
|
2612
|
+
I
|
2613
|
+
1
|
2614
|
+
I
|
2615
|
+
1
|
2616
|
+
I
|
2617
|
+
1
|
2618
|
+
n
|
2619
|
+
p
|
2620
|
+
2
|
2621
|
+
x
|
2622
|
+
5
|
2623
|
+
first
|
2624
|
+
x
|
2625
|
+
2
|
2626
|
+
[]
|
2627
|
+
p
|
2628
|
+
3
|
2629
|
+
I
|
2630
|
+
0
|
2631
|
+
I
|
2632
|
+
ee
|
2633
|
+
I
|
2634
|
+
10
|
2635
|
+
x
|
2636
|
+
92
|
2637
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
2638
|
+
p
|
2639
|
+
1
|
2640
|
+
x
|
2641
|
+
3
|
2642
|
+
row
|
2643
|
+
x
|
2644
|
+
7
|
2645
|
+
collect
|
2646
|
+
x
|
2647
|
+
5
|
2648
|
+
klass
|
2649
|
+
x
|
2650
|
+
10
|
2651
|
+
base_class
|
2652
|
+
x
|
2653
|
+
4
|
2654
|
+
find
|
2655
|
+
n
|
2656
|
+
M
|
2657
|
+
1
|
2658
|
+
p
|
2659
|
+
2
|
2660
|
+
x
|
2661
|
+
9
|
2662
|
+
for_block
|
2663
|
+
t
|
2664
|
+
n
|
2665
|
+
x
|
2666
|
+
27
|
2667
|
+
execute_grouped_calculation
|
2668
|
+
i
|
2669
|
+
14
|
2670
|
+
57
|
2671
|
+
19
|
2672
|
+
0
|
2673
|
+
15
|
2674
|
+
20
|
2675
|
+
0
|
2676
|
+
49
|
2677
|
+
0
|
2678
|
+
0
|
2679
|
+
20
|
2680
|
+
0
|
2681
|
+
35
|
2682
|
+
2
|
2683
|
+
11
|
2684
|
+
I
|
2685
|
+
4
|
2686
|
+
I
|
2687
|
+
1
|
2688
|
+
I
|
2689
|
+
1
|
2690
|
+
I
|
2691
|
+
1
|
2692
|
+
n
|
2693
|
+
p
|
2694
|
+
1
|
2695
|
+
x
|
2696
|
+
2
|
2697
|
+
id
|
2698
|
+
p
|
2699
|
+
3
|
2700
|
+
I
|
2701
|
+
0
|
2702
|
+
I
|
2703
|
+
f0
|
2704
|
+
I
|
2705
|
+
e
|
2706
|
+
x
|
2707
|
+
92
|
2708
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
2709
|
+
p
|
2710
|
+
1
|
2711
|
+
x
|
2712
|
+
1
|
2713
|
+
r
|
2714
|
+
x
|
2715
|
+
3
|
2716
|
+
map
|
2717
|
+
x
|
2718
|
+
2
|
2719
|
+
[]
|
2720
|
+
x
|
2721
|
+
13
|
2722
|
+
ActiveSupport
|
2723
|
+
n
|
2724
|
+
x
|
2725
|
+
11
|
2726
|
+
OrderedHash
|
2727
|
+
M
|
2728
|
+
1
|
2729
|
+
p
|
2730
|
+
2
|
2731
|
+
x
|
2732
|
+
9
|
2733
|
+
for_block
|
2734
|
+
t
|
2735
|
+
n
|
2736
|
+
x
|
2737
|
+
27
|
2738
|
+
execute_grouped_calculation
|
2739
|
+
i
|
2740
|
+
84
|
2741
|
+
57
|
2742
|
+
19
|
2743
|
+
0
|
2744
|
+
15
|
2745
|
+
21
|
2746
|
+
1
|
2747
|
+
7
|
2748
|
+
56
|
2749
|
+
0
|
2750
|
+
50
|
2751
|
+
1
|
2752
|
+
0
|
2753
|
+
19
|
2754
|
+
1
|
2755
|
+
15
|
2756
|
+
20
|
2757
|
+
1
|
2758
|
+
49
|
2759
|
+
2
|
2760
|
+
0
|
2761
|
+
79
|
2762
|
+
83
|
2763
|
+
3
|
2764
|
+
9
|
2765
|
+
34
|
2766
|
+
20
|
2767
|
+
1
|
2768
|
+
49
|
2769
|
+
4
|
2770
|
+
0
|
2771
|
+
19
|
2772
|
+
1
|
2773
|
+
8
|
2774
|
+
35
|
2775
|
+
1
|
2776
|
+
15
|
2777
|
+
21
|
2778
|
+
1
|
2779
|
+
5
|
2780
|
+
9
|
2781
|
+
53
|
2782
|
+
21
|
2783
|
+
1
|
2784
|
+
14
|
2785
|
+
20
|
2786
|
+
1
|
2787
|
+
49
|
2788
|
+
5
|
2789
|
+
1
|
2790
|
+
19
|
2791
|
+
1
|
2792
|
+
8
|
2793
|
+
54
|
2794
|
+
1
|
2795
|
+
15
|
2796
|
+
20
|
2797
|
+
1
|
2798
|
+
5
|
2799
|
+
20
|
2800
|
+
0
|
2801
|
+
21
|
2802
|
+
1
|
2803
|
+
10
|
2804
|
+
49
|
2805
|
+
5
|
2806
|
+
1
|
2807
|
+
5
|
2808
|
+
21
|
2809
|
+
1
|
2810
|
+
1
|
2811
|
+
47
|
2812
|
+
49
|
2813
|
+
6
|
2814
|
+
1
|
2815
|
+
21
|
2816
|
+
1
|
2817
|
+
0
|
2818
|
+
47
|
2819
|
+
49
|
2820
|
+
7
|
2821
|
+
3
|
2822
|
+
35
|
2823
|
+
2
|
2824
|
+
11
|
2825
|
+
I
|
2826
|
+
8
|
2827
|
+
I
|
2828
|
+
2
|
2829
|
+
I
|
2830
|
+
1
|
2831
|
+
I
|
2832
|
+
1
|
2833
|
+
n
|
2834
|
+
p
|
2835
|
+
8
|
2836
|
+
M
|
2837
|
+
1
|
2838
|
+
p
|
2839
|
+
2
|
2840
|
+
x
|
2841
|
+
9
|
2842
|
+
for_block
|
2843
|
+
t
|
2844
|
+
n
|
2845
|
+
x
|
2846
|
+
27
|
2847
|
+
execute_grouped_calculation
|
2848
|
+
i
|
2849
|
+
26
|
2850
|
+
57
|
2851
|
+
19
|
2852
|
+
0
|
2853
|
+
15
|
2854
|
+
5
|
2855
|
+
21
|
2856
|
+
1
|
2857
|
+
0
|
2858
|
+
20
|
2859
|
+
0
|
2860
|
+
49
|
2861
|
+
0
|
2862
|
+
1
|
2863
|
+
21
|
2864
|
+
2
|
2865
|
+
8
|
2866
|
+
20
|
2867
|
+
0
|
2868
|
+
49
|
2869
|
+
0
|
2870
|
+
1
|
2871
|
+
47
|
2872
|
+
49
|
2873
|
+
1
|
2874
|
+
2
|
2875
|
+
11
|
2876
|
+
I
|
2877
|
+
6
|
2878
|
+
I
|
2879
|
+
1
|
2880
|
+
I
|
2881
|
+
1
|
2882
|
+
I
|
2883
|
+
1
|
2884
|
+
n
|
2885
|
+
p
|
2886
|
+
2
|
2887
|
+
x
|
2888
|
+
2
|
2889
|
+
[]
|
2890
|
+
x
|
2891
|
+
26
|
2892
|
+
type_cast_calculated_value
|
2893
|
+
p
|
2894
|
+
3
|
2895
|
+
I
|
2896
|
+
0
|
2897
|
+
I
|
2898
|
+
f4
|
2899
|
+
I
|
2900
|
+
1a
|
2901
|
+
x
|
2902
|
+
92
|
2903
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
2904
|
+
p
|
2905
|
+
1
|
2906
|
+
x
|
2907
|
+
11
|
2908
|
+
group_alias
|
2909
|
+
x
|
2910
|
+
3
|
2911
|
+
map
|
2912
|
+
x
|
2913
|
+
4
|
2914
|
+
size
|
2915
|
+
x
|
2916
|
+
2
|
2917
|
+
==
|
2918
|
+
x
|
2919
|
+
5
|
2920
|
+
first
|
2921
|
+
x
|
2922
|
+
2
|
2923
|
+
[]
|
2924
|
+
x
|
2925
|
+
10
|
2926
|
+
column_for
|
2927
|
+
x
|
2928
|
+
26
|
2929
|
+
type_cast_calculated_value
|
2930
|
+
p
|
2931
|
+
11
|
2932
|
+
I
|
2933
|
+
0
|
2934
|
+
I
|
2935
|
+
f3
|
2936
|
+
I
|
2937
|
+
4
|
2938
|
+
I
|
2939
|
+
f4
|
2940
|
+
I
|
2941
|
+
f
|
2942
|
+
I
|
2943
|
+
f5
|
2944
|
+
I
|
2945
|
+
24
|
2946
|
+
I
|
2947
|
+
f6
|
2948
|
+
I
|
2949
|
+
37
|
2950
|
+
I
|
2951
|
+
f7
|
2952
|
+
I
|
2953
|
+
54
|
2954
|
+
x
|
2955
|
+
92
|
2956
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
2957
|
+
p
|
2958
|
+
2
|
2959
|
+
x
|
2960
|
+
3
|
2961
|
+
row
|
2962
|
+
x
|
2963
|
+
3
|
2964
|
+
key
|
2965
|
+
p
|
2966
|
+
45
|
2967
|
+
I
|
2968
|
+
-1
|
2969
|
+
I
|
2970
|
+
d2
|
2971
|
+
I
|
2972
|
+
0
|
2973
|
+
I
|
2974
|
+
d3
|
2975
|
+
I
|
2976
|
+
5
|
2977
|
+
I
|
2978
|
+
d4
|
2979
|
+
I
|
2980
|
+
15
|
2981
|
+
I
|
2982
|
+
d5
|
2983
|
+
I
|
2984
|
+
33
|
2985
|
+
I
|
2986
|
+
d6
|
2987
|
+
I
|
2988
|
+
48
|
2989
|
+
I
|
2990
|
+
d7
|
2991
|
+
I
|
2992
|
+
4d
|
2993
|
+
I
|
2994
|
+
d8
|
2995
|
+
I
|
2996
|
+
57
|
2997
|
+
I
|
2998
|
+
da
|
2999
|
+
I
|
3000
|
+
5f
|
3001
|
+
I
|
3002
|
+
df
|
3003
|
+
I
|
3004
|
+
77
|
3005
|
+
I
|
3006
|
+
e1
|
3007
|
+
I
|
3008
|
+
8a
|
3009
|
+
I
|
3010
|
+
e2
|
3011
|
+
I
|
3012
|
+
91
|
3013
|
+
I
|
3014
|
+
e4
|
3015
|
+
I
|
3016
|
+
9d
|
3017
|
+
I
|
3018
|
+
e7
|
3019
|
+
I
|
3020
|
+
b2
|
3021
|
+
I
|
3022
|
+
e8
|
3023
|
+
I
|
3024
|
+
d3
|
3025
|
+
I
|
3026
|
+
e9
|
3027
|
+
I
|
3028
|
+
db
|
3029
|
+
I
|
3030
|
+
eb
|
3031
|
+
I
|
3032
|
+
eb
|
3033
|
+
I
|
3034
|
+
ed
|
3035
|
+
I
|
3036
|
+
ef
|
3037
|
+
I
|
3038
|
+
ee
|
3039
|
+
I
|
3040
|
+
f9
|
3041
|
+
I
|
3042
|
+
ef
|
3043
|
+
I
|
3044
|
+
109
|
3045
|
+
I
|
3046
|
+
f0
|
3047
|
+
I
|
3048
|
+
11a
|
3049
|
+
I
|
3050
|
+
ed
|
3051
|
+
I
|
3052
|
+
11c
|
3053
|
+
I
|
3054
|
+
f3
|
3055
|
+
I
|
3056
|
+
12c
|
3057
|
+
x
|
3058
|
+
92
|
3059
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3060
|
+
p
|
3061
|
+
15
|
3062
|
+
x
|
3063
|
+
9
|
3064
|
+
operation
|
3065
|
+
x
|
3066
|
+
11
|
3067
|
+
column_name
|
3068
|
+
x
|
3069
|
+
8
|
3070
|
+
distinct
|
3071
|
+
x
|
3072
|
+
10
|
3073
|
+
group_attr
|
3074
|
+
x
|
3075
|
+
11
|
3076
|
+
association
|
3077
|
+
x
|
3078
|
+
10
|
3079
|
+
associated
|
3080
|
+
x
|
3081
|
+
12
|
3082
|
+
group_fields
|
3083
|
+
x
|
3084
|
+
13
|
3085
|
+
group_aliases
|
3086
|
+
x
|
3087
|
+
13
|
3088
|
+
group_columns
|
3089
|
+
x
|
3090
|
+
5
|
3091
|
+
group
|
3092
|
+
x
|
3093
|
+
15
|
3094
|
+
aggregate_alias
|
3095
|
+
x
|
3096
|
+
8
|
3097
|
+
relation
|
3098
|
+
x
|
3099
|
+
15
|
3100
|
+
calculated_data
|
3101
|
+
x
|
3102
|
+
7
|
3103
|
+
key_ids
|
3104
|
+
x
|
3105
|
+
11
|
3106
|
+
key_records
|
3107
|
+
x
|
3108
|
+
16
|
3109
|
+
column_alias_for
|
3110
|
+
M
|
3111
|
+
1
|
3112
|
+
n
|
3113
|
+
n
|
3114
|
+
x
|
3115
|
+
16
|
3116
|
+
column_alias_for
|
3117
|
+
i
|
3118
|
+
115
|
3119
|
+
20
|
3120
|
+
0
|
3121
|
+
7
|
3122
|
+
0
|
3123
|
+
64
|
3124
|
+
49
|
3125
|
+
1
|
3126
|
+
1
|
3127
|
+
19
|
3128
|
+
1
|
3129
|
+
15
|
3130
|
+
20
|
3131
|
+
1
|
3132
|
+
49
|
3133
|
+
2
|
3134
|
+
0
|
3135
|
+
15
|
3136
|
+
20
|
3137
|
+
1
|
3138
|
+
7
|
3139
|
+
3
|
3140
|
+
13
|
3141
|
+
70
|
3142
|
+
9
|
3143
|
+
37
|
3144
|
+
15
|
3145
|
+
44
|
3146
|
+
43
|
3147
|
+
4
|
3148
|
+
7
|
3149
|
+
5
|
3150
|
+
78
|
3151
|
+
49
|
3152
|
+
6
|
3153
|
+
2
|
3154
|
+
6
|
3155
|
+
3
|
3156
|
+
7
|
3157
|
+
7
|
3158
|
+
64
|
3159
|
+
49
|
3160
|
+
8
|
3161
|
+
2
|
3162
|
+
15
|
3163
|
+
20
|
3164
|
+
1
|
3165
|
+
7
|
3166
|
+
9
|
3167
|
+
13
|
3168
|
+
70
|
3169
|
+
9
|
3170
|
+
64
|
3171
|
+
15
|
3172
|
+
44
|
3173
|
+
43
|
3174
|
+
4
|
3175
|
+
7
|
3176
|
+
10
|
3177
|
+
78
|
3178
|
+
49
|
3179
|
+
6
|
3180
|
+
2
|
3181
|
+
6
|
3182
|
+
9
|
3183
|
+
7
|
3184
|
+
0
|
3185
|
+
64
|
3186
|
+
49
|
3187
|
+
8
|
3188
|
+
2
|
3189
|
+
15
|
3190
|
+
20
|
3191
|
+
1
|
3192
|
+
49
|
3193
|
+
11
|
3194
|
+
0
|
3195
|
+
15
|
3196
|
+
20
|
3197
|
+
1
|
3198
|
+
7
|
3199
|
+
12
|
3200
|
+
13
|
3201
|
+
70
|
3202
|
+
9
|
3203
|
+
97
|
3204
|
+
15
|
3205
|
+
44
|
3206
|
+
43
|
3207
|
+
4
|
3208
|
+
7
|
3209
|
+
13
|
3210
|
+
78
|
3211
|
+
49
|
3212
|
+
6
|
3213
|
+
2
|
3214
|
+
6
|
3215
|
+
12
|
3216
|
+
7
|
3217
|
+
14
|
3218
|
+
64
|
3219
|
+
49
|
3220
|
+
8
|
3221
|
+
2
|
3222
|
+
15
|
3223
|
+
39
|
3224
|
+
15
|
3225
|
+
49
|
3226
|
+
16
|
3227
|
+
0
|
3228
|
+
20
|
3229
|
+
1
|
3230
|
+
49
|
3231
|
+
17
|
3232
|
+
1
|
3233
|
+
11
|
3234
|
+
I
|
3235
|
+
6
|
3236
|
+
I
|
3237
|
+
2
|
3238
|
+
I
|
3239
|
+
0
|
3240
|
+
I
|
3241
|
+
0
|
3242
|
+
I
|
3243
|
+
0
|
3244
|
+
p
|
3245
|
+
18
|
3246
|
+
s
|
3247
|
+
1
|
3248
|
+
|
3249
|
+
x
|
3250
|
+
4
|
3251
|
+
join
|
3252
|
+
x
|
3253
|
+
9
|
3254
|
+
downcase!
|
3255
|
+
n
|
3256
|
+
x
|
3257
|
+
6
|
3258
|
+
Regexp
|
3259
|
+
s
|
3260
|
+
2
|
3261
|
+
\*
|
3262
|
+
x
|
3263
|
+
3
|
3264
|
+
new
|
3265
|
+
s
|
3266
|
+
3
|
3267
|
+
all
|
3268
|
+
x
|
3269
|
+
5
|
3270
|
+
gsub!
|
3271
|
+
n
|
3272
|
+
s
|
3273
|
+
3
|
3274
|
+
\W+
|
3275
|
+
x
|
3276
|
+
6
|
3277
|
+
strip!
|
3278
|
+
n
|
3279
|
+
s
|
3280
|
+
2
|
3281
|
+
+
|
3282
|
+
s
|
3283
|
+
1
|
3284
|
+
_
|
3285
|
+
x
|
3286
|
+
6
|
3287
|
+
@klass
|
3288
|
+
x
|
3289
|
+
10
|
3290
|
+
connection
|
3291
|
+
x
|
3292
|
+
15
|
3293
|
+
table_alias_for
|
3294
|
+
p
|
3295
|
+
17
|
3296
|
+
I
|
3297
|
+
-1
|
3298
|
+
I
|
3299
|
+
103
|
3300
|
+
I
|
3301
|
+
0
|
3302
|
+
I
|
3303
|
+
104
|
3304
|
+
I
|
3305
|
+
b
|
3306
|
+
I
|
3307
|
+
105
|
3308
|
+
I
|
3309
|
+
11
|
3310
|
+
I
|
3311
|
+
106
|
3312
|
+
I
|
3313
|
+
2c
|
3314
|
+
I
|
3315
|
+
107
|
3316
|
+
I
|
3317
|
+
47
|
3318
|
+
I
|
3319
|
+
108
|
3320
|
+
I
|
3321
|
+
4d
|
3322
|
+
I
|
3323
|
+
109
|
3324
|
+
I
|
3325
|
+
68
|
3326
|
+
I
|
3327
|
+
10b
|
3328
|
+
I
|
3329
|
+
73
|
3330
|
+
x
|
3331
|
+
92
|
3332
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3333
|
+
p
|
3334
|
+
2
|
3335
|
+
x
|
3336
|
+
4
|
3337
|
+
keys
|
3338
|
+
x
|
3339
|
+
10
|
3340
|
+
table_name
|
3341
|
+
x
|
3342
|
+
10
|
3343
|
+
column_for
|
3344
|
+
M
|
3345
|
+
1
|
3346
|
+
n
|
3347
|
+
n
|
3348
|
+
x
|
3349
|
+
10
|
3350
|
+
column_for
|
3351
|
+
i
|
3352
|
+
28
|
3353
|
+
20
|
3354
|
+
0
|
3355
|
+
49
|
3356
|
+
0
|
3357
|
+
0
|
3358
|
+
7
|
3359
|
+
1
|
3360
|
+
64
|
3361
|
+
49
|
3362
|
+
2
|
3363
|
+
1
|
3364
|
+
49
|
3365
|
+
3
|
3366
|
+
0
|
3367
|
+
19
|
3368
|
+
1
|
3369
|
+
15
|
3370
|
+
39
|
3371
|
+
4
|
3372
|
+
49
|
3373
|
+
5
|
3374
|
+
0
|
3375
|
+
56
|
3376
|
+
6
|
3377
|
+
50
|
3378
|
+
7
|
3379
|
+
0
|
3380
|
+
11
|
3381
|
+
I
|
3382
|
+
4
|
3383
|
+
I
|
3384
|
+
2
|
3385
|
+
I
|
3386
|
+
1
|
3387
|
+
I
|
3388
|
+
1
|
3389
|
+
n
|
3390
|
+
p
|
3391
|
+
8
|
3392
|
+
x
|
3393
|
+
4
|
3394
|
+
to_s
|
3395
|
+
s
|
3396
|
+
1
|
3397
|
+
.
|
3398
|
+
x
|
3399
|
+
5
|
3400
|
+
split
|
3401
|
+
x
|
3402
|
+
4
|
3403
|
+
last
|
3404
|
+
x
|
3405
|
+
6
|
3406
|
+
@klass
|
3407
|
+
x
|
3408
|
+
7
|
3409
|
+
columns
|
3410
|
+
M
|
3411
|
+
1
|
3412
|
+
p
|
3413
|
+
2
|
3414
|
+
x
|
3415
|
+
9
|
3416
|
+
for_block
|
3417
|
+
t
|
3418
|
+
n
|
3419
|
+
x
|
3420
|
+
10
|
3421
|
+
column_for
|
3422
|
+
i
|
3423
|
+
18
|
3424
|
+
57
|
3425
|
+
19
|
3426
|
+
0
|
3427
|
+
15
|
3428
|
+
20
|
3429
|
+
0
|
3430
|
+
49
|
3431
|
+
0
|
3432
|
+
0
|
3433
|
+
49
|
3434
|
+
1
|
3435
|
+
0
|
3436
|
+
21
|
3437
|
+
1
|
3438
|
+
1
|
3439
|
+
83
|
3440
|
+
2
|
3441
|
+
11
|
3442
|
+
I
|
3443
|
+
4
|
3444
|
+
I
|
3445
|
+
1
|
3446
|
+
I
|
3447
|
+
1
|
3448
|
+
I
|
3449
|
+
1
|
3450
|
+
n
|
3451
|
+
p
|
3452
|
+
3
|
3453
|
+
x
|
3454
|
+
4
|
3455
|
+
name
|
3456
|
+
x
|
3457
|
+
4
|
3458
|
+
to_s
|
3459
|
+
x
|
3460
|
+
2
|
3461
|
+
==
|
3462
|
+
p
|
3463
|
+
3
|
3464
|
+
I
|
3465
|
+
0
|
3466
|
+
I
|
3467
|
+
110
|
3468
|
+
I
|
3469
|
+
12
|
3470
|
+
x
|
3471
|
+
92
|
3472
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3473
|
+
p
|
3474
|
+
1
|
3475
|
+
x
|
3476
|
+
1
|
3477
|
+
c
|
3478
|
+
x
|
3479
|
+
6
|
3480
|
+
detect
|
3481
|
+
p
|
3482
|
+
7
|
3483
|
+
I
|
3484
|
+
-1
|
3485
|
+
I
|
3486
|
+
10e
|
3487
|
+
I
|
3488
|
+
0
|
3489
|
+
I
|
3490
|
+
10f
|
3491
|
+
I
|
3492
|
+
11
|
3493
|
+
I
|
3494
|
+
110
|
3495
|
+
I
|
3496
|
+
1c
|
3497
|
+
x
|
3498
|
+
92
|
3499
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3500
|
+
p
|
3501
|
+
2
|
3502
|
+
x
|
3503
|
+
5
|
3504
|
+
field
|
3505
|
+
x
|
3506
|
+
10
|
3507
|
+
field_name
|
3508
|
+
x
|
3509
|
+
26
|
3510
|
+
type_cast_calculated_value
|
3511
|
+
M
|
3512
|
+
1
|
3513
|
+
n
|
3514
|
+
n
|
3515
|
+
x
|
3516
|
+
26
|
3517
|
+
type_cast_calculated_value
|
3518
|
+
i
|
3519
|
+
99
|
3520
|
+
23
|
3521
|
+
2
|
3522
|
+
10
|
3523
|
+
8
|
3524
|
+
1
|
3525
|
+
19
|
3526
|
+
2
|
3527
|
+
15
|
3528
|
+
20
|
3529
|
+
2
|
3530
|
+
13
|
3531
|
+
7
|
3532
|
+
0
|
3533
|
+
64
|
3534
|
+
12
|
3535
|
+
49
|
3536
|
+
1
|
3537
|
+
1
|
3538
|
+
9
|
3539
|
+
28
|
3540
|
+
15
|
3541
|
+
20
|
3542
|
+
0
|
3543
|
+
49
|
3544
|
+
2
|
3545
|
+
0
|
3546
|
+
8
|
3547
|
+
98
|
3548
|
+
13
|
3549
|
+
7
|
3550
|
+
3
|
3551
|
+
64
|
3552
|
+
12
|
3553
|
+
49
|
3554
|
+
1
|
3555
|
+
1
|
3556
|
+
9
|
3557
|
+
57
|
3558
|
+
15
|
3559
|
+
5
|
3560
|
+
20
|
3561
|
+
0
|
3562
|
+
13
|
3563
|
+
10
|
3564
|
+
49
|
3565
|
+
15
|
3566
|
+
7
|
3567
|
+
4
|
3568
|
+
64
|
3569
|
+
20
|
3570
|
+
1
|
3571
|
+
47
|
3572
|
+
49
|
3573
|
+
5
|
3574
|
+
2
|
3575
|
+
8
|
3576
|
+
98
|
3577
|
+
13
|
3578
|
+
7
|
3579
|
+
6
|
3580
|
+
64
|
3581
|
+
12
|
3582
|
+
49
|
3583
|
+
1
|
3584
|
+
1
|
3585
|
+
9
|
3586
|
+
88
|
3587
|
+
15
|
3588
|
+
20
|
3589
|
+
0
|
3590
|
+
7
|
3591
|
+
7
|
3592
|
+
49
|
3593
|
+
8
|
3594
|
+
1
|
3595
|
+
9
|
3596
|
+
84
|
3597
|
+
20
|
3598
|
+
0
|
3599
|
+
49
|
3600
|
+
7
|
3601
|
+
0
|
3602
|
+
8
|
3603
|
+
86
|
3604
|
+
20
|
3605
|
+
0
|
3606
|
+
8
|
3607
|
+
98
|
3608
|
+
15
|
3609
|
+
5
|
3610
|
+
20
|
3611
|
+
0
|
3612
|
+
20
|
3613
|
+
1
|
3614
|
+
47
|
3615
|
+
49
|
3616
|
+
5
|
3617
|
+
2
|
3618
|
+
11
|
3619
|
+
I
|
3620
|
+
6
|
3621
|
+
I
|
3622
|
+
3
|
3623
|
+
I
|
3624
|
+
2
|
3625
|
+
I
|
3626
|
+
3
|
3627
|
+
n
|
3628
|
+
p
|
3629
|
+
9
|
3630
|
+
s
|
3631
|
+
5
|
3632
|
+
count
|
3633
|
+
x
|
3634
|
+
3
|
3635
|
+
===
|
3636
|
+
x
|
3637
|
+
4
|
3638
|
+
to_i
|
3639
|
+
s
|
3640
|
+
3
|
3641
|
+
sum
|
3642
|
+
s
|
3643
|
+
1
|
3644
|
+
0
|
3645
|
+
x
|
3646
|
+
22
|
3647
|
+
type_cast_using_column
|
3648
|
+
s
|
3649
|
+
7
|
3650
|
+
average
|
3651
|
+
x
|
3652
|
+
4
|
3653
|
+
to_d
|
3654
|
+
x
|
3655
|
+
11
|
3656
|
+
respond_to?
|
3657
|
+
p
|
3658
|
+
13
|
3659
|
+
I
|
3660
|
+
-1
|
3661
|
+
I
|
3662
|
+
113
|
3663
|
+
I
|
3664
|
+
8
|
3665
|
+
I
|
3666
|
+
114
|
3667
|
+
I
|
3668
|
+
a
|
3669
|
+
I
|
3670
|
+
115
|
3671
|
+
I
|
3672
|
+
1c
|
3673
|
+
I
|
3674
|
+
116
|
3675
|
+
I
|
3676
|
+
39
|
3677
|
+
I
|
3678
|
+
117
|
3679
|
+
I
|
3680
|
+
59
|
3681
|
+
I
|
3682
|
+
118
|
3683
|
+
I
|
3684
|
+
63
|
3685
|
+
x
|
3686
|
+
92
|
3687
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3688
|
+
p
|
3689
|
+
3
|
3690
|
+
x
|
3691
|
+
5
|
3692
|
+
value
|
3693
|
+
x
|
3694
|
+
6
|
3695
|
+
column
|
3696
|
+
x
|
3697
|
+
9
|
3698
|
+
operation
|
3699
|
+
x
|
3700
|
+
22
|
3701
|
+
type_cast_using_column
|
3702
|
+
M
|
3703
|
+
1
|
3704
|
+
n
|
3705
|
+
n
|
3706
|
+
x
|
3707
|
+
22
|
3708
|
+
type_cast_using_column
|
3709
|
+
i
|
3710
|
+
16
|
3711
|
+
20
|
3712
|
+
1
|
3713
|
+
9
|
3714
|
+
13
|
3715
|
+
20
|
3716
|
+
1
|
3717
|
+
20
|
3718
|
+
0
|
3719
|
+
49
|
3720
|
+
0
|
3721
|
+
1
|
3722
|
+
8
|
3723
|
+
15
|
3724
|
+
20
|
3725
|
+
0
|
3726
|
+
11
|
3727
|
+
I
|
3728
|
+
4
|
3729
|
+
I
|
3730
|
+
2
|
3731
|
+
I
|
3732
|
+
2
|
3733
|
+
I
|
3734
|
+
2
|
3735
|
+
n
|
3736
|
+
p
|
3737
|
+
1
|
3738
|
+
x
|
3739
|
+
9
|
3740
|
+
type_cast
|
3741
|
+
p
|
3742
|
+
5
|
3743
|
+
I
|
3744
|
+
-1
|
3745
|
+
I
|
3746
|
+
11c
|
3747
|
+
I
|
3748
|
+
0
|
3749
|
+
I
|
3750
|
+
11d
|
3751
|
+
I
|
3752
|
+
10
|
3753
|
+
x
|
3754
|
+
92
|
3755
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3756
|
+
p
|
3757
|
+
2
|
3758
|
+
x
|
3759
|
+
5
|
3760
|
+
value
|
3761
|
+
x
|
3762
|
+
6
|
3763
|
+
column
|
3764
|
+
x
|
3765
|
+
16
|
3766
|
+
select_for_count
|
3767
|
+
M
|
3768
|
+
1
|
3769
|
+
n
|
3770
|
+
n
|
3771
|
+
x
|
3772
|
+
16
|
3773
|
+
select_for_count
|
3774
|
+
i
|
3775
|
+
52
|
3776
|
+
39
|
3777
|
+
0
|
3778
|
+
49
|
3779
|
+
1
|
3780
|
+
0
|
3781
|
+
9
|
3782
|
+
50
|
3783
|
+
39
|
3784
|
+
0
|
3785
|
+
7
|
3786
|
+
2
|
3787
|
+
64
|
3788
|
+
49
|
3789
|
+
3
|
3790
|
+
1
|
3791
|
+
19
|
3792
|
+
0
|
3793
|
+
15
|
3794
|
+
20
|
3795
|
+
0
|
3796
|
+
7
|
3797
|
+
4
|
3798
|
+
13
|
3799
|
+
70
|
3800
|
+
9
|
3801
|
+
38
|
3802
|
+
15
|
3803
|
+
44
|
3804
|
+
43
|
3805
|
+
5
|
3806
|
+
7
|
3807
|
+
6
|
3808
|
+
78
|
3809
|
+
49
|
3810
|
+
7
|
3811
|
+
2
|
3812
|
+
6
|
3813
|
+
4
|
3814
|
+
49
|
3815
|
+
8
|
3816
|
+
1
|
3817
|
+
9
|
3818
|
+
46
|
3819
|
+
1
|
3820
|
+
8
|
3821
|
+
48
|
3822
|
+
20
|
3823
|
+
0
|
3824
|
+
8
|
3825
|
+
51
|
3826
|
+
1
|
3827
|
+
11
|
3828
|
+
I
|
3829
|
+
5
|
3830
|
+
I
|
3831
|
+
1
|
3832
|
+
I
|
3833
|
+
0
|
3834
|
+
I
|
3835
|
+
0
|
3836
|
+
n
|
3837
|
+
p
|
3838
|
+
9
|
3839
|
+
x
|
3840
|
+
14
|
3841
|
+
@select_values
|
3842
|
+
x
|
3843
|
+
8
|
3844
|
+
present?
|
3845
|
+
s
|
3846
|
+
2
|
3847
|
+
,
|
3848
|
+
x
|
3849
|
+
4
|
3850
|
+
join
|
3851
|
+
n
|
3852
|
+
x
|
3853
|
+
6
|
3854
|
+
Regexp
|
3855
|
+
s
|
3856
|
+
6
|
3857
|
+
(,|\*)
|
3858
|
+
x
|
3859
|
+
3
|
3860
|
+
new
|
3861
|
+
x
|
3862
|
+
2
|
3863
|
+
=~
|
3864
|
+
p
|
3865
|
+
11
|
3866
|
+
I
|
3867
|
+
-1
|
3868
|
+
I
|
3869
|
+
120
|
3870
|
+
I
|
3871
|
+
0
|
3872
|
+
I
|
3873
|
+
121
|
3874
|
+
I
|
3875
|
+
7
|
3876
|
+
I
|
3877
|
+
122
|
3878
|
+
I
|
3879
|
+
12
|
3880
|
+
I
|
3881
|
+
123
|
3882
|
+
I
|
3883
|
+
32
|
3884
|
+
I
|
3885
|
+
121
|
3886
|
+
I
|
3887
|
+
34
|
3888
|
+
x
|
3889
|
+
92
|
3890
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3891
|
+
p
|
3892
|
+
1
|
3893
|
+
x
|
3894
|
+
6
|
3895
|
+
select
|
3896
|
+
p
|
3897
|
+
35
|
3898
|
+
I
|
3899
|
+
2
|
3900
|
+
I
|
3901
|
+
38
|
3902
|
+
I
|
3903
|
+
10
|
3904
|
+
I
|
3905
|
+
41
|
3906
|
+
I
|
3907
|
+
1e
|
3908
|
+
I
|
3909
|
+
4a
|
3910
|
+
I
|
3911
|
+
2c
|
3912
|
+
I
|
3913
|
+
53
|
3914
|
+
I
|
3915
|
+
3a
|
3916
|
+
I
|
3917
|
+
5c
|
3918
|
+
I
|
3919
|
+
48
|
3920
|
+
I
|
3921
|
+
91
|
3922
|
+
I
|
3923
|
+
56
|
3924
|
+
I
|
3925
|
+
9f
|
3926
|
+
I
|
3927
|
+
5a
|
3928
|
+
I
|
3929
|
+
a1
|
3930
|
+
I
|
3931
|
+
68
|
3932
|
+
I
|
3933
|
+
ba
|
3934
|
+
I
|
3935
|
+
76
|
3936
|
+
I
|
3937
|
+
c2
|
3938
|
+
I
|
3939
|
+
84
|
3940
|
+
I
|
3941
|
+
c6
|
3942
|
+
I
|
3943
|
+
92
|
3944
|
+
I
|
3945
|
+
d2
|
3946
|
+
I
|
3947
|
+
a0
|
3948
|
+
I
|
3949
|
+
103
|
3950
|
+
I
|
3951
|
+
ae
|
3952
|
+
I
|
3953
|
+
10e
|
3954
|
+
I
|
3955
|
+
bc
|
3956
|
+
I
|
3957
|
+
113
|
3958
|
+
I
|
3959
|
+
ca
|
3960
|
+
I
|
3961
|
+
11c
|
3962
|
+
I
|
3963
|
+
d8
|
3964
|
+
I
|
3965
|
+
120
|
3966
|
+
I
|
3967
|
+
e6
|
3968
|
+
x
|
3969
|
+
92
|
3970
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3971
|
+
p
|
3972
|
+
0
|
3973
|
+
x
|
3974
|
+
13
|
3975
|
+
attach_method
|
3976
|
+
p
|
3977
|
+
3
|
3978
|
+
I
|
3979
|
+
2
|
3980
|
+
I
|
3981
|
+
5
|
3982
|
+
I
|
3983
|
+
1c
|
3984
|
+
x
|
3985
|
+
92
|
3986
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
3987
|
+
p
|
3988
|
+
0
|
3989
|
+
x
|
3990
|
+
13
|
3991
|
+
attach_method
|
3992
|
+
p
|
3993
|
+
7
|
3994
|
+
I
|
3995
|
+
0
|
3996
|
+
I
|
3997
|
+
1
|
3998
|
+
I
|
3999
|
+
9
|
4000
|
+
I
|
4001
|
+
2
|
4002
|
+
I
|
4003
|
+
12
|
4004
|
+
I
|
4005
|
+
4
|
4006
|
+
I
|
4007
|
+
2e
|
4008
|
+
x
|
4009
|
+
92
|
4010
|
+
/Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/relation/calculations.rb
|
4011
|
+
p
|
4012
|
+
0
|