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,2281 @@
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
+ 7
111
+ Locking
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
+ 7
124
+ Locking
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
+ 10
168
+ Optimistic
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
+ 10
181
+ Optimistic
182
+ i
183
+ 107
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
+ 5
220
+ 48
221
+ 10
222
+ 15
223
+ 99
224
+ 7
225
+ 11
226
+ 7
227
+ 12
228
+ 65
229
+ 67
230
+ 49
231
+ 8
232
+ 0
233
+ 49
234
+ 9
235
+ 4
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
+ 15
251
+ 99
252
+ 7
253
+ 15
254
+ 7
255
+ 16
256
+ 65
257
+ 67
258
+ 49
259
+ 8
260
+ 0
261
+ 49
262
+ 9
263
+ 4
264
+ 15
265
+ 99
266
+ 7
267
+ 17
268
+ 65
269
+ 49
270
+ 18
271
+ 2
272
+ 13
273
+ 99
274
+ 12
275
+ 7
276
+ 19
277
+ 12
278
+ 7
279
+ 20
280
+ 12
281
+ 65
282
+ 12
283
+ 49
284
+ 21
285
+ 4
286
+ 15
287
+ 49
288
+ 19
289
+ 0
290
+ 11
291
+ I
292
+ 6
293
+ I
294
+ 0
295
+ I
296
+ 0
297
+ I
298
+ 0
299
+ n
300
+ p
301
+ 22
302
+ x
303
+ 13
304
+ ActiveSupport
305
+ n
306
+ x
307
+ 7
308
+ Concern
309
+ x
310
+ 6
311
+ extend
312
+ M
313
+ 1
314
+ p
315
+ 2
316
+ x
317
+ 9
318
+ for_block
319
+ t
320
+ n
321
+ x
322
+ 10
323
+ Optimistic
324
+ i
325
+ 62
326
+ 5
327
+ 7
328
+ 0
329
+ 44
330
+ 43
331
+ 1
332
+ 79
333
+ 49
334
+ 2
335
+ 1
336
+ 13
337
+ 7
338
+ 3
339
+ 3
340
+ 49
341
+ 4
342
+ 2
343
+ 15
344
+ 47
345
+ 49
346
+ 5
347
+ 2
348
+ 15
349
+ 5
350
+ 2
351
+ 13
352
+ 18
353
+ 2
354
+ 47
355
+ 49
356
+ 6
357
+ 1
358
+ 15
359
+ 15
360
+ 5
361
+ 99
362
+ 43
363
+ 7
364
+ 12
365
+ 49
366
+ 8
367
+ 1
368
+ 13
369
+ 99
370
+ 12
371
+ 7
372
+ 9
373
+ 12
374
+ 7
375
+ 10
376
+ 12
377
+ 65
378
+ 12
379
+ 49
380
+ 11
381
+ 4
382
+ 15
383
+ 54
384
+ 50
385
+ 9
386
+ 0
387
+ 11
388
+ I
389
+ 7
390
+ I
391
+ 0
392
+ I
393
+ 0
394
+ I
395
+ 0
396
+ I
397
+ -2
398
+ p
399
+ 12
400
+ x
401
+ 19
402
+ lock_optimistically
403
+ x
404
+ 4
405
+ Hash
406
+ x
407
+ 16
408
+ new_from_literal
409
+ x
410
+ 15
411
+ instance_writer
412
+ x
413
+ 3
414
+ []=
415
+ x
416
+ 14
417
+ cattr_accessor
418
+ x
419
+ 20
420
+ lock_optimistically=
421
+ x
422
+ 4
423
+ Type
424
+ x
425
+ 22
426
+ object_singleton_class
427
+ x
428
+ 18
429
+ __metaclass_init__
430
+ M
431
+ 1
432
+ n
433
+ n
434
+ x
435
+ 18
436
+ __metaclass_init__
437
+ i
438
+ 12
439
+ 5
440
+ 66
441
+ 5
442
+ 7
443
+ 0
444
+ 7
445
+ 1
446
+ 47
447
+ 49
448
+ 2
449
+ 2
450
+ 11
451
+ I
452
+ 3
453
+ I
454
+ 0
455
+ I
456
+ 0
457
+ I
458
+ 0
459
+ n
460
+ p
461
+ 3
462
+ x
463
+ 15
464
+ locking_column=
465
+ x
466
+ 18
467
+ set_locking_column
468
+ x
469
+ 12
470
+ alias_method
471
+ p
472
+ 3
473
+ I
474
+ 2
475
+ I
476
+ 34
477
+ I
478
+ c
479
+ x
480
+ 89
481
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
482
+ p
483
+ 0
484
+ x
485
+ 13
486
+ attach_method
487
+ p
488
+ 9
489
+ I
490
+ 0
491
+ I
492
+ 30
493
+ I
494
+ 17
495
+ I
496
+ ac
497
+ I
498
+ 18
499
+ I
500
+ 31
501
+ I
502
+ 22
503
+ I
504
+ 33
505
+ I
506
+ 3e
507
+ x
508
+ 89
509
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
510
+ p
511
+ 0
512
+ x
513
+ 8
514
+ included
515
+ x
516
+ 16
517
+ locking_enabled?
518
+ M
519
+ 1
520
+ n
521
+ n
522
+ x
523
+ 16
524
+ locking_enabled?
525
+ i
526
+ 8
527
+ 5
528
+ 49
529
+ 0
530
+ 0
531
+ 49
532
+ 1
533
+ 0
534
+ 11
535
+ I
536
+ 1
537
+ I
538
+ 0
539
+ I
540
+ 0
541
+ I
542
+ 0
543
+ n
544
+ p
545
+ 2
546
+ x
547
+ 5
548
+ class
549
+ x
550
+ 16
551
+ locking_enabled?
552
+ p
553
+ 5
554
+ I
555
+ -1
556
+ I
557
+ 38
558
+ I
559
+ 0
560
+ I
561
+ 39
562
+ I
563
+ 8
564
+ x
565
+ 89
566
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
567
+ p
568
+ 0
569
+ x
570
+ 17
571
+ method_visibility
572
+ x
573
+ 15
574
+ add_defn_method
575
+ x
576
+ 7
577
+ private
578
+ x
579
+ 33
580
+ attributes_from_column_definition
581
+ M
582
+ 1
583
+ n
584
+ n
585
+ x
586
+ 33
587
+ attributes_from_column_definition
588
+ i
589
+ 67
590
+ 54
591
+ 89
592
+ 0
593
+ 19
594
+ 0
595
+ 15
596
+ 5
597
+ 48
598
+ 1
599
+ 13
600
+ 9
601
+ 25
602
+ 15
603
+ 20
604
+ 0
605
+ 5
606
+ 49
607
+ 2
608
+ 0
609
+ 49
610
+ 3
611
+ 0
612
+ 49
613
+ 4
614
+ 1
615
+ 9
616
+ 61
617
+ 20
618
+ 0
619
+ 5
620
+ 49
621
+ 2
622
+ 0
623
+ 49
624
+ 3
625
+ 0
626
+ 14
627
+ 2
628
+ 49
629
+ 5
630
+ 1
631
+ 13
632
+ 10
633
+ 55
634
+ 15
635
+ 78
636
+ 13
637
+ 18
638
+ 3
639
+ 49
640
+ 6
641
+ 2
642
+ 15
643
+ 8
644
+ 59
645
+ 18
646
+ 2
647
+ 16
648
+ 2
649
+ 8
650
+ 62
651
+ 1
652
+ 15
653
+ 20
654
+ 0
655
+ 11
656
+ 11
657
+ I
658
+ 5
659
+ I
660
+ 1
661
+ I
662
+ 0
663
+ I
664
+ 0
665
+ n
666
+ p
667
+ 7
668
+ x
669
+ 33
670
+ attributes_from_column_definition
671
+ x
672
+ 19
673
+ lock_optimistically
674
+ x
675
+ 5
676
+ class
677
+ x
678
+ 14
679
+ locking_column
680
+ x
681
+ 8
682
+ include?
683
+ x
684
+ 2
685
+ []
686
+ x
687
+ 3
688
+ []=
689
+ p
690
+ 13
691
+ I
692
+ -1
693
+ I
694
+ 3d
695
+ I
696
+ 0
697
+ I
698
+ 3e
699
+ I
700
+ 6
701
+ I
702
+ 45
703
+ I
704
+ 1b
705
+ I
706
+ 46
707
+ I
708
+ 3d
709
+ I
710
+ 45
711
+ I
712
+ 3f
713
+ I
714
+ 49
715
+ I
716
+ 43
717
+ x
718
+ 89
719
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
720
+ p
721
+ 1
722
+ x
723
+ 6
724
+ result
725
+ x
726
+ 6
727
+ update
728
+ M
729
+ 1
730
+ n
731
+ n
732
+ x
733
+ 6
734
+ update
735
+ i
736
+ 275
737
+ 23
738
+ 0
739
+ 10
740
+ 12
741
+ 39
742
+ 0
743
+ 49
744
+ 1
745
+ 0
746
+ 19
747
+ 0
748
+ 15
749
+ 5
750
+ 47
751
+ 49
752
+ 2
753
+ 0
754
+ 9
755
+ 22
756
+ 1
757
+ 8
758
+ 26
759
+ 54
760
+ 89
761
+ 3
762
+ 11
763
+ 15
764
+ 20
765
+ 0
766
+ 49
767
+ 4
768
+ 0
769
+ 9
770
+ 38
771
+ 78
772
+ 11
773
+ 8
774
+ 39
775
+ 1
776
+ 15
777
+ 5
778
+ 49
779
+ 5
780
+ 0
781
+ 49
782
+ 6
783
+ 0
784
+ 19
785
+ 1
786
+ 15
787
+ 5
788
+ 20
789
+ 1
790
+ 47
791
+ 49
792
+ 7
793
+ 1
794
+ 49
795
+ 8
796
+ 0
797
+ 19
798
+ 2
799
+ 15
800
+ 5
801
+ 20
802
+ 1
803
+ 7
804
+ 9
805
+ 64
806
+ 81
807
+ 10
808
+ 20
809
+ 2
810
+ 79
811
+ 81
812
+ 10
813
+ 47
814
+ 49
815
+ 7
816
+ 2
817
+ 15
818
+ 20
819
+ 0
820
+ 20
821
+ 1
822
+ 35
823
+ 1
824
+ 81
825
+ 10
826
+ 19
827
+ 0
828
+ 15
829
+ 20
830
+ 0
831
+ 49
832
+ 11
833
+ 0
834
+ 15
835
+ 26
836
+ 93
837
+ 0
838
+ 15
839
+ 29
840
+ 227
841
+ 0
842
+ 5
843
+ 49
844
+ 5
845
+ 0
846
+ 49
847
+ 12
848
+ 0
849
+ 19
850
+ 3
851
+ 15
852
+ 20
853
+ 3
854
+ 20
855
+ 3
856
+ 49
857
+ 13
858
+ 0
859
+ 5
860
+ 49
861
+ 5
862
+ 0
863
+ 49
864
+ 14
865
+ 0
866
+ 49
867
+ 15
868
+ 1
869
+ 5
870
+ 48
871
+ 16
872
+ 49
873
+ 17
874
+ 1
875
+ 20
876
+ 3
877
+ 49
878
+ 13
879
+ 0
880
+ 5
881
+ 49
882
+ 5
883
+ 0
884
+ 49
885
+ 6
886
+ 0
887
+ 49
888
+ 15
889
+ 1
890
+ 5
891
+ 20
892
+ 2
893
+ 47
894
+ 49
895
+ 18
896
+ 1
897
+ 49
898
+ 17
899
+ 1
900
+ 49
901
+ 19
902
+ 1
903
+ 49
904
+ 20
905
+ 1
906
+ 49
907
+ 21
908
+ 0
909
+ 5
910
+ 3
911
+ 3
912
+ 20
913
+ 0
914
+ 47
915
+ 49
916
+ 22
917
+ 3
918
+ 49
919
+ 3
920
+ 1
921
+ 19
922
+ 4
923
+ 15
924
+ 20
925
+ 4
926
+ 79
927
+ 83
928
+ 23
929
+ 9
930
+ 197
931
+ 1
932
+ 8
933
+ 221
934
+ 5
935
+ 45
936
+ 24
937
+ 25
938
+ 43
939
+ 26
940
+ 7
941
+ 27
942
+ 5
943
+ 49
944
+ 5
945
+ 0
946
+ 49
947
+ 28
948
+ 0
949
+ 47
950
+ 101
951
+ 29
952
+ 63
953
+ 2
954
+ 47
955
+ 49
956
+ 30
957
+ 2
958
+ 15
959
+ 20
960
+ 4
961
+ 30
962
+ 8
963
+ 271
964
+ 26
965
+ 93
966
+ 1
967
+ 15
968
+ 24
969
+ 13
970
+ 45
971
+ 31
972
+ 32
973
+ 12
974
+ 49
975
+ 33
976
+ 1
977
+ 10
978
+ 244
979
+ 8
980
+ 266
981
+ 15
982
+ 5
983
+ 20
984
+ 1
985
+ 7
986
+ 9
987
+ 64
988
+ 81
989
+ 10
990
+ 20
991
+ 2
992
+ 47
993
+ 49
994
+ 7
995
+ 2
996
+ 15
997
+ 5
998
+ 48
999
+ 30
1000
+ 25
1001
+ 8
1002
+ 271
1003
+ 15
1004
+ 92
1005
+ 1
1006
+ 27
1007
+ 34
1008
+ 92
1009
+ 0
1010
+ 27
1011
+ 11
1012
+ I
1013
+ c
1014
+ I
1015
+ 5
1016
+ I
1017
+ 0
1018
+ I
1019
+ 1
1020
+ n
1021
+ p
1022
+ 34
1023
+ x
1024
+ 11
1025
+ @attributes
1026
+ x
1027
+ 4
1028
+ keys
1029
+ x
1030
+ 16
1031
+ locking_enabled?
1032
+ x
1033
+ 6
1034
+ update
1035
+ x
1036
+ 6
1037
+ empty?
1038
+ x
1039
+ 5
1040
+ class
1041
+ x
1042
+ 14
1043
+ locking_column
1044
+ x
1045
+ 4
1046
+ send
1047
+ x
1048
+ 4
1049
+ to_i
1050
+ s
1051
+ 1
1052
+ =
1053
+ x
1054
+ 1
1055
+ +
1056
+ x
1057
+ 5
1058
+ uniq!
1059
+ x
1060
+ 8
1061
+ unscoped
1062
+ x
1063
+ 5
1064
+ table
1065
+ x
1066
+ 11
1067
+ primary_key
1068
+ x
1069
+ 2
1070
+ []
1071
+ x
1072
+ 9
1073
+ quoted_id
1074
+ x
1075
+ 2
1076
+ eq
1077
+ x
1078
+ 11
1079
+ quote_value
1080
+ x
1081
+ 3
1082
+ and
1083
+ x
1084
+ 5
1085
+ where
1086
+ x
1087
+ 4
1088
+ arel
1089
+ x
1090
+ 22
1091
+ arel_attributes_values
1092
+ x
1093
+ 2
1094
+ ==
1095
+ x
1096
+ 12
1097
+ ActiveRecord
1098
+ n
1099
+ x
1100
+ 16
1101
+ StaleObjectError
1102
+ s
1103
+ 36
1104
+ Attempted to update a stale object:
1105
+ x
1106
+ 4
1107
+ name
1108
+ x
1109
+ 4
1110
+ to_s
1111
+ x
1112
+ 5
1113
+ raise
1114
+ x
1115
+ 9
1116
+ Exception
1117
+ n
1118
+ x
1119
+ 3
1120
+ ===
1121
+ p
1122
+ 45
1123
+ I
1124
+ -1
1125
+ I
1126
+ 4c
1127
+ I
1128
+ c
1129
+ I
1130
+ 4d
1131
+ I
1132
+ 1b
1133
+ I
1134
+ 4e
1135
+ I
1136
+ 28
1137
+ I
1138
+ 50
1139
+ I
1140
+ 32
1141
+ I
1142
+ 51
1143
+ I
1144
+ 3f
1145
+ I
1146
+ 52
1147
+ I
1148
+ 51
1149
+ I
1150
+ 54
1151
+ I
1152
+ 5c
1153
+ I
1154
+ 55
1155
+ I
1156
+ 62
1157
+ I
1158
+ 58
1159
+ I
1160
+ 73
1161
+ I
1162
+ 5a
1163
+ I
1164
+ 75
1165
+ I
1166
+ 5b
1167
+ I
1168
+ 8a
1169
+ I
1170
+ 5c
1171
+ I
1172
+ a3
1173
+ I
1174
+ 5b
1175
+ I
1176
+ a6
1177
+ I
1178
+ 5a
1179
+ I
1180
+ ac
1181
+ I
1182
+ 5e
1183
+ I
1184
+ b5
1185
+ I
1186
+ 5a
1187
+ I
1188
+ bb
1189
+ I
1190
+ 60
1191
+ I
1192
+ c5
1193
+ I
1194
+ 61
1195
+ I
1196
+ de
1197
+ I
1198
+ 64
1199
+ I
1200
+ e8
1201
+ I
1202
+ 67
1203
+ I
1204
+ f5
1205
+ I
1206
+ 68
1207
+ I
1208
+ 104
1209
+ I
1210
+ 69
1211
+ I
1212
+ 113
1213
+ x
1214
+ 89
1215
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
1216
+ p
1217
+ 5
1218
+ x
1219
+ 15
1220
+ attribute_names
1221
+ x
1222
+ 8
1223
+ lock_col
1224
+ x
1225
+ 14
1226
+ previous_value
1227
+ x
1228
+ 8
1229
+ relation
1230
+ x
1231
+ 13
1232
+ affected_rows
1233
+ x
1234
+ 7
1235
+ destroy
1236
+ M
1237
+ 1
1238
+ n
1239
+ n
1240
+ x
1241
+ 7
1242
+ destroy
1243
+ i
1244
+ 165
1245
+ 5
1246
+ 47
1247
+ 49
1248
+ 0
1249
+ 0
1250
+ 9
1251
+ 10
1252
+ 1
1253
+ 8
1254
+ 14
1255
+ 54
1256
+ 89
1257
+ 1
1258
+ 11
1259
+ 15
1260
+ 5
1261
+ 47
1262
+ 49
1263
+ 2
1264
+ 0
1265
+ 9
1266
+ 25
1267
+ 1
1268
+ 8
1269
+ 156
1270
+ 5
1271
+ 49
1272
+ 3
1273
+ 0
1274
+ 49
1275
+ 4
1276
+ 0
1277
+ 19
1278
+ 0
1279
+ 15
1280
+ 5
1281
+ 20
1282
+ 0
1283
+ 47
1284
+ 49
1285
+ 5
1286
+ 1
1287
+ 49
1288
+ 6
1289
+ 0
1290
+ 19
1291
+ 1
1292
+ 15
1293
+ 5
1294
+ 49
1295
+ 3
1296
+ 0
1297
+ 49
1298
+ 7
1299
+ 0
1300
+ 19
1301
+ 2
1302
+ 15
1303
+ 20
1304
+ 2
1305
+ 5
1306
+ 49
1307
+ 3
1308
+ 0
1309
+ 49
1310
+ 8
1311
+ 0
1312
+ 49
1313
+ 9
1314
+ 1
1315
+ 5
1316
+ 48
1317
+ 10
1318
+ 49
1319
+ 11
1320
+ 1
1321
+ 19
1322
+ 3
1323
+ 15
1324
+ 20
1325
+ 3
1326
+ 20
1327
+ 2
1328
+ 5
1329
+ 49
1330
+ 3
1331
+ 0
1332
+ 49
1333
+ 4
1334
+ 0
1335
+ 49
1336
+ 9
1337
+ 1
1338
+ 20
1339
+ 1
1340
+ 49
1341
+ 11
1342
+ 1
1343
+ 49
1344
+ 12
1345
+ 1
1346
+ 19
1347
+ 3
1348
+ 15
1349
+ 5
1350
+ 49
1351
+ 3
1352
+ 0
1353
+ 49
1354
+ 13
1355
+ 0
1356
+ 20
1357
+ 3
1358
+ 49
1359
+ 14
1360
+ 1
1361
+ 49
1362
+ 15
1363
+ 0
1364
+ 19
1365
+ 4
1366
+ 15
1367
+ 20
1368
+ 4
1369
+ 79
1370
+ 83
1371
+ 16
1372
+ 9
1373
+ 132
1374
+ 1
1375
+ 8
1376
+ 156
1377
+ 5
1378
+ 45
1379
+ 17
1380
+ 18
1381
+ 43
1382
+ 19
1383
+ 7
1384
+ 20
1385
+ 5
1386
+ 49
1387
+ 3
1388
+ 0
1389
+ 49
1390
+ 21
1391
+ 0
1392
+ 47
1393
+ 101
1394
+ 22
1395
+ 63
1396
+ 2
1397
+ 47
1398
+ 49
1399
+ 23
1400
+ 2
1401
+ 15
1402
+ 2
1403
+ 38
1404
+ 24
1405
+ 15
1406
+ 5
1407
+ 48
1408
+ 25
1409
+ 11
1410
+ I
1411
+ 9
1412
+ I
1413
+ 5
1414
+ I
1415
+ 0
1416
+ I
1417
+ 0
1418
+ n
1419
+ p
1420
+ 26
1421
+ x
1422
+ 16
1423
+ locking_enabled?
1424
+ x
1425
+ 7
1426
+ destroy
1427
+ x
1428
+ 11
1429
+ new_record?
1430
+ x
1431
+ 5
1432
+ class
1433
+ x
1434
+ 14
1435
+ locking_column
1436
+ x
1437
+ 4
1438
+ send
1439
+ x
1440
+ 4
1441
+ to_i
1442
+ x
1443
+ 10
1444
+ arel_table
1445
+ x
1446
+ 11
1447
+ primary_key
1448
+ x
1449
+ 2
1450
+ []
1451
+ x
1452
+ 2
1453
+ id
1454
+ x
1455
+ 2
1456
+ eq
1457
+ x
1458
+ 3
1459
+ and
1460
+ x
1461
+ 8
1462
+ unscoped
1463
+ x
1464
+ 5
1465
+ where
1466
+ x
1467
+ 10
1468
+ delete_all
1469
+ x
1470
+ 2
1471
+ ==
1472
+ x
1473
+ 12
1474
+ ActiveRecord
1475
+ n
1476
+ x
1477
+ 16
1478
+ StaleObjectError
1479
+ s
1480
+ 36
1481
+ Attempted to delete a stale object:
1482
+ x
1483
+ 4
1484
+ name
1485
+ x
1486
+ 4
1487
+ to_s
1488
+ x
1489
+ 5
1490
+ raise
1491
+ x
1492
+ 10
1493
+ @destroyed
1494
+ x
1495
+ 6
1496
+ freeze
1497
+ p
1498
+ 27
1499
+ I
1500
+ -1
1501
+ I
1502
+ 6d
1503
+ I
1504
+ 0
1505
+ I
1506
+ 6e
1507
+ I
1508
+ f
1509
+ I
1510
+ 70
1511
+ I
1512
+ 19
1513
+ I
1514
+ 71
1515
+ I
1516
+ 23
1517
+ I
1518
+ 72
1519
+ I
1520
+ 30
1521
+ I
1522
+ 74
1523
+ I
1524
+ 3a
1525
+ I
1526
+ 75
1527
+ I
1528
+ 4f
1529
+ I
1530
+ 76
1531
+ I
1532
+ 68
1533
+ I
1534
+ 78
1535
+ I
1536
+ 7a
1537
+ I
1538
+ 7a
1539
+ I
1540
+ 84
1541
+ I
1542
+ 7b
1543
+ I
1544
+ 9d
1545
+ I
1546
+ 7f
1547
+ I
1548
+ a1
1549
+ I
1550
+ 80
1551
+ I
1552
+ a5
1553
+ x
1554
+ 89
1555
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
1556
+ p
1557
+ 5
1558
+ x
1559
+ 8
1560
+ lock_col
1561
+ x
1562
+ 14
1563
+ previous_value
1564
+ x
1565
+ 5
1566
+ table
1567
+ x
1568
+ 9
1569
+ predicate
1570
+ x
1571
+ 13
1572
+ affected_rows
1573
+ x
1574
+ 12
1575
+ ClassMethods
1576
+ x
1577
+ 11
1578
+ open_module
1579
+ x
1580
+ 15
1581
+ __module_init__
1582
+ M
1583
+ 1
1584
+ n
1585
+ n
1586
+ x
1587
+ 12
1588
+ ClassMethods
1589
+ i
1590
+ 96
1591
+ 5
1592
+ 66
1593
+ 65
1594
+ 7
1595
+ 0
1596
+ 7
1597
+ 1
1598
+ 64
1599
+ 49
1600
+ 2
1601
+ 2
1602
+ 15
1603
+ 99
1604
+ 7
1605
+ 3
1606
+ 7
1607
+ 4
1608
+ 65
1609
+ 67
1610
+ 49
1611
+ 5
1612
+ 0
1613
+ 49
1614
+ 6
1615
+ 4
1616
+ 15
1617
+ 99
1618
+ 7
1619
+ 7
1620
+ 7
1621
+ 8
1622
+ 65
1623
+ 67
1624
+ 49
1625
+ 5
1626
+ 0
1627
+ 49
1628
+ 6
1629
+ 4
1630
+ 15
1631
+ 99
1632
+ 7
1633
+ 9
1634
+ 7
1635
+ 10
1636
+ 65
1637
+ 67
1638
+ 49
1639
+ 5
1640
+ 0
1641
+ 49
1642
+ 6
1643
+ 4
1644
+ 15
1645
+ 99
1646
+ 7
1647
+ 11
1648
+ 7
1649
+ 12
1650
+ 65
1651
+ 67
1652
+ 49
1653
+ 5
1654
+ 0
1655
+ 49
1656
+ 6
1657
+ 4
1658
+ 15
1659
+ 99
1660
+ 7
1661
+ 13
1662
+ 7
1663
+ 14
1664
+ 65
1665
+ 67
1666
+ 49
1667
+ 5
1668
+ 0
1669
+ 49
1670
+ 6
1671
+ 4
1672
+ 15
1673
+ 99
1674
+ 7
1675
+ 15
1676
+ 7
1677
+ 16
1678
+ 65
1679
+ 67
1680
+ 49
1681
+ 5
1682
+ 0
1683
+ 49
1684
+ 6
1685
+ 4
1686
+ 11
1687
+ I
1688
+ 5
1689
+ I
1690
+ 0
1691
+ I
1692
+ 0
1693
+ I
1694
+ 0
1695
+ n
1696
+ p
1697
+ 17
1698
+ x
1699
+ 22
1700
+ DEFAULT_LOCKING_COLUMN
1701
+ s
1702
+ 12
1703
+ lock_version
1704
+ x
1705
+ 9
1706
+ const_set
1707
+ x
1708
+ 16
1709
+ locking_enabled?
1710
+ M
1711
+ 1
1712
+ n
1713
+ n
1714
+ x
1715
+ 16
1716
+ locking_enabled?
1717
+ i
1718
+ 17
1719
+ 5
1720
+ 48
1721
+ 0
1722
+ 13
1723
+ 9
1724
+ 16
1725
+ 15
1726
+ 5
1727
+ 48
1728
+ 1
1729
+ 5
1730
+ 48
1731
+ 2
1732
+ 49
1733
+ 3
1734
+ 1
1735
+ 11
1736
+ I
1737
+ 2
1738
+ I
1739
+ 0
1740
+ I
1741
+ 0
1742
+ I
1743
+ 0
1744
+ n
1745
+ p
1746
+ 4
1747
+ x
1748
+ 19
1749
+ lock_optimistically
1750
+ x
1751
+ 12
1752
+ columns_hash
1753
+ x
1754
+ 14
1755
+ locking_column
1756
+ x
1757
+ 2
1758
+ []
1759
+ p
1760
+ 5
1761
+ I
1762
+ -1
1763
+ I
1764
+ 8a
1765
+ I
1766
+ 0
1767
+ I
1768
+ 8b
1769
+ I
1770
+ 11
1771
+ x
1772
+ 89
1773
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
1774
+ p
1775
+ 0
1776
+ x
1777
+ 17
1778
+ method_visibility
1779
+ x
1780
+ 15
1781
+ add_defn_method
1782
+ x
1783
+ 18
1784
+ set_locking_column
1785
+ M
1786
+ 1
1787
+ n
1788
+ n
1789
+ x
1790
+ 18
1791
+ set_locking_column
1792
+ i
1793
+ 38
1794
+ 23
1795
+ 0
1796
+ 10
1797
+ 8
1798
+ 1
1799
+ 19
1800
+ 0
1801
+ 15
1802
+ 95
1803
+ 19
1804
+ 1
1805
+ 15
1806
+ 5
1807
+ 7
1808
+ 0
1809
+ 20
1810
+ 0
1811
+ 20
1812
+ 1
1813
+ 13
1814
+ 70
1815
+ 10
1816
+ 30
1817
+ 44
1818
+ 43
1819
+ 1
1820
+ 12
1821
+ 49
1822
+ 2
1823
+ 1
1824
+ 47
1825
+ 50
1826
+ 3
1827
+ 2
1828
+ 15
1829
+ 20
1830
+ 0
1831
+ 11
1832
+ I
1833
+ 7
1834
+ I
1835
+ 2
1836
+ I
1837
+ 0
1838
+ I
1839
+ 1
1840
+ n
1841
+ p
1842
+ 4
1843
+ x
1844
+ 14
1845
+ locking_column
1846
+ x
1847
+ 4
1848
+ Proc
1849
+ x
1850
+ 14
1851
+ __from_block__
1852
+ x
1853
+ 18
1854
+ define_attr_method
1855
+ p
1856
+ 7
1857
+ I
1858
+ -1
1859
+ I
1860
+ 8f
1861
+ I
1862
+ c
1863
+ I
1864
+ 90
1865
+ I
1866
+ 23
1867
+ I
1868
+ 91
1869
+ I
1870
+ 26
1871
+ x
1872
+ 89
1873
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
1874
+ p
1875
+ 2
1876
+ x
1877
+ 5
1878
+ value
1879
+ x
1880
+ 5
1881
+ block
1882
+ x
1883
+ 14
1884
+ locking_column
1885
+ M
1886
+ 1
1887
+ n
1888
+ n
1889
+ x
1890
+ 14
1891
+ locking_column
1892
+ i
1893
+ 4
1894
+ 5
1895
+ 48
1896
+ 0
1897
+ 11
1898
+ I
1899
+ 1
1900
+ I
1901
+ 0
1902
+ I
1903
+ 0
1904
+ I
1905
+ 0
1906
+ n
1907
+ p
1908
+ 1
1909
+ x
1910
+ 20
1911
+ reset_locking_column
1912
+ p
1913
+ 5
1914
+ I
1915
+ -1
1916
+ I
1917
+ 95
1918
+ I
1919
+ 0
1920
+ I
1921
+ 96
1922
+ I
1923
+ 4
1924
+ x
1925
+ 89
1926
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
1927
+ p
1928
+ 0
1929
+ x
1930
+ 21
1931
+ quoted_locking_column
1932
+ M
1933
+ 1
1934
+ n
1935
+ n
1936
+ x
1937
+ 21
1938
+ quoted_locking_column
1939
+ i
1940
+ 10
1941
+ 5
1942
+ 48
1943
+ 0
1944
+ 5
1945
+ 48
1946
+ 1
1947
+ 49
1948
+ 2
1949
+ 1
1950
+ 11
1951
+ I
1952
+ 2
1953
+ I
1954
+ 0
1955
+ I
1956
+ 0
1957
+ I
1958
+ 0
1959
+ n
1960
+ p
1961
+ 3
1962
+ x
1963
+ 10
1964
+ connection
1965
+ x
1966
+ 14
1967
+ locking_column
1968
+ x
1969
+ 17
1970
+ quote_column_name
1971
+ p
1972
+ 5
1973
+ I
1974
+ -1
1975
+ I
1976
+ 9a
1977
+ I
1978
+ 0
1979
+ I
1980
+ 9b
1981
+ I
1982
+ a
1983
+ x
1984
+ 89
1985
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
1986
+ p
1987
+ 0
1988
+ x
1989
+ 20
1990
+ reset_locking_column
1991
+ M
1992
+ 1
1993
+ n
1994
+ n
1995
+ x
1996
+ 20
1997
+ reset_locking_column
1998
+ i
1999
+ 9
2000
+ 5
2001
+ 45
2002
+ 0
2003
+ 1
2004
+ 47
2005
+ 49
2006
+ 2
2007
+ 1
2008
+ 11
2009
+ I
2010
+ 2
2011
+ I
2012
+ 0
2013
+ I
2014
+ 0
2015
+ I
2016
+ 0
2017
+ n
2018
+ p
2019
+ 3
2020
+ x
2021
+ 22
2022
+ DEFAULT_LOCKING_COLUMN
2023
+ n
2024
+ x
2025
+ 18
2026
+ set_locking_column
2027
+ p
2028
+ 5
2029
+ I
2030
+ -1
2031
+ I
2032
+ 9f
2033
+ I
2034
+ 0
2035
+ I
2036
+ a0
2037
+ I
2038
+ 9
2039
+ x
2040
+ 89
2041
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
2042
+ p
2043
+ 0
2044
+ x
2045
+ 15
2046
+ update_counters
2047
+ M
2048
+ 1
2049
+ n
2050
+ n
2051
+ x
2052
+ 15
2053
+ update_counters
2054
+ i
2055
+ 38
2056
+ 5
2057
+ 47
2058
+ 49
2059
+ 0
2060
+ 0
2061
+ 9
2062
+ 32
2063
+ 20
2064
+ 1
2065
+ 44
2066
+ 43
2067
+ 1
2068
+ 79
2069
+ 49
2070
+ 2
2071
+ 1
2072
+ 13
2073
+ 5
2074
+ 48
2075
+ 3
2076
+ 79
2077
+ 49
2078
+ 4
2079
+ 2
2080
+ 15
2081
+ 49
2082
+ 5
2083
+ 1
2084
+ 19
2085
+ 1
2086
+ 8
2087
+ 33
2088
+ 1
2089
+ 15
2090
+ 54
2091
+ 89
2092
+ 6
2093
+ 11
2094
+ I
2095
+ 7
2096
+ I
2097
+ 2
2098
+ I
2099
+ 2
2100
+ I
2101
+ 2
2102
+ n
2103
+ p
2104
+ 7
2105
+ x
2106
+ 16
2107
+ locking_enabled?
2108
+ x
2109
+ 4
2110
+ Hash
2111
+ x
2112
+ 16
2113
+ new_from_literal
2114
+ x
2115
+ 14
2116
+ locking_column
2117
+ x
2118
+ 3
2119
+ []=
2120
+ x
2121
+ 5
2122
+ merge
2123
+ x
2124
+ 15
2125
+ update_counters
2126
+ p
2127
+ 7
2128
+ I
2129
+ -1
2130
+ I
2131
+ a5
2132
+ I
2133
+ 0
2134
+ I
2135
+ a6
2136
+ I
2137
+ 22
2138
+ I
2139
+ a7
2140
+ I
2141
+ 26
2142
+ x
2143
+ 89
2144
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
2145
+ p
2146
+ 2
2147
+ x
2148
+ 2
2149
+ id
2150
+ x
2151
+ 8
2152
+ counters
2153
+ p
2154
+ 15
2155
+ I
2156
+ 2
2157
+ I
2158
+ 84
2159
+ I
2160
+ c
2161
+ I
2162
+ 8a
2163
+ I
2164
+ 1a
2165
+ I
2166
+ 8f
2167
+ I
2168
+ 28
2169
+ I
2170
+ 95
2171
+ I
2172
+ 36
2173
+ I
2174
+ 9a
2175
+ I
2176
+ 44
2177
+ I
2178
+ 9f
2179
+ I
2180
+ 52
2181
+ I
2182
+ a5
2183
+ I
2184
+ 60
2185
+ x
2186
+ 89
2187
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
2188
+ p
2189
+ 0
2190
+ x
2191
+ 13
2192
+ attach_method
2193
+ p
2194
+ 17
2195
+ I
2196
+ 2
2197
+ I
2198
+ 2d
2199
+ I
2200
+ d
2201
+ I
2202
+ 2f
2203
+ I
2204
+ 15
2205
+ I
2206
+ 38
2207
+ I
2208
+ 23
2209
+ I
2210
+ 3c
2211
+ I
2212
+ 27
2213
+ I
2214
+ 3d
2215
+ I
2216
+ 35
2217
+ I
2218
+ 4c
2219
+ I
2220
+ 43
2221
+ I
2222
+ 6d
2223
+ I
2224
+ 51
2225
+ I
2226
+ 83
2227
+ I
2228
+ 6b
2229
+ x
2230
+ 89
2231
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
2232
+ p
2233
+ 0
2234
+ x
2235
+ 13
2236
+ attach_method
2237
+ p
2238
+ 3
2239
+ I
2240
+ 2
2241
+ I
2242
+ 2c
2243
+ I
2244
+ 1c
2245
+ x
2246
+ 89
2247
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
2248
+ p
2249
+ 0
2250
+ x
2251
+ 13
2252
+ attach_method
2253
+ p
2254
+ 3
2255
+ I
2256
+ 2
2257
+ I
2258
+ 2
2259
+ I
2260
+ 1c
2261
+ x
2262
+ 89
2263
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
2264
+ p
2265
+ 0
2266
+ x
2267
+ 13
2268
+ attach_method
2269
+ p
2270
+ 3
2271
+ I
2272
+ 0
2273
+ I
2274
+ 1
2275
+ I
2276
+ 1c
2277
+ x
2278
+ 89
2279
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/locking/optimistic.rb
2280
+ p
2281
+ 0