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