activemodel 3.0.6 → 3.0.7.rc1

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