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,1077 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 28
13
+ 99
14
+ 7
15
+ 0
16
+ 65
17
+ 49
18
+ 1
19
+ 2
20
+ 13
21
+ 99
22
+ 12
23
+ 7
24
+ 2
25
+ 12
26
+ 7
27
+ 3
28
+ 12
29
+ 65
30
+ 12
31
+ 49
32
+ 4
33
+ 4
34
+ 15
35
+ 49
36
+ 2
37
+ 0
38
+ 15
39
+ 2
40
+ 11
41
+ I
42
+ 6
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ n
50
+ p
51
+ 5
52
+ x
53
+ 12
54
+ ActiveRecord
55
+ x
56
+ 11
57
+ open_module
58
+ x
59
+ 15
60
+ __module_init__
61
+ M
62
+ 1
63
+ n
64
+ n
65
+ x
66
+ 12
67
+ ActiveRecord
68
+ i
69
+ 349
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 45
76
+ 1
77
+ 2
78
+ 65
79
+ 49
80
+ 3
81
+ 3
82
+ 15
83
+ 1
84
+ 15
85
+ 99
86
+ 7
87
+ 4
88
+ 45
89
+ 0
90
+ 5
91
+ 65
92
+ 49
93
+ 3
94
+ 3
95
+ 15
96
+ 1
97
+ 15
98
+ 99
99
+ 7
100
+ 6
101
+ 45
102
+ 0
103
+ 7
104
+ 65
105
+ 49
106
+ 3
107
+ 3
108
+ 15
109
+ 1
110
+ 15
111
+ 99
112
+ 7
113
+ 8
114
+ 45
115
+ 0
116
+ 9
117
+ 65
118
+ 49
119
+ 3
120
+ 3
121
+ 15
122
+ 1
123
+ 15
124
+ 99
125
+ 7
126
+ 10
127
+ 45
128
+ 0
129
+ 11
130
+ 65
131
+ 49
132
+ 3
133
+ 3
134
+ 15
135
+ 1
136
+ 15
137
+ 99
138
+ 7
139
+ 12
140
+ 45
141
+ 0
142
+ 13
143
+ 65
144
+ 49
145
+ 3
146
+ 3
147
+ 15
148
+ 1
149
+ 15
150
+ 99
151
+ 7
152
+ 14
153
+ 45
154
+ 0
155
+ 15
156
+ 65
157
+ 49
158
+ 3
159
+ 3
160
+ 15
161
+ 1
162
+ 15
163
+ 99
164
+ 7
165
+ 16
166
+ 45
167
+ 0
168
+ 17
169
+ 65
170
+ 49
171
+ 3
172
+ 3
173
+ 15
174
+ 1
175
+ 15
176
+ 99
177
+ 7
178
+ 18
179
+ 45
180
+ 0
181
+ 19
182
+ 65
183
+ 49
184
+ 3
185
+ 3
186
+ 15
187
+ 1
188
+ 15
189
+ 99
190
+ 7
191
+ 20
192
+ 45
193
+ 0
194
+ 21
195
+ 65
196
+ 49
197
+ 3
198
+ 3
199
+ 15
200
+ 1
201
+ 15
202
+ 99
203
+ 7
204
+ 22
205
+ 45
206
+ 0
207
+ 23
208
+ 65
209
+ 49
210
+ 3
211
+ 3
212
+ 15
213
+ 1
214
+ 15
215
+ 99
216
+ 7
217
+ 24
218
+ 45
219
+ 20
220
+ 25
221
+ 65
222
+ 49
223
+ 3
224
+ 3
225
+ 13
226
+ 99
227
+ 12
228
+ 7
229
+ 26
230
+ 12
231
+ 7
232
+ 27
233
+ 12
234
+ 65
235
+ 12
236
+ 49
237
+ 28
238
+ 4
239
+ 15
240
+ 49
241
+ 26
242
+ 0
243
+ 15
244
+ 99
245
+ 7
246
+ 29
247
+ 45
248
+ 24
249
+ 30
250
+ 65
251
+ 49
252
+ 3
253
+ 3
254
+ 15
255
+ 1
256
+ 15
257
+ 99
258
+ 7
259
+ 31
260
+ 45
261
+ 24
262
+ 32
263
+ 65
264
+ 49
265
+ 3
266
+ 3
267
+ 15
268
+ 1
269
+ 15
270
+ 99
271
+ 7
272
+ 33
273
+ 45
274
+ 0
275
+ 34
276
+ 65
277
+ 49
278
+ 3
279
+ 3
280
+ 15
281
+ 1
282
+ 15
283
+ 99
284
+ 7
285
+ 35
286
+ 45
287
+ 0
288
+ 36
289
+ 65
290
+ 49
291
+ 3
292
+ 3
293
+ 15
294
+ 1
295
+ 15
296
+ 99
297
+ 7
298
+ 37
299
+ 45
300
+ 0
301
+ 38
302
+ 65
303
+ 49
304
+ 3
305
+ 3
306
+ 15
307
+ 1
308
+ 15
309
+ 99
310
+ 7
311
+ 39
312
+ 45
313
+ 0
314
+ 40
315
+ 65
316
+ 49
317
+ 3
318
+ 3
319
+ 15
320
+ 1
321
+ 15
322
+ 99
323
+ 7
324
+ 41
325
+ 45
326
+ 0
327
+ 42
328
+ 65
329
+ 49
330
+ 3
331
+ 3
332
+ 15
333
+ 1
334
+ 15
335
+ 99
336
+ 7
337
+ 43
338
+ 45
339
+ 0
340
+ 44
341
+ 65
342
+ 49
343
+ 3
344
+ 3
345
+ 15
346
+ 1
347
+ 15
348
+ 99
349
+ 7
350
+ 45
351
+ 45
352
+ 46
353
+ 47
354
+ 65
355
+ 49
356
+ 3
357
+ 3
358
+ 15
359
+ 1
360
+ 15
361
+ 99
362
+ 7
363
+ 48
364
+ 45
365
+ 0
366
+ 49
367
+ 65
368
+ 49
369
+ 3
370
+ 3
371
+ 13
372
+ 99
373
+ 12
374
+ 7
375
+ 26
376
+ 12
377
+ 7
378
+ 50
379
+ 12
380
+ 65
381
+ 12
382
+ 49
383
+ 28
384
+ 4
385
+ 15
386
+ 49
387
+ 26
388
+ 0
389
+ 15
390
+ 99
391
+ 7
392
+ 51
393
+ 45
394
+ 0
395
+ 52
396
+ 65
397
+ 49
398
+ 3
399
+ 3
400
+ 13
401
+ 99
402
+ 12
403
+ 7
404
+ 26
405
+ 12
406
+ 7
407
+ 53
408
+ 12
409
+ 65
410
+ 12
411
+ 49
412
+ 28
413
+ 4
414
+ 15
415
+ 49
416
+ 26
417
+ 0
418
+ 11
419
+ I
420
+ 6
421
+ I
422
+ 0
423
+ I
424
+ 0
425
+ I
426
+ 0
427
+ n
428
+ p
429
+ 54
430
+ x
431
+ 17
432
+ ActiveRecordError
433
+ x
434
+ 13
435
+ StandardError
436
+ n
437
+ x
438
+ 10
439
+ open_class
440
+ x
441
+ 16
442
+ SubclassNotFound
443
+ n
444
+ x
445
+ 23
446
+ AssociationTypeMismatch
447
+ n
448
+ x
449
+ 25
450
+ SerializationTypeMismatch
451
+ n
452
+ x
453
+ 19
454
+ AdapterNotSpecified
455
+ n
456
+ x
457
+ 15
458
+ AdapterNotFound
459
+ n
460
+ x
461
+ 24
462
+ ConnectionNotEstablished
463
+ n
464
+ x
465
+ 14
466
+ RecordNotFound
467
+ n
468
+ x
469
+ 14
470
+ RecordNotSaved
471
+ n
472
+ x
473
+ 16
474
+ StatementInvalid
475
+ n
476
+ x
477
+ 11
478
+ ThrowResult
479
+ n
480
+ x
481
+ 24
482
+ WrappedDatabaseException
483
+ n
484
+ x
485
+ 14
486
+ __class_init__
487
+ M
488
+ 1
489
+ n
490
+ n
491
+ x
492
+ 24
493
+ WrappedDatabaseException
494
+ i
495
+ 24
496
+ 5
497
+ 66
498
+ 5
499
+ 7
500
+ 0
501
+ 47
502
+ 49
503
+ 1
504
+ 1
505
+ 15
506
+ 99
507
+ 7
508
+ 2
509
+ 7
510
+ 3
511
+ 65
512
+ 67
513
+ 49
514
+ 4
515
+ 0
516
+ 49
517
+ 5
518
+ 4
519
+ 11
520
+ I
521
+ 5
522
+ I
523
+ 0
524
+ I
525
+ 0
526
+ I
527
+ 0
528
+ n
529
+ p
530
+ 6
531
+ x
532
+ 18
533
+ original_exception
534
+ x
535
+ 11
536
+ attr_reader
537
+ x
538
+ 10
539
+ initialize
540
+ M
541
+ 1
542
+ n
543
+ n
544
+ x
545
+ 10
546
+ initialize
547
+ i
548
+ 12
549
+ 20
550
+ 0
551
+ 54
552
+ 52
553
+ 0
554
+ 1
555
+ 15
556
+ 20
557
+ 1
558
+ 38
559
+ 1
560
+ 11
561
+ I
562
+ 4
563
+ I
564
+ 2
565
+ I
566
+ 2
567
+ I
568
+ 2
569
+ n
570
+ p
571
+ 2
572
+ x
573
+ 10
574
+ initialize
575
+ x
576
+ 19
577
+ @original_exception
578
+ p
579
+ 7
580
+ I
581
+ -1
582
+ I
583
+ 46
584
+ I
585
+ 0
586
+ I
587
+ 47
588
+ I
589
+ 7
590
+ I
591
+ 48
592
+ I
593
+ c
594
+ x
595
+ 77
596
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
597
+ p
598
+ 2
599
+ x
600
+ 7
601
+ message
602
+ x
603
+ 18
604
+ original_exception
605
+ x
606
+ 17
607
+ method_visibility
608
+ x
609
+ 15
610
+ add_defn_method
611
+ p
612
+ 5
613
+ I
614
+ 2
615
+ I
616
+ 44
617
+ I
618
+ a
619
+ I
620
+ 46
621
+ I
622
+ 18
623
+ x
624
+ 77
625
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
626
+ p
627
+ 0
628
+ x
629
+ 13
630
+ attach_method
631
+ x
632
+ 15
633
+ RecordNotUnique
634
+ n
635
+ x
636
+ 17
637
+ InvalidForeignKey
638
+ n
639
+ x
640
+ 24
641
+ PreparedStatementInvalid
642
+ n
643
+ x
644
+ 16
645
+ StaleObjectError
646
+ n
647
+ x
648
+ 18
649
+ ConfigurationError
650
+ n
651
+ x
652
+ 14
653
+ ReadOnlyRecord
654
+ n
655
+ x
656
+ 8
657
+ Rollback
658
+ n
659
+ x
660
+ 23
661
+ DangerousAttributeError
662
+ n
663
+ x
664
+ 21
665
+ UnknownAttributeError
666
+ x
667
+ 13
668
+ NoMethodError
669
+ n
670
+ x
671
+ 24
672
+ AttributeAssignmentError
673
+ n
674
+ M
675
+ 1
676
+ n
677
+ n
678
+ x
679
+ 24
680
+ AttributeAssignmentError
681
+ i
682
+ 26
683
+ 5
684
+ 66
685
+ 5
686
+ 7
687
+ 0
688
+ 7
689
+ 1
690
+ 47
691
+ 49
692
+ 2
693
+ 2
694
+ 15
695
+ 99
696
+ 7
697
+ 3
698
+ 7
699
+ 4
700
+ 65
701
+ 67
702
+ 49
703
+ 5
704
+ 0
705
+ 49
706
+ 6
707
+ 4
708
+ 11
709
+ I
710
+ 5
711
+ I
712
+ 0
713
+ I
714
+ 0
715
+ I
716
+ 0
717
+ n
718
+ p
719
+ 7
720
+ x
721
+ 9
722
+ exception
723
+ x
724
+ 9
725
+ attribute
726
+ x
727
+ 11
728
+ attr_reader
729
+ x
730
+ 10
731
+ initialize
732
+ M
733
+ 1
734
+ n
735
+ n
736
+ x
737
+ 10
738
+ initialize
739
+ i
740
+ 15
741
+ 20
742
+ 1
743
+ 38
744
+ 0
745
+ 15
746
+ 20
747
+ 2
748
+ 38
749
+ 1
750
+ 15
751
+ 20
752
+ 0
753
+ 38
754
+ 2
755
+ 11
756
+ I
757
+ 4
758
+ I
759
+ 3
760
+ I
761
+ 3
762
+ I
763
+ 3
764
+ n
765
+ p
766
+ 3
767
+ x
768
+ 10
769
+ @exception
770
+ x
771
+ 10
772
+ @attribute
773
+ x
774
+ 8
775
+ @message
776
+ p
777
+ 9
778
+ I
779
+ -1
780
+ I
781
+ 9c
782
+ I
783
+ 0
784
+ I
785
+ 9d
786
+ I
787
+ 5
788
+ I
789
+ 9e
790
+ I
791
+ a
792
+ I
793
+ 9f
794
+ I
795
+ f
796
+ x
797
+ 77
798
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
799
+ p
800
+ 3
801
+ x
802
+ 7
803
+ message
804
+ x
805
+ 9
806
+ exception
807
+ x
808
+ 9
809
+ attribute
810
+ x
811
+ 17
812
+ method_visibility
813
+ x
814
+ 15
815
+ add_defn_method
816
+ p
817
+ 5
818
+ I
819
+ 2
820
+ I
821
+ 9b
822
+ I
823
+ c
824
+ I
825
+ 9c
826
+ I
827
+ 1a
828
+ x
829
+ 77
830
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
831
+ p
832
+ 0
833
+ x
834
+ 30
835
+ MultiparameterAssignmentErrors
836
+ n
837
+ M
838
+ 1
839
+ n
840
+ n
841
+ x
842
+ 30
843
+ MultiparameterAssignmentErrors
844
+ i
845
+ 24
846
+ 5
847
+ 66
848
+ 5
849
+ 7
850
+ 0
851
+ 47
852
+ 49
853
+ 1
854
+ 1
855
+ 15
856
+ 99
857
+ 7
858
+ 2
859
+ 7
860
+ 3
861
+ 65
862
+ 67
863
+ 49
864
+ 4
865
+ 0
866
+ 49
867
+ 5
868
+ 4
869
+ 11
870
+ I
871
+ 5
872
+ I
873
+ 0
874
+ I
875
+ 0
876
+ I
877
+ 0
878
+ n
879
+ p
880
+ 6
881
+ x
882
+ 6
883
+ errors
884
+ x
885
+ 11
886
+ attr_reader
887
+ x
888
+ 10
889
+ initialize
890
+ M
891
+ 1
892
+ n
893
+ n
894
+ x
895
+ 10
896
+ initialize
897
+ i
898
+ 5
899
+ 20
900
+ 0
901
+ 38
902
+ 0
903
+ 11
904
+ I
905
+ 2
906
+ I
907
+ 1
908
+ I
909
+ 1
910
+ I
911
+ 1
912
+ n
913
+ p
914
+ 1
915
+ x
916
+ 7
917
+ @errors
918
+ p
919
+ 5
920
+ I
921
+ -1
922
+ I
923
+ a8
924
+ I
925
+ 0
926
+ I
927
+ a9
928
+ I
929
+ 5
930
+ x
931
+ 77
932
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
933
+ p
934
+ 1
935
+ x
936
+ 6
937
+ errors
938
+ x
939
+ 17
940
+ method_visibility
941
+ x
942
+ 15
943
+ add_defn_method
944
+ p
945
+ 5
946
+ I
947
+ 2
948
+ I
949
+ a7
950
+ I
951
+ a
952
+ I
953
+ a8
954
+ I
955
+ 18
956
+ x
957
+ 77
958
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
959
+ p
960
+ 0
961
+ p
962
+ 47
963
+ I
964
+ 2
965
+ I
966
+ 6
967
+ I
968
+ f
969
+ I
970
+ b
971
+ I
972
+ 1c
973
+ I
974
+ 1a
975
+ I
976
+ 29
977
+ I
978
+ 1e
979
+ I
980
+ 36
981
+ I
982
+ 23
983
+ I
984
+ 43
985
+ I
986
+ 27
987
+ I
988
+ 50
989
+ I
990
+ 2c
991
+ I
992
+ 5d
993
+ I
994
+ 30
995
+ I
996
+ 6a
997
+ I
998
+ 35
999
+ I
1000
+ 77
1001
+ I
1002
+ 3a
1003
+ I
1004
+ 84
1005
+ I
1006
+ 3e
1007
+ I
1008
+ 91
1009
+ I
1010
+ 43
1011
+ I
1012
+ ae
1013
+ I
1014
+ 4d
1015
+ I
1016
+ bb
1017
+ I
1018
+ 51
1019
+ I
1020
+ c8
1021
+ I
1022
+ 5d
1023
+ I
1024
+ d5
1025
+ I
1026
+ 65
1027
+ I
1028
+ e2
1029
+ I
1030
+ 6a
1031
+ I
1032
+ ef
1033
+ I
1034
+ 6e
1035
+ I
1036
+ fc
1037
+ I
1038
+ 8c
1039
+ I
1040
+ 109
1041
+ I
1042
+ 90
1043
+ I
1044
+ 116
1045
+ I
1046
+ 94
1047
+ I
1048
+ 123
1049
+ I
1050
+ 9a
1051
+ I
1052
+ 140
1053
+ I
1054
+ a6
1055
+ I
1056
+ 15d
1057
+ x
1058
+ 77
1059
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
1060
+ p
1061
+ 0
1062
+ x
1063
+ 13
1064
+ attach_method
1065
+ p
1066
+ 3
1067
+ I
1068
+ 0
1069
+ I
1070
+ 1
1071
+ I
1072
+ 1c
1073
+ x
1074
+ 77
1075
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/errors.rb
1076
+ p
1077
+ 0