activerecord 3.0.6 → 3.0.7.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

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,700 @@
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
+ 14
168
+ BeforeTypeCast
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
+ BeforeTypeCast
182
+ i
183
+ 67
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
+ 7
209
+ 7
210
+ 65
211
+ 67
212
+ 49
213
+ 8
214
+ 0
215
+ 49
216
+ 9
217
+ 4
218
+ 15
219
+ 99
220
+ 7
221
+ 10
222
+ 7
223
+ 11
224
+ 65
225
+ 67
226
+ 49
227
+ 8
228
+ 0
229
+ 49
230
+ 9
231
+ 4
232
+ 15
233
+ 5
234
+ 48
235
+ 12
236
+ 15
237
+ 99
238
+ 7
239
+ 13
240
+ 7
241
+ 14
242
+ 65
243
+ 67
244
+ 49
245
+ 8
246
+ 0
247
+ 49
248
+ 9
249
+ 4
250
+ 11
251
+ I
252
+ 5
253
+ I
254
+ 0
255
+ I
256
+ 0
257
+ I
258
+ 0
259
+ n
260
+ p
261
+ 15
262
+ x
263
+ 13
264
+ ActiveSupport
265
+ n
266
+ x
267
+ 7
268
+ Concern
269
+ x
270
+ 6
271
+ extend
272
+ M
273
+ 1
274
+ p
275
+ 2
276
+ x
277
+ 9
278
+ for_block
279
+ t
280
+ n
281
+ x
282
+ 14
283
+ BeforeTypeCast
284
+ i
285
+ 9
286
+ 5
287
+ 7
288
+ 0
289
+ 64
290
+ 47
291
+ 49
292
+ 1
293
+ 1
294
+ 11
295
+ I
296
+ 3
297
+ I
298
+ 0
299
+ I
300
+ 0
301
+ I
302
+ 0
303
+ I
304
+ -2
305
+ p
306
+ 2
307
+ s
308
+ 17
309
+ _before_type_cast
310
+ x
311
+ 23
312
+ attribute_method_suffix
313
+ p
314
+ 3
315
+ I
316
+ 0
317
+ I
318
+ 7
319
+ I
320
+ 9
321
+ x
322
+ 105
323
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
324
+ p
325
+ 0
326
+ x
327
+ 8
328
+ included
329
+ x
330
+ 31
331
+ read_attribute_before_type_cast
332
+ M
333
+ 1
334
+ n
335
+ n
336
+ x
337
+ 31
338
+ read_attribute_before_type_cast
339
+ i
340
+ 8
341
+ 39
342
+ 0
343
+ 20
344
+ 0
345
+ 49
346
+ 1
347
+ 1
348
+ 11
349
+ I
350
+ 3
351
+ I
352
+ 1
353
+ I
354
+ 1
355
+ I
356
+ 1
357
+ n
358
+ p
359
+ 2
360
+ x
361
+ 11
362
+ @attributes
363
+ x
364
+ 2
365
+ []
366
+ p
367
+ 5
368
+ I
369
+ -1
370
+ I
371
+ a
372
+ I
373
+ 0
374
+ I
375
+ b
376
+ I
377
+ 8
378
+ x
379
+ 105
380
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
381
+ p
382
+ 1
383
+ x
384
+ 9
385
+ attr_name
386
+ x
387
+ 17
388
+ method_visibility
389
+ x
390
+ 15
391
+ add_defn_method
392
+ x
393
+ 27
394
+ attributes_before_type_cast
395
+ M
396
+ 1
397
+ n
398
+ n
399
+ x
400
+ 27
401
+ attributes_before_type_cast
402
+ i
403
+ 15
404
+ 45
405
+ 0
406
+ 1
407
+ 5
408
+ 48
409
+ 2
410
+ 56
411
+ 3
412
+ 50
413
+ 4
414
+ 0
415
+ 49
416
+ 5
417
+ 1
418
+ 11
419
+ I
420
+ 3
421
+ I
422
+ 0
423
+ I
424
+ 0
425
+ I
426
+ 0
427
+ n
428
+ p
429
+ 6
430
+ x
431
+ 4
432
+ Hash
433
+ n
434
+ x
435
+ 15
436
+ attribute_names
437
+ M
438
+ 1
439
+ p
440
+ 2
441
+ x
442
+ 9
443
+ for_block
444
+ t
445
+ n
446
+ x
447
+ 27
448
+ attributes_before_type_cast
449
+ i
450
+ 16
451
+ 57
452
+ 19
453
+ 0
454
+ 15
455
+ 20
456
+ 0
457
+ 5
458
+ 20
459
+ 0
460
+ 47
461
+ 49
462
+ 0
463
+ 1
464
+ 35
465
+ 2
466
+ 11
467
+ I
468
+ 5
469
+ I
470
+ 1
471
+ I
472
+ 1
473
+ I
474
+ 1
475
+ n
476
+ p
477
+ 1
478
+ x
479
+ 31
480
+ read_attribute_before_type_cast
481
+ p
482
+ 3
483
+ I
484
+ 0
485
+ I
486
+ 10
487
+ I
488
+ 10
489
+ x
490
+ 105
491
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
492
+ p
493
+ 1
494
+ x
495
+ 4
496
+ name
497
+ x
498
+ 3
499
+ map
500
+ x
501
+ 2
502
+ []
503
+ p
504
+ 5
505
+ I
506
+ -1
507
+ I
508
+ f
509
+ I
510
+ 0
511
+ I
512
+ 10
513
+ I
514
+ f
515
+ x
516
+ 105
517
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
518
+ p
519
+ 0
520
+ x
521
+ 7
522
+ private
523
+ x
524
+ 26
525
+ attribute_before_type_cast
526
+ M
527
+ 1
528
+ n
529
+ n
530
+ x
531
+ 26
532
+ attribute_before_type_cast
533
+ i
534
+ 31
535
+ 20
536
+ 0
537
+ 7
538
+ 0
539
+ 64
540
+ 83
541
+ 1
542
+ 9
543
+ 23
544
+ 5
545
+ 5
546
+ 49
547
+ 2
548
+ 0
549
+ 49
550
+ 3
551
+ 0
552
+ 47
553
+ 49
554
+ 4
555
+ 1
556
+ 8
557
+ 30
558
+ 5
559
+ 20
560
+ 0
561
+ 47
562
+ 49
563
+ 4
564
+ 1
565
+ 11
566
+ I
567
+ 3
568
+ I
569
+ 1
570
+ I
571
+ 1
572
+ I
573
+ 1
574
+ n
575
+ p
576
+ 5
577
+ s
578
+ 2
579
+ id
580
+ x
581
+ 2
582
+ ==
583
+ x
584
+ 5
585
+ class
586
+ x
587
+ 11
588
+ primary_key
589
+ x
590
+ 31
591
+ read_attribute_before_type_cast
592
+ p
593
+ 9
594
+ I
595
+ -1
596
+ I
597
+ 15
598
+ I
599
+ 0
600
+ I
601
+ 16
602
+ I
603
+ 9
604
+ I
605
+ 17
606
+ I
607
+ 17
608
+ I
609
+ 19
610
+ I
611
+ 1f
612
+ x
613
+ 105
614
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
615
+ p
616
+ 1
617
+ x
618
+ 14
619
+ attribute_name
620
+ p
621
+ 13
622
+ I
623
+ 2
624
+ I
625
+ 4
626
+ I
627
+ d
628
+ I
629
+ 6
630
+ I
631
+ 15
632
+ I
633
+ a
634
+ I
635
+ 23
636
+ I
637
+ f
638
+ I
639
+ 31
640
+ I
641
+ 13
642
+ I
643
+ 35
644
+ I
645
+ 15
646
+ I
647
+ 43
648
+ x
649
+ 105
650
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
651
+ p
652
+ 0
653
+ x
654
+ 13
655
+ attach_method
656
+ p
657
+ 3
658
+ I
659
+ 2
660
+ I
661
+ 3
662
+ I
663
+ 1c
664
+ x
665
+ 105
666
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
667
+ p
668
+ 0
669
+ x
670
+ 13
671
+ attach_method
672
+ p
673
+ 3
674
+ I
675
+ 2
676
+ I
677
+ 2
678
+ I
679
+ 1c
680
+ x
681
+ 105
682
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
683
+ p
684
+ 0
685
+ x
686
+ 13
687
+ attach_method
688
+ p
689
+ 3
690
+ I
691
+ 0
692
+ I
693
+ 1
694
+ I
695
+ 1c
696
+ x
697
+ 105
698
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
699
+ p
700
+ 0