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