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,941 @@
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
+ 39
63
+ active_support/core_ext/class/attribute
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
+ 33
85
+ 5
86
+ 66
87
+ 99
88
+ 7
89
+ 0
90
+ 45
91
+ 1
92
+ 2
93
+ 43
94
+ 0
95
+ 65
96
+ 49
97
+ 3
98
+ 3
99
+ 13
100
+ 99
101
+ 12
102
+ 7
103
+ 4
104
+ 12
105
+ 7
106
+ 5
107
+ 12
108
+ 65
109
+ 12
110
+ 49
111
+ 6
112
+ 4
113
+ 15
114
+ 49
115
+ 4
116
+ 0
117
+ 11
118
+ I
119
+ 6
120
+ I
121
+ 0
122
+ I
123
+ 0
124
+ I
125
+ 0
126
+ n
127
+ p
128
+ 7
129
+ x
130
+ 8
131
+ Observer
132
+ x
133
+ 11
134
+ ActiveModel
135
+ n
136
+ x
137
+ 10
138
+ open_class
139
+ x
140
+ 14
141
+ __class_init__
142
+ M
143
+ 1
144
+ n
145
+ n
146
+ x
147
+ 8
148
+ Observer
149
+ i
150
+ 62
151
+ 5
152
+ 66
153
+ 99
154
+ 7
155
+ 0
156
+ 7
157
+ 1
158
+ 65
159
+ 67
160
+ 49
161
+ 2
162
+ 0
163
+ 49
164
+ 3
165
+ 4
166
+ 15
167
+ 5
168
+ 48
169
+ 4
170
+ 15
171
+ 99
172
+ 7
173
+ 5
174
+ 7
175
+ 6
176
+ 65
177
+ 67
178
+ 49
179
+ 2
180
+ 0
181
+ 49
182
+ 3
183
+ 4
184
+ 15
185
+ 99
186
+ 7
187
+ 7
188
+ 7
189
+ 8
190
+ 65
191
+ 67
192
+ 49
193
+ 2
194
+ 0
195
+ 49
196
+ 3
197
+ 4
198
+ 15
199
+ 99
200
+ 7
201
+ 9
202
+ 7
203
+ 10
204
+ 65
205
+ 67
206
+ 49
207
+ 2
208
+ 0
209
+ 49
210
+ 3
211
+ 4
212
+ 11
213
+ I
214
+ 5
215
+ I
216
+ 0
217
+ I
218
+ 0
219
+ I
220
+ 0
221
+ n
222
+ p
223
+ 11
224
+ x
225
+ 10
226
+ initialize
227
+ M
228
+ 1
229
+ n
230
+ n
231
+ x
232
+ 10
233
+ initialize
234
+ i
235
+ 13
236
+ 54
237
+ 89
238
+ 0
239
+ 15
240
+ 5
241
+ 48
242
+ 1
243
+ 56
244
+ 2
245
+ 50
246
+ 3
247
+ 0
248
+ 11
249
+ I
250
+ 2
251
+ I
252
+ 0
253
+ I
254
+ 0
255
+ I
256
+ 0
257
+ n
258
+ p
259
+ 4
260
+ x
261
+ 10
262
+ initialize
263
+ x
264
+ 20
265
+ observed_descendants
266
+ M
267
+ 1
268
+ p
269
+ 2
270
+ x
271
+ 9
272
+ for_block
273
+ t
274
+ n
275
+ x
276
+ 10
277
+ initialize
278
+ i
279
+ 12
280
+ 57
281
+ 19
282
+ 0
283
+ 15
284
+ 5
285
+ 20
286
+ 0
287
+ 47
288
+ 49
289
+ 0
290
+ 1
291
+ 11
292
+ I
293
+ 4
294
+ I
295
+ 1
296
+ I
297
+ 1
298
+ I
299
+ 1
300
+ n
301
+ p
302
+ 1
303
+ x
304
+ 13
305
+ add_observer!
306
+ p
307
+ 3
308
+ I
309
+ 0
310
+ I
311
+ 5f
312
+ I
313
+ c
314
+ x
315
+ 79
316
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
317
+ p
318
+ 1
319
+ x
320
+ 5
321
+ klass
322
+ x
323
+ 4
324
+ each
325
+ p
326
+ 7
327
+ I
328
+ -1
329
+ I
330
+ 5d
331
+ I
332
+ 0
333
+ I
334
+ 5e
335
+ I
336
+ 4
337
+ I
338
+ 5f
339
+ I
340
+ d
341
+ x
342
+ 79
343
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
344
+ p
345
+ 0
346
+ x
347
+ 17
348
+ method_visibility
349
+ x
350
+ 15
351
+ add_defn_method
352
+ x
353
+ 9
354
+ protected
355
+ x
356
+ 20
357
+ observed_descendants
358
+ M
359
+ 1
360
+ n
361
+ n
362
+ x
363
+ 20
364
+ observed_descendants
365
+ i
366
+ 11
367
+ 5
368
+ 48
369
+ 0
370
+ 35
371
+ 0
372
+ 56
373
+ 1
374
+ 50
375
+ 2
376
+ 1
377
+ 11
378
+ I
379
+ 3
380
+ I
381
+ 0
382
+ I
383
+ 0
384
+ I
385
+ 0
386
+ n
387
+ p
388
+ 3
389
+ x
390
+ 16
391
+ observed_classes
392
+ M
393
+ 1
394
+ p
395
+ 2
396
+ x
397
+ 9
398
+ for_block
399
+ t
400
+ n
401
+ x
402
+ 20
403
+ observed_descendants
404
+ i
405
+ 10
406
+ 57
407
+ 19
408
+ 0
409
+ 15
410
+ 20
411
+ 0
412
+ 49
413
+ 0
414
+ 0
415
+ 11
416
+ I
417
+ 3
418
+ I
419
+ 1
420
+ I
421
+ 1
422
+ I
423
+ 1
424
+ n
425
+ p
426
+ 1
427
+ x
428
+ 11
429
+ descendants
430
+ p
431
+ 3
432
+ I
433
+ 0
434
+ I
435
+ 65
436
+ I
437
+ a
438
+ x
439
+ 79
440
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
441
+ p
442
+ 1
443
+ x
444
+ 5
445
+ klass
446
+ x
447
+ 3
448
+ sum
449
+ p
450
+ 5
451
+ I
452
+ -1
453
+ I
454
+ 64
455
+ I
456
+ 0
457
+ I
458
+ 65
459
+ I
460
+ b
461
+ x
462
+ 79
463
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
464
+ p
465
+ 0
466
+ x
467
+ 13
468
+ add_observer!
469
+ M
470
+ 1
471
+ n
472
+ n
473
+ x
474
+ 13
475
+ add_observer!
476
+ i
477
+ 12
478
+ 54
479
+ 89
480
+ 0
481
+ 15
482
+ 5
483
+ 20
484
+ 0
485
+ 47
486
+ 49
487
+ 1
488
+ 1
489
+ 11
490
+ I
491
+ 3
492
+ I
493
+ 1
494
+ I
495
+ 1
496
+ I
497
+ 1
498
+ n
499
+ p
500
+ 2
501
+ x
502
+ 13
503
+ add_observer!
504
+ x
505
+ 16
506
+ define_callbacks
507
+ p
508
+ 7
509
+ I
510
+ -1
511
+ I
512
+ 68
513
+ I
514
+ 0
515
+ I
516
+ 69
517
+ I
518
+ 4
519
+ I
520
+ 6a
521
+ I
522
+ c
523
+ x
524
+ 79
525
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
526
+ p
527
+ 1
528
+ x
529
+ 5
530
+ klass
531
+ x
532
+ 16
533
+ define_callbacks
534
+ M
535
+ 1
536
+ n
537
+ n
538
+ x
539
+ 16
540
+ define_callbacks
541
+ i
542
+ 40
543
+ 5
544
+ 19
545
+ 1
546
+ 15
547
+ 20
548
+ 1
549
+ 49
550
+ 0
551
+ 0
552
+ 49
553
+ 1
554
+ 0
555
+ 49
556
+ 2
557
+ 0
558
+ 7
559
+ 3
560
+ 64
561
+ 7
562
+ 4
563
+ 64
564
+ 49
565
+ 5
566
+ 2
567
+ 19
568
+ 2
569
+ 15
570
+ 45
571
+ 6
572
+ 7
573
+ 43
574
+ 8
575
+ 43
576
+ 9
577
+ 56
578
+ 10
579
+ 50
580
+ 11
581
+ 0
582
+ 11
583
+ I
584
+ 6
585
+ I
586
+ 3
587
+ I
588
+ 1
589
+ I
590
+ 1
591
+ n
592
+ p
593
+ 12
594
+ x
595
+ 5
596
+ class
597
+ x
598
+ 4
599
+ name
600
+ x
601
+ 10
602
+ underscore
603
+ s
604
+ 1
605
+ /
606
+ s
607
+ 2
608
+ __
609
+ x
610
+ 4
611
+ gsub
612
+ x
613
+ 12
614
+ ActiveRecord
615
+ n
616
+ x
617
+ 9
618
+ Callbacks
619
+ x
620
+ 9
621
+ CALLBACKS
622
+ M
623
+ 1
624
+ p
625
+ 2
626
+ x
627
+ 9
628
+ for_block
629
+ t
630
+ n
631
+ x
632
+ 16
633
+ define_callbacks
634
+ i
635
+ 80
636
+ 57
637
+ 19
638
+ 0
639
+ 15
640
+ 5
641
+ 20
642
+ 0
643
+ 47
644
+ 49
645
+ 0
646
+ 1
647
+ 9
648
+ 16
649
+ 1
650
+ 8
651
+ 18
652
+ 1
653
+ 11
654
+ 15
655
+ 7
656
+ 1
657
+ 21
658
+ 1
659
+ 2
660
+ 47
661
+ 101
662
+ 2
663
+ 7
664
+ 3
665
+ 20
666
+ 0
667
+ 47
668
+ 101
669
+ 2
670
+ 63
671
+ 4
672
+ 47
673
+ 49
674
+ 4
675
+ 0
676
+ 19
677
+ 1
678
+ 15
679
+ 21
680
+ 1
681
+ 0
682
+ 20
683
+ 1
684
+ 49
685
+ 0
686
+ 1
687
+ 9
688
+ 56
689
+ 1
690
+ 8
691
+ 79
692
+ 21
693
+ 1
694
+ 0
695
+ 7
696
+ 5
697
+ 20
698
+ 1
699
+ 56
700
+ 6
701
+ 50
702
+ 7
703
+ 2
704
+ 15
705
+ 21
706
+ 1
707
+ 0
708
+ 20
709
+ 0
710
+ 20
711
+ 1
712
+ 49
713
+ 7
714
+ 2
715
+ 11
716
+ I
717
+ 7
718
+ I
719
+ 2
720
+ I
721
+ 1
722
+ I
723
+ 1
724
+ n
725
+ p
726
+ 8
727
+ x
728
+ 11
729
+ respond_to?
730
+ s
731
+ 8
732
+ _notify_
733
+ x
734
+ 4
735
+ to_s
736
+ s
737
+ 5
738
+ _for_
739
+ x
740
+ 6
741
+ to_sym
742
+ x
743
+ 13
744
+ define_method
745
+ M
746
+ 1
747
+ p
748
+ 2
749
+ x
750
+ 9
751
+ for_block
752
+ t
753
+ n
754
+ x
755
+ 16
756
+ define_callbacks
757
+ i
758
+ 11
759
+ 21
760
+ 2
761
+ 1
762
+ 21
763
+ 1
764
+ 0
765
+ 5
766
+ 49
767
+ 0
768
+ 2
769
+ 11
770
+ I
771
+ 4
772
+ I
773
+ 0
774
+ I
775
+ 0
776
+ I
777
+ 0
778
+ I
779
+ -2
780
+ p
781
+ 1
782
+ x
783
+ 4
784
+ send
785
+ p
786
+ 3
787
+ I
788
+ 0
789
+ I
790
+ 76
791
+ I
792
+ b
793
+ x
794
+ 79
795
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
796
+ p
797
+ 0
798
+ x
799
+ 4
800
+ send
801
+ p
802
+ 13
803
+ I
804
+ 0
805
+ I
806
+ 71
807
+ I
808
+ 4
809
+ I
810
+ 72
811
+ I
812
+ 13
813
+ I
814
+ 73
815
+ I
816
+ 2b
817
+ I
818
+ 74
819
+ I
820
+ 38
821
+ I
822
+ 75
823
+ I
824
+ 45
825
+ I
826
+ 78
827
+ I
828
+ 50
829
+ x
830
+ 79
831
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
832
+ p
833
+ 2
834
+ x
835
+ 8
836
+ callback
837
+ x
838
+ 13
839
+ callback_meth
840
+ x
841
+ 4
842
+ each
843
+ p
844
+ 9
845
+ I
846
+ -1
847
+ I
848
+ 6d
849
+ I
850
+ 0
851
+ I
852
+ 6e
853
+ I
854
+ 4
855
+ I
856
+ 6f
857
+ I
858
+ 1b
859
+ I
860
+ 71
861
+ I
862
+ 28
863
+ x
864
+ 79
865
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
866
+ p
867
+ 3
868
+ x
869
+ 5
870
+ klass
871
+ x
872
+ 8
873
+ observer
874
+ x
875
+ 13
876
+ observer_name
877
+ p
878
+ 11
879
+ I
880
+ 2
881
+ I
882
+ 5d
883
+ I
884
+ 10
885
+ I
886
+ 62
887
+ I
888
+ 14
889
+ I
890
+ 64
891
+ I
892
+ 22
893
+ I
894
+ 68
895
+ I
896
+ 30
897
+ I
898
+ 6d
899
+ I
900
+ 3e
901
+ x
902
+ 79
903
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
904
+ p
905
+ 0
906
+ x
907
+ 13
908
+ attach_method
909
+ p
910
+ 3
911
+ I
912
+ 2
913
+ I
914
+ 5b
915
+ I
916
+ 21
917
+ x
918
+ 79
919
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
920
+ p
921
+ 0
922
+ x
923
+ 13
924
+ attach_method
925
+ p
926
+ 5
927
+ I
928
+ 0
929
+ I
930
+ 1
931
+ I
932
+ 9
933
+ I
934
+ 3
935
+ I
936
+ 25
937
+ x
938
+ 79
939
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/observer.rb
940
+ p
941
+ 0