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.

Files changed (74) hide show
  1. data/CHANGELOG +7 -1
  2. data/lib/active_record.rbc +1825 -0
  3. data/lib/active_record/aggregations.rbc +2173 -0
  4. data/lib/active_record/association_preload.rbc +8379 -0
  5. data/lib/active_record/associations.rbc +25180 -0
  6. data/lib/active_record/associations/association_collection.rbc +11174 -0
  7. data/lib/active_record/associations/association_proxy.rbc +4435 -0
  8. data/lib/active_record/associations/belongs_to_association.rbc +1867 -0
  9. data/lib/active_record/associations/belongs_to_polymorphic_association.rbc +1718 -0
  10. data/lib/active_record/associations/has_many_association.rbc +2553 -0
  11. data/lib/active_record/associations/has_many_through_association.rbc +2381 -0
  12. data/lib/active_record/associations/has_one_association.rbc +2919 -0
  13. data/lib/active_record/associations/through_association_scope.rbc +3411 -0
  14. data/lib/active_record/attribute_methods.rbc +1473 -0
  15. data/lib/active_record/attribute_methods/before_type_cast.rbc +700 -0
  16. data/lib/active_record/attribute_methods/dirty.rbc +1627 -0
  17. data/lib/active_record/attribute_methods/primary_key.rb +6 -0
  18. data/lib/active_record/attribute_methods/primary_key.rbc +1017 -0
  19. data/lib/active_record/attribute_methods/query.rbc +786 -0
  20. data/lib/active_record/attribute_methods/read.rb +5 -3
  21. data/lib/active_record/attribute_methods/read.rbc +2614 -0
  22. data/lib/active_record/attribute_methods/time_zone_conversion.rbc +1148 -0
  23. data/lib/active_record/attribute_methods/write.rbc +998 -0
  24. data/lib/active_record/autosave_association.rbc +4143 -0
  25. data/lib/active_record/base.rb +2 -1
  26. data/lib/active_record/base.rbc +23583 -0
  27. data/lib/active_record/callbacks.rbc +1562 -0
  28. data/lib/active_record/connection_adapters/abstract/connection_pool.rbc +5041 -0
  29. data/lib/active_record/connection_adapters/abstract/connection_specification.rbc +1752 -0
  30. data/lib/active_record/connection_adapters/abstract/database_limits.rbc +877 -0
  31. data/lib/active_record/connection_adapters/abstract/database_statements.rbc +4704 -0
  32. data/lib/active_record/connection_adapters/abstract/query_cache.rbc +1519 -0
  33. data/lib/active_record/connection_adapters/abstract/quoting.rbc +1566 -0
  34. data/lib/active_record/connection_adapters/abstract/schema_definitions.rbc +10452 -0
  35. data/lib/active_record/connection_adapters/abstract/schema_statements.rbc +6987 -0
  36. data/lib/active_record/connection_adapters/abstract_adapter.rbc +2890 -0
  37. data/lib/active_record/connection_adapters/postgresql_adapter.rbc +16913 -0
  38. data/lib/active_record/connection_adapters/sqlite3_adapter.rbc +1265 -0
  39. data/lib/active_record/connection_adapters/sqlite_adapter.rbc +0 -0
  40. data/lib/active_record/counter_cache.rbc +1191 -0
  41. data/lib/active_record/dynamic_finder_match.rbc +1091 -0
  42. data/lib/active_record/dynamic_scope_match.rbc +514 -0
  43. data/lib/active_record/errors.rbc +1077 -0
  44. data/lib/active_record/locking/optimistic.rbc +2281 -0
  45. data/lib/active_record/locking/pessimistic.rbc +384 -0
  46. data/lib/active_record/log_subscriber.rbc +1055 -0
  47. data/lib/active_record/migration.rbc +8513 -0
  48. data/lib/active_record/named_scope.rbc +1347 -0
  49. data/lib/active_record/nested_attributes.rb +1 -0
  50. data/lib/active_record/nested_attributes.rbc +3599 -0
  51. data/lib/active_record/observer.rbc +941 -0
  52. data/lib/active_record/persistence.rbc +3631 -0
  53. data/lib/active_record/query_cache.rbc +760 -0
  54. data/lib/active_record/railtie.rbc +2109 -0
  55. data/lib/active_record/railties/controller_runtime.rbc +838 -0
  56. data/lib/active_record/reflection.rbc +6897 -0
  57. data/lib/active_record/relation.rbc +6006 -0
  58. data/lib/active_record/relation/batches.rb +1 -1
  59. data/lib/active_record/relation/batches.rbc +1078 -0
  60. data/lib/active_record/relation/calculations.rbc +4012 -0
  61. data/lib/active_record/relation/finder_methods.rb +14 -6
  62. data/lib/active_record/relation/finder_methods.rbc +5264 -0
  63. data/lib/active_record/relation/query_methods.rbc +6458 -0
  64. data/lib/active_record/relation/spawn_methods.rbc +3034 -0
  65. data/lib/active_record/serialization.rbc +1302 -0
  66. data/lib/active_record/serializers/xml_serializer.rbc +1866 -0
  67. data/lib/active_record/timestamp.rbc +1354 -0
  68. data/lib/active_record/transactions.rbc +3348 -0
  69. data/lib/active_record/validations.rbc +1597 -0
  70. data/lib/active_record/validations/associated.rbc +681 -0
  71. data/lib/active_record/validations/uniqueness.rbc +1803 -0
  72. data/lib/active_record/version.rb +2 -2
  73. data/lib/active_record/version.rbc +295 -0
  74. metadata +89 -16
@@ -0,0 +1,786 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 37
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 65
26
+ 49
27
+ 3
28
+ 2
29
+ 13
30
+ 99
31
+ 12
32
+ 7
33
+ 4
34
+ 12
35
+ 7
36
+ 5
37
+ 12
38
+ 65
39
+ 12
40
+ 49
41
+ 6
42
+ 4
43
+ 15
44
+ 49
45
+ 4
46
+ 0
47
+ 15
48
+ 2
49
+ 11
50
+ I
51
+ 6
52
+ I
53
+ 0
54
+ I
55
+ 0
56
+ I
57
+ 0
58
+ n
59
+ p
60
+ 7
61
+ s
62
+ 36
63
+ active_support/core_ext/object/blank
64
+ x
65
+ 7
66
+ require
67
+ x
68
+ 12
69
+ ActiveRecord
70
+ x
71
+ 11
72
+ open_module
73
+ x
74
+ 15
75
+ __module_init__
76
+ M
77
+ 1
78
+ n
79
+ n
80
+ x
81
+ 12
82
+ ActiveRecord
83
+ i
84
+ 28
85
+ 5
86
+ 66
87
+ 99
88
+ 7
89
+ 0
90
+ 65
91
+ 49
92
+ 1
93
+ 2
94
+ 13
95
+ 99
96
+ 12
97
+ 7
98
+ 2
99
+ 12
100
+ 7
101
+ 3
102
+ 12
103
+ 65
104
+ 12
105
+ 49
106
+ 4
107
+ 4
108
+ 15
109
+ 49
110
+ 2
111
+ 0
112
+ 11
113
+ I
114
+ 6
115
+ I
116
+ 0
117
+ I
118
+ 0
119
+ I
120
+ 0
121
+ n
122
+ p
123
+ 5
124
+ x
125
+ 16
126
+ AttributeMethods
127
+ x
128
+ 11
129
+ open_module
130
+ x
131
+ 15
132
+ __module_init__
133
+ M
134
+ 1
135
+ n
136
+ n
137
+ x
138
+ 16
139
+ AttributeMethods
140
+ i
141
+ 28
142
+ 5
143
+ 66
144
+ 99
145
+ 7
146
+ 0
147
+ 65
148
+ 49
149
+ 1
150
+ 2
151
+ 13
152
+ 99
153
+ 12
154
+ 7
155
+ 2
156
+ 12
157
+ 7
158
+ 3
159
+ 12
160
+ 65
161
+ 12
162
+ 49
163
+ 4
164
+ 4
165
+ 15
166
+ 49
167
+ 2
168
+ 0
169
+ 11
170
+ I
171
+ 6
172
+ I
173
+ 0
174
+ I
175
+ 0
176
+ I
177
+ 0
178
+ n
179
+ p
180
+ 5
181
+ x
182
+ 5
183
+ Query
184
+ x
185
+ 11
186
+ open_module
187
+ x
188
+ 15
189
+ __module_init__
190
+ M
191
+ 1
192
+ n
193
+ n
194
+ x
195
+ 5
196
+ Query
197
+ i
198
+ 53
199
+ 5
200
+ 66
201
+ 5
202
+ 45
203
+ 0
204
+ 1
205
+ 43
206
+ 2
207
+ 47
208
+ 49
209
+ 3
210
+ 1
211
+ 15
212
+ 5
213
+ 56
214
+ 4
215
+ 47
216
+ 50
217
+ 5
218
+ 0
219
+ 15
220
+ 99
221
+ 7
222
+ 6
223
+ 7
224
+ 7
225
+ 65
226
+ 67
227
+ 49
228
+ 8
229
+ 0
230
+ 49
231
+ 9
232
+ 4
233
+ 15
234
+ 5
235
+ 48
236
+ 10
237
+ 15
238
+ 99
239
+ 7
240
+ 11
241
+ 7
242
+ 12
243
+ 65
244
+ 67
245
+ 49
246
+ 8
247
+ 0
248
+ 49
249
+ 9
250
+ 4
251
+ 11
252
+ I
253
+ 5
254
+ I
255
+ 0
256
+ I
257
+ 0
258
+ I
259
+ 0
260
+ n
261
+ p
262
+ 13
263
+ x
264
+ 13
265
+ ActiveSupport
266
+ n
267
+ x
268
+ 7
269
+ Concern
270
+ x
271
+ 6
272
+ extend
273
+ M
274
+ 1
275
+ p
276
+ 2
277
+ x
278
+ 9
279
+ for_block
280
+ t
281
+ n
282
+ x
283
+ 5
284
+ Query
285
+ i
286
+ 9
287
+ 5
288
+ 7
289
+ 0
290
+ 64
291
+ 47
292
+ 49
293
+ 1
294
+ 1
295
+ 11
296
+ I
297
+ 3
298
+ I
299
+ 0
300
+ I
301
+ 0
302
+ I
303
+ 0
304
+ I
305
+ -2
306
+ p
307
+ 2
308
+ s
309
+ 1
310
+ ?
311
+ x
312
+ 23
313
+ attribute_method_suffix
314
+ p
315
+ 3
316
+ I
317
+ 0
318
+ I
319
+ 9
320
+ I
321
+ 9
322
+ x
323
+ 94
324
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/query.rb
325
+ p
326
+ 0
327
+ x
328
+ 8
329
+ included
330
+ x
331
+ 15
332
+ query_attribute
333
+ M
334
+ 1
335
+ n
336
+ n
337
+ x
338
+ 15
339
+ query_attribute
340
+ i
341
+ 161
342
+ 5
343
+ 20
344
+ 0
345
+ 47
346
+ 49
347
+ 0
348
+ 1
349
+ 19
350
+ 1
351
+ 9
352
+ 159
353
+ 5
354
+ 49
355
+ 1
356
+ 0
357
+ 49
358
+ 2
359
+ 0
360
+ 20
361
+ 0
362
+ 49
363
+ 3
364
+ 1
365
+ 19
366
+ 2
367
+ 15
368
+ 20
369
+ 2
370
+ 49
371
+ 4
372
+ 0
373
+ 9
374
+ 126
375
+ 45
376
+ 5
377
+ 6
378
+ 20
379
+ 1
380
+ 86
381
+ 7
382
+ 13
383
+ 10
384
+ 73
385
+ 15
386
+ 20
387
+ 1
388
+ 7
389
+ 8
390
+ 13
391
+ 70
392
+ 9
393
+ 64
394
+ 15
395
+ 44
396
+ 43
397
+ 9
398
+ 7
399
+ 10
400
+ 78
401
+ 49
402
+ 11
403
+ 2
404
+ 6
405
+ 8
406
+ 49
407
+ 12
408
+ 1
409
+ 10
410
+ 72
411
+ 2
412
+ 8
413
+ 73
414
+ 3
415
+ 9
416
+ 91
417
+ 20
418
+ 1
419
+ 49
420
+ 13
421
+ 0
422
+ 49
423
+ 14
424
+ 0
425
+ 10
426
+ 88
427
+ 2
428
+ 8
429
+ 89
430
+ 3
431
+ 8
432
+ 124
433
+ 45
434
+ 15
435
+ 16
436
+ 43
437
+ 17
438
+ 43
439
+ 18
440
+ 43
441
+ 19
442
+ 20
443
+ 1
444
+ 49
445
+ 20
446
+ 1
447
+ 9
448
+ 111
449
+ 3
450
+ 11
451
+ 8
452
+ 112
453
+ 1
454
+ 15
455
+ 20
456
+ 1
457
+ 49
458
+ 21
459
+ 0
460
+ 10
461
+ 123
462
+ 2
463
+ 8
464
+ 124
465
+ 3
466
+ 8
467
+ 157
468
+ 20
469
+ 2
470
+ 49
471
+ 22
472
+ 0
473
+ 9
474
+ 146
475
+ 20
476
+ 1
477
+ 49
478
+ 14
479
+ 0
480
+ 10
481
+ 143
482
+ 2
483
+ 8
484
+ 144
485
+ 3
486
+ 8
487
+ 157
488
+ 20
489
+ 1
490
+ 49
491
+ 21
492
+ 0
493
+ 10
494
+ 156
495
+ 2
496
+ 8
497
+ 157
498
+ 3
499
+ 8
500
+ 160
501
+ 3
502
+ 11
503
+ I
504
+ 7
505
+ I
506
+ 3
507
+ I
508
+ 1
509
+ I
510
+ 1
511
+ n
512
+ p
513
+ 23
514
+ x
515
+ 14
516
+ read_attribute
517
+ x
518
+ 5
519
+ class
520
+ x
521
+ 12
522
+ columns_hash
523
+ x
524
+ 2
525
+ []
526
+ x
527
+ 4
528
+ nil?
529
+ x
530
+ 7
531
+ Numeric
532
+ n
533
+ x
534
+ 3
535
+ ===
536
+ n
537
+ x
538
+ 6
539
+ Regexp
540
+ s
541
+ 6
542
+ [^0-9]
543
+ x
544
+ 3
545
+ new
546
+ x
547
+ 2
548
+ =~
549
+ x
550
+ 4
551
+ to_i
552
+ x
553
+ 5
554
+ zero?
555
+ x
556
+ 12
557
+ ActiveRecord
558
+ n
559
+ x
560
+ 18
561
+ ConnectionAdapters
562
+ x
563
+ 6
564
+ Column
565
+ x
566
+ 12
567
+ FALSE_VALUES
568
+ x
569
+ 8
570
+ include?
571
+ x
572
+ 6
573
+ blank?
574
+ x
575
+ 7
576
+ number?
577
+ p
578
+ 25
579
+ I
580
+ -1
581
+ I
582
+ c
583
+ I
584
+ 0
585
+ I
586
+ d
587
+ I
588
+ b
589
+ I
590
+ 10
591
+ I
592
+ 1a
593
+ I
594
+ 11
595
+ I
596
+ 21
597
+ I
598
+ 12
599
+ I
600
+ 4b
601
+ I
602
+ 13
603
+ I
604
+ 5b
605
+ I
606
+ 15
607
+ I
608
+ 71
609
+ I
610
+ 16
611
+ I
612
+ 7e
613
+ I
614
+ 18
615
+ I
616
+ 85
617
+ I
618
+ 19
619
+ I
620
+ 92
621
+ I
622
+ 1b
623
+ I
624
+ 9f
625
+ I
626
+ e
627
+ I
628
+ a1
629
+ x
630
+ 94
631
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/query.rb
632
+ p
633
+ 3
634
+ x
635
+ 9
636
+ attr_name
637
+ x
638
+ 5
639
+ value
640
+ x
641
+ 6
642
+ column
643
+ x
644
+ 17
645
+ method_visibility
646
+ x
647
+ 15
648
+ add_defn_method
649
+ x
650
+ 7
651
+ private
652
+ x
653
+ 10
654
+ attribute?
655
+ M
656
+ 1
657
+ n
658
+ n
659
+ x
660
+ 10
661
+ attribute?
662
+ i
663
+ 8
664
+ 5
665
+ 20
666
+ 0
667
+ 47
668
+ 49
669
+ 0
670
+ 1
671
+ 11
672
+ I
673
+ 3
674
+ I
675
+ 1
676
+ I
677
+ 1
678
+ I
679
+ 1
680
+ n
681
+ p
682
+ 1
683
+ x
684
+ 15
685
+ query_attribute
686
+ p
687
+ 5
688
+ I
689
+ -1
690
+ I
691
+ 22
692
+ I
693
+ 0
694
+ I
695
+ 23
696
+ I
697
+ 8
698
+ x
699
+ 94
700
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/query.rb
701
+ p
702
+ 1
703
+ x
704
+ 14
705
+ attribute_name
706
+ p
707
+ 11
708
+ I
709
+ 2
710
+ I
711
+ 6
712
+ I
713
+ d
714
+ I
715
+ 8
716
+ I
717
+ 15
718
+ I
719
+ c
720
+ I
721
+ 23
722
+ I
723
+ 20
724
+ I
725
+ 27
726
+ I
727
+ 22
728
+ I
729
+ 35
730
+ x
731
+ 94
732
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/query.rb
733
+ p
734
+ 0
735
+ x
736
+ 13
737
+ attach_method
738
+ p
739
+ 3
740
+ I
741
+ 2
742
+ I
743
+ 5
744
+ I
745
+ 1c
746
+ x
747
+ 94
748
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/query.rb
749
+ p
750
+ 0
751
+ x
752
+ 13
753
+ attach_method
754
+ p
755
+ 3
756
+ I
757
+ 2
758
+ I
759
+ 4
760
+ I
761
+ 1c
762
+ x
763
+ 94
764
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/query.rb
765
+ p
766
+ 0
767
+ x
768
+ 13
769
+ attach_method
770
+ p
771
+ 5
772
+ I
773
+ 0
774
+ I
775
+ 1
776
+ I
777
+ 9
778
+ I
779
+ 3
780
+ I
781
+ 25
782
+ x
783
+ 94
784
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/query.rb
785
+ p
786
+ 0