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,877 @@
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
+ 18
111
+ ConnectionAdapters
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
+ 18
124
+ ConnectionAdapters
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
+ 14
168
+ DatabaseLimits
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
+ 14
181
+ DatabaseLimits
182
+ i
183
+ 142
184
+ 5
185
+ 66
186
+ 99
187
+ 7
188
+ 0
189
+ 7
190
+ 1
191
+ 65
192
+ 67
193
+ 49
194
+ 2
195
+ 0
196
+ 49
197
+ 3
198
+ 4
199
+ 15
200
+ 99
201
+ 7
202
+ 4
203
+ 7
204
+ 5
205
+ 65
206
+ 67
207
+ 49
208
+ 2
209
+ 0
210
+ 49
211
+ 3
212
+ 4
213
+ 15
214
+ 99
215
+ 7
216
+ 6
217
+ 7
218
+ 7
219
+ 65
220
+ 67
221
+ 49
222
+ 2
223
+ 0
224
+ 49
225
+ 3
226
+ 4
227
+ 15
228
+ 99
229
+ 7
230
+ 8
231
+ 7
232
+ 9
233
+ 65
234
+ 67
235
+ 49
236
+ 2
237
+ 0
238
+ 49
239
+ 3
240
+ 4
241
+ 15
242
+ 99
243
+ 7
244
+ 10
245
+ 7
246
+ 11
247
+ 65
248
+ 67
249
+ 49
250
+ 2
251
+ 0
252
+ 49
253
+ 3
254
+ 4
255
+ 15
256
+ 99
257
+ 7
258
+ 12
259
+ 7
260
+ 13
261
+ 65
262
+ 67
263
+ 49
264
+ 2
265
+ 0
266
+ 49
267
+ 3
268
+ 4
269
+ 15
270
+ 99
271
+ 7
272
+ 14
273
+ 7
274
+ 15
275
+ 65
276
+ 67
277
+ 49
278
+ 2
279
+ 0
280
+ 49
281
+ 3
282
+ 4
283
+ 15
284
+ 99
285
+ 7
286
+ 16
287
+ 7
288
+ 17
289
+ 65
290
+ 67
291
+ 49
292
+ 2
293
+ 0
294
+ 49
295
+ 3
296
+ 4
297
+ 15
298
+ 99
299
+ 7
300
+ 18
301
+ 7
302
+ 19
303
+ 65
304
+ 67
305
+ 49
306
+ 2
307
+ 0
308
+ 49
309
+ 3
310
+ 4
311
+ 15
312
+ 99
313
+ 7
314
+ 20
315
+ 7
316
+ 21
317
+ 65
318
+ 67
319
+ 49
320
+ 2
321
+ 0
322
+ 49
323
+ 3
324
+ 4
325
+ 11
326
+ I
327
+ 5
328
+ I
329
+ 0
330
+ I
331
+ 0
332
+ I
333
+ 0
334
+ n
335
+ p
336
+ 22
337
+ x
338
+ 18
339
+ table_alias_length
340
+ M
341
+ 1
342
+ n
343
+ n
344
+ x
345
+ 18
346
+ table_alias_length
347
+ i
348
+ 3
349
+ 4
350
+ 255
351
+ 11
352
+ I
353
+ 1
354
+ I
355
+ 0
356
+ I
357
+ 0
358
+ I
359
+ 0
360
+ n
361
+ p
362
+ 0
363
+ p
364
+ 5
365
+ I
366
+ -1
367
+ I
368
+ 6
369
+ I
370
+ 0
371
+ I
372
+ 7
373
+ I
374
+ 3
375
+ x
376
+ 115
377
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
378
+ p
379
+ 0
380
+ x
381
+ 17
382
+ method_visibility
383
+ x
384
+ 15
385
+ add_defn_method
386
+ x
387
+ 18
388
+ column_name_length
389
+ M
390
+ 1
391
+ n
392
+ n
393
+ x
394
+ 18
395
+ column_name_length
396
+ i
397
+ 3
398
+ 4
399
+ 64
400
+ 11
401
+ I
402
+ 1
403
+ I
404
+ 0
405
+ I
406
+ 0
407
+ I
408
+ 0
409
+ n
410
+ p
411
+ 0
412
+ p
413
+ 5
414
+ I
415
+ -1
416
+ I
417
+ b
418
+ I
419
+ 0
420
+ I
421
+ c
422
+ I
423
+ 3
424
+ x
425
+ 115
426
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
427
+ p
428
+ 0
429
+ x
430
+ 17
431
+ table_name_length
432
+ M
433
+ 1
434
+ n
435
+ n
436
+ x
437
+ 17
438
+ table_name_length
439
+ i
440
+ 3
441
+ 4
442
+ 64
443
+ 11
444
+ I
445
+ 1
446
+ I
447
+ 0
448
+ I
449
+ 0
450
+ I
451
+ 0
452
+ n
453
+ p
454
+ 0
455
+ p
456
+ 5
457
+ I
458
+ -1
459
+ I
460
+ 10
461
+ I
462
+ 0
463
+ I
464
+ 11
465
+ I
466
+ 3
467
+ x
468
+ 115
469
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
470
+ p
471
+ 0
472
+ x
473
+ 17
474
+ index_name_length
475
+ M
476
+ 1
477
+ n
478
+ n
479
+ x
480
+ 17
481
+ index_name_length
482
+ i
483
+ 3
484
+ 4
485
+ 64
486
+ 11
487
+ I
488
+ 1
489
+ I
490
+ 0
491
+ I
492
+ 0
493
+ I
494
+ 0
495
+ n
496
+ p
497
+ 0
498
+ p
499
+ 5
500
+ I
501
+ -1
502
+ I
503
+ 15
504
+ I
505
+ 0
506
+ I
507
+ 16
508
+ I
509
+ 3
510
+ x
511
+ 115
512
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
513
+ p
514
+ 0
515
+ x
516
+ 17
517
+ columns_per_table
518
+ M
519
+ 1
520
+ n
521
+ n
522
+ x
523
+ 17
524
+ columns_per_table
525
+ i
526
+ 3
527
+ 7
528
+ 0
529
+ 11
530
+ I
531
+ 1
532
+ I
533
+ 0
534
+ I
535
+ 0
536
+ I
537
+ 0
538
+ n
539
+ p
540
+ 1
541
+ I
542
+ 400
543
+ p
544
+ 5
545
+ I
546
+ -1
547
+ I
548
+ 1a
549
+ I
550
+ 0
551
+ I
552
+ 1b
553
+ I
554
+ 3
555
+ x
556
+ 115
557
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
558
+ p
559
+ 0
560
+ x
561
+ 17
562
+ indexes_per_table
563
+ M
564
+ 1
565
+ n
566
+ n
567
+ x
568
+ 17
569
+ indexes_per_table
570
+ i
571
+ 3
572
+ 4
573
+ 16
574
+ 11
575
+ I
576
+ 1
577
+ I
578
+ 0
579
+ I
580
+ 0
581
+ I
582
+ 0
583
+ n
584
+ p
585
+ 0
586
+ p
587
+ 5
588
+ I
589
+ -1
590
+ I
591
+ 1f
592
+ I
593
+ 0
594
+ I
595
+ 20
596
+ I
597
+ 3
598
+ x
599
+ 115
600
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
601
+ p
602
+ 0
603
+ x
604
+ 29
605
+ columns_per_multicolumn_index
606
+ M
607
+ 1
608
+ n
609
+ n
610
+ x
611
+ 29
612
+ columns_per_multicolumn_index
613
+ i
614
+ 3
615
+ 4
616
+ 16
617
+ 11
618
+ I
619
+ 1
620
+ I
621
+ 0
622
+ I
623
+ 0
624
+ I
625
+ 0
626
+ n
627
+ p
628
+ 0
629
+ p
630
+ 5
631
+ I
632
+ -1
633
+ I
634
+ 24
635
+ I
636
+ 0
637
+ I
638
+ 25
639
+ I
640
+ 3
641
+ x
642
+ 115
643
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
644
+ p
645
+ 0
646
+ x
647
+ 16
648
+ in_clause_length
649
+ M
650
+ 1
651
+ n
652
+ n
653
+ x
654
+ 16
655
+ in_clause_length
656
+ i
657
+ 3
658
+ 7
659
+ 0
660
+ 11
661
+ I
662
+ 1
663
+ I
664
+ 0
665
+ I
666
+ 0
667
+ I
668
+ 0
669
+ n
670
+ p
671
+ 1
672
+ I
673
+ ffff
674
+ p
675
+ 5
676
+ I
677
+ -1
678
+ I
679
+ 29
680
+ I
681
+ 0
682
+ I
683
+ 2a
684
+ I
685
+ 3
686
+ x
687
+ 115
688
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
689
+ p
690
+ 0
691
+ x
692
+ 16
693
+ sql_query_length
694
+ M
695
+ 1
696
+ n
697
+ n
698
+ x
699
+ 16
700
+ sql_query_length
701
+ i
702
+ 3
703
+ 7
704
+ 0
705
+ 11
706
+ I
707
+ 1
708
+ I
709
+ 0
710
+ I
711
+ 0
712
+ I
713
+ 0
714
+ n
715
+ p
716
+ 1
717
+ I
718
+ fffff
719
+ p
720
+ 5
721
+ I
722
+ -1
723
+ I
724
+ 2e
725
+ I
726
+ 0
727
+ I
728
+ 2f
729
+ I
730
+ 3
731
+ x
732
+ 115
733
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
734
+ p
735
+ 0
736
+ x
737
+ 15
738
+ joins_per_query
739
+ M
740
+ 1
741
+ n
742
+ n
743
+ x
744
+ 15
745
+ joins_per_query
746
+ i
747
+ 3
748
+ 7
749
+ 0
750
+ 11
751
+ I
752
+ 1
753
+ I
754
+ 0
755
+ I
756
+ 0
757
+ I
758
+ 0
759
+ n
760
+ p
761
+ 1
762
+ I
763
+ 100
764
+ p
765
+ 5
766
+ I
767
+ -1
768
+ I
769
+ 33
770
+ I
771
+ 0
772
+ I
773
+ 34
774
+ I
775
+ 3
776
+ x
777
+ 115
778
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
779
+ p
780
+ 0
781
+ p
782
+ 21
783
+ I
784
+ 2
785
+ I
786
+ 6
787
+ I
788
+ 10
789
+ I
790
+ b
791
+ I
792
+ 1e
793
+ I
794
+ 10
795
+ I
796
+ 2c
797
+ I
798
+ 15
799
+ I
800
+ 3a
801
+ I
802
+ 1a
803
+ I
804
+ 48
805
+ I
806
+ 1f
807
+ I
808
+ 56
809
+ I
810
+ 24
811
+ I
812
+ 64
813
+ I
814
+ 29
815
+ I
816
+ 72
817
+ I
818
+ 2e
819
+ I
820
+ 80
821
+ I
822
+ 33
823
+ I
824
+ 8e
825
+ x
826
+ 115
827
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
828
+ p
829
+ 0
830
+ x
831
+ 13
832
+ attach_method
833
+ p
834
+ 3
835
+ I
836
+ 2
837
+ I
838
+ 3
839
+ I
840
+ 1c
841
+ x
842
+ 115
843
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
844
+ p
845
+ 0
846
+ x
847
+ 13
848
+ attach_method
849
+ p
850
+ 3
851
+ I
852
+ 2
853
+ I
854
+ 2
855
+ I
856
+ 1c
857
+ x
858
+ 115
859
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
860
+ p
861
+ 0
862
+ x
863
+ 13
864
+ attach_method
865
+ p
866
+ 3
867
+ I
868
+ 0
869
+ I
870
+ 1
871
+ I
872
+ 1c
873
+ x
874
+ 115
875
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb
876
+ p
877
+ 0