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,681 @@
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
+ 11
111
+ Validations
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
+ 11
124
+ Validations
125
+ i
126
+ 59
127
+ 5
128
+ 66
129
+ 99
130
+ 7
131
+ 0
132
+ 45
133
+ 1
134
+ 2
135
+ 43
136
+ 3
137
+ 65
138
+ 49
139
+ 4
140
+ 3
141
+ 13
142
+ 99
143
+ 12
144
+ 7
145
+ 5
146
+ 12
147
+ 7
148
+ 6
149
+ 12
150
+ 65
151
+ 12
152
+ 49
153
+ 7
154
+ 4
155
+ 15
156
+ 49
157
+ 5
158
+ 0
159
+ 15
160
+ 99
161
+ 7
162
+ 8
163
+ 65
164
+ 49
165
+ 9
166
+ 2
167
+ 13
168
+ 99
169
+ 12
170
+ 7
171
+ 10
172
+ 12
173
+ 7
174
+ 11
175
+ 12
176
+ 65
177
+ 12
178
+ 49
179
+ 7
180
+ 4
181
+ 15
182
+ 49
183
+ 10
184
+ 0
185
+ 11
186
+ I
187
+ 6
188
+ I
189
+ 0
190
+ I
191
+ 0
192
+ I
193
+ 0
194
+ n
195
+ p
196
+ 12
197
+ x
198
+ 19
199
+ AssociatedValidator
200
+ x
201
+ 11
202
+ ActiveModel
203
+ n
204
+ x
205
+ 13
206
+ EachValidator
207
+ x
208
+ 10
209
+ open_class
210
+ x
211
+ 14
212
+ __class_init__
213
+ M
214
+ 1
215
+ n
216
+ n
217
+ x
218
+ 19
219
+ AssociatedValidator
220
+ i
221
+ 16
222
+ 5
223
+ 66
224
+ 99
225
+ 7
226
+ 0
227
+ 7
228
+ 1
229
+ 65
230
+ 67
231
+ 49
232
+ 2
233
+ 0
234
+ 49
235
+ 3
236
+ 4
237
+ 11
238
+ I
239
+ 5
240
+ I
241
+ 0
242
+ I
243
+ 0
244
+ I
245
+ 0
246
+ n
247
+ p
248
+ 4
249
+ x
250
+ 13
251
+ validate_each
252
+ M
253
+ 1
254
+ n
255
+ n
256
+ x
257
+ 13
258
+ validate_each
259
+ i
260
+ 69
261
+ 20
262
+ 2
263
+ 45
264
+ 0
265
+ 1
266
+ 49
267
+ 2
268
+ 1
269
+ 9
270
+ 14
271
+ 20
272
+ 2
273
+ 8
274
+ 18
275
+ 20
276
+ 2
277
+ 35
278
+ 1
279
+ 56
280
+ 3
281
+ 50
282
+ 4
283
+ 0
284
+ 49
285
+ 5
286
+ 0
287
+ 9
288
+ 32
289
+ 1
290
+ 11
291
+ 8
292
+ 33
293
+ 1
294
+ 15
295
+ 20
296
+ 0
297
+ 49
298
+ 6
299
+ 0
300
+ 20
301
+ 1
302
+ 7
303
+ 7
304
+ 5
305
+ 48
306
+ 8
307
+ 44
308
+ 43
309
+ 9
310
+ 79
311
+ 49
312
+ 10
313
+ 1
314
+ 13
315
+ 7
316
+ 11
317
+ 20
318
+ 2
319
+ 49
320
+ 12
321
+ 2
322
+ 15
323
+ 49
324
+ 13
325
+ 1
326
+ 49
327
+ 14
328
+ 3
329
+ 11
330
+ I
331
+ b
332
+ I
333
+ 3
334
+ I
335
+ 3
336
+ I
337
+ 3
338
+ n
339
+ p
340
+ 15
341
+ x
342
+ 5
343
+ Array
344
+ n
345
+ x
346
+ 5
347
+ is_a?
348
+ M
349
+ 1
350
+ p
351
+ 2
352
+ x
353
+ 9
354
+ for_block
355
+ t
356
+ n
357
+ x
358
+ 13
359
+ validate_each
360
+ i
361
+ 19
362
+ 57
363
+ 19
364
+ 0
365
+ 15
366
+ 20
367
+ 0
368
+ 49
369
+ 0
370
+ 0
371
+ 13
372
+ 10
373
+ 18
374
+ 15
375
+ 20
376
+ 0
377
+ 49
378
+ 1
379
+ 0
380
+ 11
381
+ I
382
+ 4
383
+ I
384
+ 1
385
+ I
386
+ 1
387
+ I
388
+ 1
389
+ n
390
+ p
391
+ 2
392
+ x
393
+ 4
394
+ nil?
395
+ x
396
+ 6
397
+ valid?
398
+ p
399
+ 3
400
+ I
401
+ 0
402
+ I
403
+ 5
404
+ I
405
+ 13
406
+ x
407
+ 93
408
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
409
+ p
410
+ 1
411
+ x
412
+ 1
413
+ r
414
+ x
415
+ 7
416
+ collect
417
+ x
418
+ 4
419
+ all?
420
+ x
421
+ 6
422
+ errors
423
+ x
424
+ 7
425
+ invalid
426
+ x
427
+ 7
428
+ options
429
+ x
430
+ 4
431
+ Hash
432
+ x
433
+ 16
434
+ new_from_literal
435
+ x
436
+ 5
437
+ value
438
+ x
439
+ 3
440
+ []=
441
+ x
442
+ 5
443
+ merge
444
+ x
445
+ 3
446
+ add
447
+ p
448
+ 7
449
+ I
450
+ -1
451
+ I
452
+ 4
453
+ I
454
+ 0
455
+ I
456
+ 5
457
+ I
458
+ 22
459
+ I
460
+ 6
461
+ I
462
+ 45
463
+ x
464
+ 93
465
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
466
+ p
467
+ 3
468
+ x
469
+ 6
470
+ record
471
+ x
472
+ 9
473
+ attribute
474
+ x
475
+ 5
476
+ value
477
+ x
478
+ 17
479
+ method_visibility
480
+ x
481
+ 15
482
+ add_defn_method
483
+ p
484
+ 3
485
+ I
486
+ 2
487
+ I
488
+ 4
489
+ I
490
+ 10
491
+ x
492
+ 93
493
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
494
+ p
495
+ 0
496
+ x
497
+ 13
498
+ attach_method
499
+ x
500
+ 12
501
+ ClassMethods
502
+ x
503
+ 11
504
+ open_module
505
+ x
506
+ 15
507
+ __module_init__
508
+ M
509
+ 1
510
+ n
511
+ n
512
+ x
513
+ 12
514
+ ClassMethods
515
+ i
516
+ 16
517
+ 5
518
+ 66
519
+ 99
520
+ 7
521
+ 0
522
+ 7
523
+ 1
524
+ 65
525
+ 67
526
+ 49
527
+ 2
528
+ 0
529
+ 49
530
+ 3
531
+ 4
532
+ 11
533
+ I
534
+ 5
535
+ I
536
+ 0
537
+ I
538
+ 0
539
+ I
540
+ 0
541
+ n
542
+ p
543
+ 4
544
+ x
545
+ 20
546
+ validates_associated
547
+ M
548
+ 1
549
+ n
550
+ n
551
+ x
552
+ 20
553
+ validates_associated
554
+ i
555
+ 16
556
+ 5
557
+ 45
558
+ 0
559
+ 1
560
+ 5
561
+ 20
562
+ 0
563
+ 47
564
+ 49
565
+ 2
566
+ 1
567
+ 47
568
+ 49
569
+ 3
570
+ 2
571
+ 11
572
+ I
573
+ 5
574
+ I
575
+ 1
576
+ I
577
+ 0
578
+ I
579
+ 0
580
+ I
581
+ 0
582
+ p
583
+ 4
584
+ x
585
+ 19
586
+ AssociatedValidator
587
+ n
588
+ x
589
+ 17
590
+ _merge_attributes
591
+ x
592
+ 14
593
+ validates_with
594
+ p
595
+ 5
596
+ I
597
+ -1
598
+ I
599
+ 2b
600
+ I
601
+ 0
602
+ I
603
+ 2c
604
+ I
605
+ 10
606
+ x
607
+ 93
608
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
609
+ p
610
+ 1
611
+ x
612
+ 10
613
+ attr_names
614
+ x
615
+ 17
616
+ method_visibility
617
+ x
618
+ 15
619
+ add_defn_method
620
+ p
621
+ 3
622
+ I
623
+ 2
624
+ I
625
+ 2b
626
+ I
627
+ 10
628
+ x
629
+ 93
630
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
631
+ p
632
+ 0
633
+ p
634
+ 5
635
+ I
636
+ 2
637
+ I
638
+ 3
639
+ I
640
+ 21
641
+ I
642
+ a
643
+ I
644
+ 3b
645
+ x
646
+ 93
647
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
648
+ p
649
+ 0
650
+ x
651
+ 13
652
+ attach_method
653
+ p
654
+ 3
655
+ I
656
+ 2
657
+ I
658
+ 2
659
+ I
660
+ 1c
661
+ x
662
+ 93
663
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
664
+ p
665
+ 0
666
+ x
667
+ 13
668
+ attach_method
669
+ p
670
+ 3
671
+ I
672
+ 0
673
+ I
674
+ 1
675
+ I
676
+ 1c
677
+ x
678
+ 93
679
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/validations/associated.rb
680
+ p
681
+ 0