activerecord 3.0.7.rc2 → 3.0.7

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 (68) hide show
  1. data/CHANGELOG +1 -1
  2. data/lib/active_record/version.rb +1 -1
  3. metadata +13 -88
  4. data/lib/active_record.rbc +0 -1825
  5. data/lib/active_record/aggregations.rbc +0 -2173
  6. data/lib/active_record/association_preload.rbc +0 -8379
  7. data/lib/active_record/associations.rbc +0 -25180
  8. data/lib/active_record/associations/association_collection.rbc +0 -11174
  9. data/lib/active_record/associations/association_proxy.rbc +0 -4435
  10. data/lib/active_record/associations/belongs_to_association.rbc +0 -1867
  11. data/lib/active_record/associations/belongs_to_polymorphic_association.rbc +0 -1718
  12. data/lib/active_record/associations/has_many_association.rbc +0 -2553
  13. data/lib/active_record/associations/has_many_through_association.rbc +0 -2381
  14. data/lib/active_record/associations/has_one_association.rbc +0 -2919
  15. data/lib/active_record/associations/through_association_scope.rbc +0 -3411
  16. data/lib/active_record/attribute_methods.rbc +0 -1473
  17. data/lib/active_record/attribute_methods/before_type_cast.rbc +0 -700
  18. data/lib/active_record/attribute_methods/dirty.rbc +0 -1627
  19. data/lib/active_record/attribute_methods/primary_key.rbc +0 -1017
  20. data/lib/active_record/attribute_methods/query.rbc +0 -786
  21. data/lib/active_record/attribute_methods/read.rbc +0 -2614
  22. data/lib/active_record/attribute_methods/time_zone_conversion.rbc +0 -1148
  23. data/lib/active_record/attribute_methods/write.rbc +0 -998
  24. data/lib/active_record/autosave_association.rbc +0 -4143
  25. data/lib/active_record/base.rbc +0 -23583
  26. data/lib/active_record/callbacks.rbc +0 -1562
  27. data/lib/active_record/connection_adapters/abstract/connection_pool.rbc +0 -5041
  28. data/lib/active_record/connection_adapters/abstract/connection_specification.rbc +0 -1752
  29. data/lib/active_record/connection_adapters/abstract/database_limits.rbc +0 -877
  30. data/lib/active_record/connection_adapters/abstract/database_statements.rbc +0 -4704
  31. data/lib/active_record/connection_adapters/abstract/query_cache.rbc +0 -1519
  32. data/lib/active_record/connection_adapters/abstract/quoting.rbc +0 -1566
  33. data/lib/active_record/connection_adapters/abstract/schema_definitions.rbc +0 -10452
  34. data/lib/active_record/connection_adapters/abstract/schema_statements.rbc +0 -6987
  35. data/lib/active_record/connection_adapters/abstract_adapter.rbc +0 -2890
  36. data/lib/active_record/connection_adapters/postgresql_adapter.rbc +0 -16913
  37. data/lib/active_record/connection_adapters/sqlite3_adapter.rbc +0 -1265
  38. data/lib/active_record/connection_adapters/sqlite_adapter.rbc +0 -0
  39. data/lib/active_record/counter_cache.rbc +0 -1191
  40. data/lib/active_record/dynamic_finder_match.rbc +0 -1091
  41. data/lib/active_record/dynamic_scope_match.rbc +0 -514
  42. data/lib/active_record/errors.rbc +0 -1077
  43. data/lib/active_record/locking/optimistic.rbc +0 -2281
  44. data/lib/active_record/locking/pessimistic.rbc +0 -384
  45. data/lib/active_record/log_subscriber.rbc +0 -1055
  46. data/lib/active_record/migration.rbc +0 -8513
  47. data/lib/active_record/named_scope.rbc +0 -1347
  48. data/lib/active_record/nested_attributes.rbc +0 -3599
  49. data/lib/active_record/observer.rbc +0 -941
  50. data/lib/active_record/persistence.rbc +0 -3631
  51. data/lib/active_record/query_cache.rbc +0 -760
  52. data/lib/active_record/railtie.rbc +0 -2109
  53. data/lib/active_record/railties/controller_runtime.rbc +0 -838
  54. data/lib/active_record/reflection.rbc +0 -6897
  55. data/lib/active_record/relation.rbc +0 -6006
  56. data/lib/active_record/relation/batches.rbc +0 -1078
  57. data/lib/active_record/relation/calculations.rbc +0 -4012
  58. data/lib/active_record/relation/finder_methods.rbc +0 -5264
  59. data/lib/active_record/relation/query_methods.rbc +0 -6458
  60. data/lib/active_record/relation/spawn_methods.rbc +0 -3034
  61. data/lib/active_record/serialization.rbc +0 -1302
  62. data/lib/active_record/serializers/xml_serializer.rbc +0 -1866
  63. data/lib/active_record/timestamp.rbc +0 -1354
  64. data/lib/active_record/transactions.rbc +0 -3348
  65. data/lib/active_record/validations.rbc +0 -1597
  66. data/lib/active_record/validations/associated.rbc +0 -681
  67. data/lib/active_record/validations/uniqueness.rbc +0 -1803
  68. data/lib/active_record/version.rbc +0 -295
@@ -1,1148 +0,0 @@
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
- 18
168
- TimeZoneConversion
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
- 18
181
- TimeZoneConversion
182
- i
183
- 47
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
- 65
209
- 49
210
- 7
211
- 2
212
- 13
213
- 99
214
- 12
215
- 7
216
- 8
217
- 12
218
- 7
219
- 9
220
- 12
221
- 65
222
- 12
223
- 49
224
- 10
225
- 4
226
- 15
227
- 49
228
- 8
229
- 0
230
- 11
231
- I
232
- 6
233
- I
234
- 0
235
- I
236
- 0
237
- I
238
- 0
239
- n
240
- p
241
- 11
242
- x
243
- 13
244
- ActiveSupport
245
- n
246
- x
247
- 7
248
- Concern
249
- x
250
- 6
251
- extend
252
- M
253
- 1
254
- p
255
- 2
256
- x
257
- 9
258
- for_block
259
- t
260
- n
261
- x
262
- 18
263
- TimeZoneConversion
264
- i
265
- 69
266
- 5
267
- 7
268
- 0
269
- 44
270
- 43
271
- 1
272
- 79
273
- 49
274
- 2
275
- 1
276
- 13
277
- 7
278
- 3
279
- 3
280
- 49
281
- 4
282
- 2
283
- 15
284
- 47
285
- 49
286
- 5
287
- 2
288
- 15
289
- 5
290
- 3
291
- 13
292
- 18
293
- 2
294
- 47
295
- 49
296
- 6
297
- 1
298
- 15
299
- 15
300
- 5
301
- 7
302
- 7
303
- 44
304
- 43
305
- 1
306
- 79
307
- 49
308
- 2
309
- 1
310
- 13
311
- 7
312
- 3
313
- 3
314
- 49
315
- 4
316
- 2
317
- 15
318
- 47
319
- 49
320
- 8
321
- 2
322
- 15
323
- 5
324
- 35
325
- 0
326
- 13
327
- 18
328
- 2
329
- 47
330
- 49
331
- 9
332
- 1
333
- 15
334
- 11
335
- I
336
- 7
337
- I
338
- 0
339
- I
340
- 0
341
- I
342
- 0
343
- I
344
- -2
345
- p
346
- 10
347
- x
348
- 26
349
- time_zone_aware_attributes
350
- x
351
- 4
352
- Hash
353
- x
354
- 16
355
- new_from_literal
356
- x
357
- 15
358
- instance_writer
359
- x
360
- 3
361
- []=
362
- x
363
- 14
364
- cattr_accessor
365
- x
366
- 27
367
- time_zone_aware_attributes=
368
- x
369
- 40
370
- skip_time_zone_conversion_for_attributes
371
- x
372
- 26
373
- class_inheritable_accessor
374
- x
375
- 41
376
- skip_time_zone_conversion_for_attributes=
377
- p
378
- 13
379
- I
380
- 0
381
- I
382
- 7
383
- I
384
- 17
385
- I
386
- 40
387
- I
388
- 18
389
- I
390
- 8
391
- I
392
- 22
393
- I
394
- a
395
- I
396
- 39
397
- I
398
- 40
399
- I
400
- 3a
401
- I
402
- b
403
- I
404
- 45
405
- x
406
- 109
407
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
408
- p
409
- 0
410
- x
411
- 8
412
- included
413
- x
414
- 12
415
- ClassMethods
416
- x
417
- 11
418
- open_module
419
- x
420
- 15
421
- __module_init__
422
- M
423
- 1
424
- n
425
- n
426
- x
427
- 12
428
- ClassMethods
429
- i
430
- 52
431
- 5
432
- 66
433
- 5
434
- 48
435
- 0
436
- 15
437
- 99
438
- 7
439
- 1
440
- 7
441
- 2
442
- 65
443
- 67
444
- 49
445
- 3
446
- 0
447
- 49
448
- 4
449
- 4
450
- 15
451
- 99
452
- 7
453
- 5
454
- 7
455
- 6
456
- 65
457
- 67
458
- 49
459
- 3
460
- 0
461
- 49
462
- 4
463
- 4
464
- 15
465
- 5
466
- 48
467
- 7
468
- 15
469
- 99
470
- 7
471
- 8
472
- 7
473
- 9
474
- 65
475
- 67
476
- 49
477
- 3
478
- 0
479
- 49
480
- 4
481
- 4
482
- 11
483
- I
484
- 5
485
- I
486
- 0
487
- I
488
- 0
489
- I
490
- 0
491
- n
492
- p
493
- 10
494
- x
495
- 9
496
- protected
497
- x
498
- 23
499
- define_method_attribute
500
- M
501
- 1
502
- n
503
- n
504
- x
505
- 23
506
- define_method_attribute
507
- i
508
- 98
509
- 5
510
- 20
511
- 0
512
- 5
513
- 48
514
- 0
515
- 20
516
- 0
517
- 49
518
- 1
519
- 1
520
- 47
521
- 49
522
- 2
523
- 2
524
- 9
525
- 94
526
- 7
527
- 3
528
- 20
529
- 0
530
- 47
531
- 101
532
- 4
533
- 7
534
- 5
535
- 20
536
- 0
537
- 47
538
- 101
539
- 4
540
- 7
541
- 6
542
- 20
543
- 0
544
- 47
545
- 101
546
- 4
547
- 7
548
- 7
549
- 20
550
- 0
551
- 47
552
- 101
553
- 4
554
- 7
555
- 8
556
- 20
557
- 0
558
- 47
559
- 101
560
- 4
561
- 7
562
- 9
563
- 20
564
- 0
565
- 47
566
- 101
567
- 4
568
- 7
569
- 10
570
- 63
571
- 13
572
- 4
573
- 21
574
- 79
575
- 81
576
- 11
577
- 17
578
- 2
579
- 19
580
- 1
581
- 15
582
- 19
583
- 2
584
- 15
585
- 2
586
- 15
587
- 5
588
- 48
589
- 12
590
- 20
591
- 1
592
- 65
593
- 49
594
- 13
595
- 0
596
- 20
597
- 2
598
- 49
599
- 14
600
- 3
601
- 8
602
- 97
603
- 54
604
- 89
605
- 15
606
- 11
607
- I
608
- 10
609
- I
610
- 3
611
- I
612
- 1
613
- I
614
- 1
615
- n
616
- p
617
- 16
618
- x
619
- 12
620
- columns_hash
621
- x
622
- 2
623
- []
624
- x
625
- 38
626
- create_time_zone_conversion_attribute?
627
- s
628
- 21
629
- def _
630
- x
631
- 4
632
- to_s
633
- s
634
- 63
635
- (reload = false)
636
- cached = @attributes_cache['
637
- s
638
- 98
639
- ']
640
- return cached if cached && !reload
641
- time = _read_attribute('
642
- s
643
- 40
644
- ')
645
- @attributes_cache['
646
- s
647
- 97
648
- '] = time.acts_like?(:time) ? time.in_time_zone : time
649
- end
650
- alias
651
- s
652
- 2
653
- _
654
- s
655
- 1
656
-
657
-
658
- x
659
- 1
660
- +
661
- x
662
- 27
663
- generated_attribute_methods
664
- x
665
- 11
666
- active_path
667
- x
668
- 11
669
- module_eval
670
- x
671
- 23
672
- define_method_attribute
673
- p
674
- 21
675
- I
676
- -1
677
- I
678
- 13
679
- I
680
- 0
681
- I
682
- 14
683
- I
684
- 11
685
- I
686
- 16
687
- I
688
- 1a
689
- I
690
- 17
691
- I
692
- 21
693
- I
694
- 19
695
- I
696
- 28
697
- I
698
- 1a
699
- I
700
- 2f
701
- I
702
- 1c
703
- I
704
- 3f
705
- I
706
- 15
707
- I
708
- 4e
709
- I
710
- 1e
711
- I
712
- 5e
713
- I
714
- 20
715
- I
716
- 62
717
- x
718
- 109
719
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
720
- p
721
- 3
722
- x
723
- 9
724
- attr_name
725
- x
726
- 11
727
- method_body
728
- x
729
- 4
730
- line
731
- x
732
- 17
733
- method_visibility
734
- x
735
- 15
736
- add_defn_method
737
- x
738
- 24
739
- define_method_attribute=
740
- M
741
- 1
742
- n
743
- n
744
- x
745
- 24
746
- define_method_attribute=
747
- i
748
- 77
749
- 5
750
- 20
751
- 0
752
- 5
753
- 48
754
- 0
755
- 20
756
- 0
757
- 49
758
- 1
759
- 1
760
- 47
761
- 49
762
- 2
763
- 2
764
- 9
765
- 73
766
- 7
767
- 3
768
- 20
769
- 0
770
- 47
771
- 101
772
- 4
773
- 7
774
- 5
775
- 20
776
- 0
777
- 47
778
- 101
779
- 4
780
- 7
781
- 6
782
- 20
783
- 0
784
- 47
785
- 101
786
- 4
787
- 7
788
- 7
789
- 63
790
- 7
791
- 4
792
- 40
793
- 79
794
- 81
795
- 8
796
- 17
797
- 2
798
- 19
799
- 1
800
- 15
801
- 19
802
- 2
803
- 15
804
- 2
805
- 15
806
- 5
807
- 48
808
- 9
809
- 20
810
- 1
811
- 65
812
- 49
813
- 10
814
- 0
815
- 20
816
- 2
817
- 49
818
- 11
819
- 3
820
- 8
821
- 76
822
- 54
823
- 89
824
- 12
825
- 11
826
- I
827
- a
828
- I
829
- 3
830
- I
831
- 1
832
- I
833
- 1
834
- n
835
- p
836
- 13
837
- x
838
- 12
839
- columns_hash
840
- x
841
- 2
842
- []
843
- x
844
- 38
845
- create_time_zone_conversion_attribute?
846
- s
847
- 20
848
- def
849
- x
850
- 4
851
- to_s
852
- s
853
- 320
854
- =(original_time)
855
- time = original_time
856
- unless time.acts_like?(:time)
857
- time = time.is_a?(String) ? Time.zone.parse(time) : time.to_time rescue time
858
- end
859
- time = time.in_time_zone rescue nil if time
860
- write_attribute(:
861
- s
862
- 54
863
- , original_time)
864
- @attributes_cache["
865
- s
866
- 30
867
- "] = time
868
- end
869
-
870
- x
871
- 1
872
- +
873
- x
874
- 27
875
- generated_attribute_methods
876
- x
877
- 11
878
- active_path
879
- x
880
- 11
881
- module_eval
882
- x
883
- 24
884
- define_method_attribute=
885
- p
886
- 17
887
- I
888
- -1
889
- I
890
- 26
891
- I
892
- 0
893
- I
894
- 27
895
- I
896
- 11
897
- I
898
- 29
899
- I
900
- 1a
901
- I
902
- 2f
903
- I
904
- 21
905
- I
906
- 30
907
- I
908
- 2a
909
- I
910
- 28
911
- I
912
- 39
913
- I
914
- 33
915
- I
916
- 49
917
- I
918
- 35
919
- I
920
- 4d
921
- x
922
- 109
923
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
924
- p
925
- 3
926
- x
927
- 9
928
- attr_name
929
- x
930
- 11
931
- method_body
932
- x
933
- 4
934
- line
935
- x
936
- 7
937
- private
938
- x
939
- 38
940
- create_time_zone_conversion_attribute?
941
- M
942
- 1
943
- n
944
- n
945
- x
946
- 38
947
- create_time_zone_conversion_attribute?
948
- i
949
- 43
950
- 5
951
- 48
952
- 0
953
- 13
954
- 9
955
- 42
956
- 15
957
- 5
958
- 48
959
- 1
960
- 20
961
- 0
962
- 49
963
- 2
964
- 0
965
- 49
966
- 3
967
- 1
968
- 10
969
- 23
970
- 2
971
- 8
972
- 24
973
- 3
974
- 13
975
- 9
976
- 42
977
- 15
978
- 7
979
- 4
980
- 7
981
- 5
982
- 35
983
- 2
984
- 20
985
- 1
986
- 49
987
- 6
988
- 0
989
- 49
990
- 3
991
- 1
992
- 11
993
- I
994
- 4
995
- I
996
- 2
997
- I
998
- 2
999
- I
1000
- 2
1001
- n
1002
- p
1003
- 7
1004
- x
1005
- 26
1006
- time_zone_aware_attributes
1007
- x
1008
- 40
1009
- skip_time_zone_conversion_for_attributes
1010
- x
1011
- 6
1012
- to_sym
1013
- x
1014
- 8
1015
- include?
1016
- x
1017
- 8
1018
- datetime
1019
- x
1020
- 9
1021
- timestamp
1022
- x
1023
- 4
1024
- type
1025
- p
1026
- 5
1027
- I
1028
- -1
1029
- I
1030
- 3a
1031
- I
1032
- 0
1033
- I
1034
- 3b
1035
- I
1036
- 2b
1037
- x
1038
- 109
1039
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
1040
- p
1041
- 2
1042
- x
1043
- 4
1044
- name
1045
- x
1046
- 6
1047
- column
1048
- p
1049
- 11
1050
- I
1051
- 2
1052
- I
1053
- f
1054
- I
1055
- 6
1056
- I
1057
- 13
1058
- I
1059
- 14
1060
- I
1061
- 26
1062
- I
1063
- 22
1064
- I
1065
- 39
1066
- I
1067
- 26
1068
- I
1069
- 3a
1070
- I
1071
- 34
1072
- x
1073
- 109
1074
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
1075
- p
1076
- 0
1077
- x
1078
- 13
1079
- attach_method
1080
- p
1081
- 7
1082
- I
1083
- 2
1084
- I
1085
- 4
1086
- I
1087
- d
1088
- I
1089
- 6
1090
- I
1091
- 15
1092
- I
1093
- e
1094
- I
1095
- 2f
1096
- x
1097
- 109
1098
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
1099
- p
1100
- 0
1101
- x
1102
- 13
1103
- attach_method
1104
- p
1105
- 3
1106
- I
1107
- 2
1108
- I
1109
- 3
1110
- I
1111
- 1c
1112
- x
1113
- 109
1114
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
1115
- p
1116
- 0
1117
- x
1118
- 13
1119
- attach_method
1120
- p
1121
- 3
1122
- I
1123
- 2
1124
- I
1125
- 2
1126
- I
1127
- 1c
1128
- x
1129
- 109
1130
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
1131
- p
1132
- 0
1133
- x
1134
- 13
1135
- attach_method
1136
- p
1137
- 3
1138
- I
1139
- 0
1140
- I
1141
- 1
1142
- I
1143
- 1c
1144
- x
1145
- 109
1146
- /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
1147
- p
1148
- 0