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.
- data/CHANGELOG +5 -0
- data/lib/active_model.rbc +781 -0
- data/lib/active_model/attribute_methods.rbc +4425 -0
- data/lib/active_model/callbacks.rbc +1164 -0
- data/lib/active_model/conversion.rbc +416 -0
- data/lib/active_model/deprecated_error_methods.rbc +899 -0
- data/lib/active_model/dirty.rbc +1538 -0
- data/lib/active_model/errors.rbc +3944 -0
- data/lib/active_model/mass_assignment_security.rbc +1407 -0
- data/lib/active_model/mass_assignment_security/permission_set.rbc +956 -0
- data/lib/active_model/mass_assignment_security/sanitizer.rbc +663 -0
- data/lib/active_model/naming.rbc +1547 -0
- data/lib/active_model/observing.rbc +2496 -0
- data/lib/active_model/railtie.rbc +69 -0
- data/lib/active_model/serialization.rbc +763 -0
- data/lib/active_model/serializers/json.rbc +802 -0
- data/lib/active_model/serializers/xml.rbc +3540 -0
- data/lib/active_model/translation.rbc +988 -0
- data/lib/active_model/validations.rbc +2398 -0
- data/lib/active_model/validations/acceptance.rbc +955 -0
- data/lib/active_model/validations/callbacks.rbc +1441 -0
- data/lib/active_model/validations/confirmation.rbc +757 -0
- data/lib/active_model/validations/exclusion.rbc +739 -0
- data/lib/active_model/validations/format.rbc +972 -0
- data/lib/active_model/validations/inclusion.rbc +997 -0
- data/lib/active_model/validations/length.rbc +1814 -0
- data/lib/active_model/validations/numericality.rbc +2163 -0
- data/lib/active_model/validations/presence.rbc +537 -0
- data/lib/active_model/validations/validates.rbc +1128 -0
- data/lib/active_model/validations/with.rbc +1058 -0
- data/lib/active_model/validator.rbc +1507 -0
- data/lib/active_model/version.rb +2 -2
- data/lib/active_model/version.rbc +295 -0
- metadata +50 -13
@@ -0,0 +1,1441 @@
|
|
1
|
+
!RBIX
|
2
|
+
12079494195756429234
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
37
|
13
|
+
5
|
14
|
+
7
|
15
|
+
0
|
16
|
+
64
|
17
|
+
47
|
18
|
+
49
|
19
|
+
1
|
20
|
+
1
|
21
|
+
15
|
22
|
+
99
|
23
|
+
7
|
24
|
+
2
|
25
|
+
65
|
26
|
+
49
|
27
|
+
3
|
28
|
+
2
|
29
|
+
13
|
30
|
+
99
|
31
|
+
12
|
32
|
+
7
|
33
|
+
4
|
34
|
+
12
|
35
|
+
7
|
36
|
+
5
|
37
|
+
12
|
38
|
+
65
|
39
|
+
12
|
40
|
+
49
|
41
|
+
6
|
42
|
+
4
|
43
|
+
15
|
44
|
+
49
|
45
|
+
4
|
46
|
+
0
|
47
|
+
15
|
48
|
+
2
|
49
|
+
11
|
50
|
+
I
|
51
|
+
6
|
52
|
+
I
|
53
|
+
0
|
54
|
+
I
|
55
|
+
0
|
56
|
+
I
|
57
|
+
0
|
58
|
+
n
|
59
|
+
p
|
60
|
+
7
|
61
|
+
s
|
62
|
+
24
|
63
|
+
active_support/callbacks
|
64
|
+
x
|
65
|
+
7
|
66
|
+
require
|
67
|
+
x
|
68
|
+
11
|
69
|
+
ActiveModel
|
70
|
+
x
|
71
|
+
11
|
72
|
+
open_module
|
73
|
+
x
|
74
|
+
15
|
75
|
+
__module_init__
|
76
|
+
M
|
77
|
+
1
|
78
|
+
n
|
79
|
+
n
|
80
|
+
x
|
81
|
+
11
|
82
|
+
ActiveModel
|
83
|
+
i
|
84
|
+
28
|
85
|
+
5
|
86
|
+
66
|
87
|
+
99
|
88
|
+
7
|
89
|
+
0
|
90
|
+
65
|
91
|
+
49
|
92
|
+
1
|
93
|
+
2
|
94
|
+
13
|
95
|
+
99
|
96
|
+
12
|
97
|
+
7
|
98
|
+
2
|
99
|
+
12
|
100
|
+
7
|
101
|
+
3
|
102
|
+
12
|
103
|
+
65
|
104
|
+
12
|
105
|
+
49
|
106
|
+
4
|
107
|
+
4
|
108
|
+
15
|
109
|
+
49
|
110
|
+
2
|
111
|
+
0
|
112
|
+
11
|
113
|
+
I
|
114
|
+
6
|
115
|
+
I
|
116
|
+
0
|
117
|
+
I
|
118
|
+
0
|
119
|
+
I
|
120
|
+
0
|
121
|
+
n
|
122
|
+
p
|
123
|
+
5
|
124
|
+
x
|
125
|
+
11
|
126
|
+
Validations
|
127
|
+
x
|
128
|
+
11
|
129
|
+
open_module
|
130
|
+
x
|
131
|
+
15
|
132
|
+
__module_init__
|
133
|
+
M
|
134
|
+
1
|
135
|
+
n
|
136
|
+
n
|
137
|
+
x
|
138
|
+
11
|
139
|
+
Validations
|
140
|
+
i
|
141
|
+
28
|
142
|
+
5
|
143
|
+
66
|
144
|
+
99
|
145
|
+
7
|
146
|
+
0
|
147
|
+
65
|
148
|
+
49
|
149
|
+
1
|
150
|
+
2
|
151
|
+
13
|
152
|
+
99
|
153
|
+
12
|
154
|
+
7
|
155
|
+
2
|
156
|
+
12
|
157
|
+
7
|
158
|
+
3
|
159
|
+
12
|
160
|
+
65
|
161
|
+
12
|
162
|
+
49
|
163
|
+
4
|
164
|
+
4
|
165
|
+
15
|
166
|
+
49
|
167
|
+
2
|
168
|
+
0
|
169
|
+
11
|
170
|
+
I
|
171
|
+
6
|
172
|
+
I
|
173
|
+
0
|
174
|
+
I
|
175
|
+
0
|
176
|
+
I
|
177
|
+
0
|
178
|
+
n
|
179
|
+
p
|
180
|
+
5
|
181
|
+
x
|
182
|
+
9
|
183
|
+
Callbacks
|
184
|
+
x
|
185
|
+
11
|
186
|
+
open_module
|
187
|
+
x
|
188
|
+
15
|
189
|
+
__module_init__
|
190
|
+
M
|
191
|
+
1
|
192
|
+
n
|
193
|
+
n
|
194
|
+
x
|
195
|
+
9
|
196
|
+
Callbacks
|
197
|
+
i
|
198
|
+
65
|
199
|
+
5
|
200
|
+
66
|
201
|
+
5
|
202
|
+
45
|
203
|
+
0
|
204
|
+
1
|
205
|
+
43
|
206
|
+
2
|
207
|
+
47
|
208
|
+
49
|
209
|
+
3
|
210
|
+
1
|
211
|
+
15
|
212
|
+
5
|
213
|
+
56
|
214
|
+
4
|
215
|
+
47
|
216
|
+
50
|
217
|
+
5
|
218
|
+
0
|
219
|
+
15
|
220
|
+
99
|
221
|
+
7
|
222
|
+
6
|
223
|
+
65
|
224
|
+
49
|
225
|
+
7
|
226
|
+
2
|
227
|
+
13
|
228
|
+
99
|
229
|
+
12
|
230
|
+
7
|
231
|
+
8
|
232
|
+
12
|
233
|
+
7
|
234
|
+
9
|
235
|
+
12
|
236
|
+
65
|
237
|
+
12
|
238
|
+
49
|
239
|
+
10
|
240
|
+
4
|
241
|
+
15
|
242
|
+
49
|
243
|
+
8
|
244
|
+
0
|
245
|
+
15
|
246
|
+
5
|
247
|
+
48
|
248
|
+
11
|
249
|
+
15
|
250
|
+
99
|
251
|
+
7
|
252
|
+
12
|
253
|
+
7
|
254
|
+
13
|
255
|
+
65
|
256
|
+
67
|
257
|
+
49
|
258
|
+
14
|
259
|
+
0
|
260
|
+
49
|
261
|
+
15
|
262
|
+
4
|
263
|
+
11
|
264
|
+
I
|
265
|
+
6
|
266
|
+
I
|
267
|
+
0
|
268
|
+
I
|
269
|
+
0
|
270
|
+
I
|
271
|
+
0
|
272
|
+
n
|
273
|
+
p
|
274
|
+
16
|
275
|
+
x
|
276
|
+
13
|
277
|
+
ActiveSupport
|
278
|
+
n
|
279
|
+
x
|
280
|
+
7
|
281
|
+
Concern
|
282
|
+
x
|
283
|
+
6
|
284
|
+
extend
|
285
|
+
M
|
286
|
+
1
|
287
|
+
p
|
288
|
+
2
|
289
|
+
x
|
290
|
+
9
|
291
|
+
for_block
|
292
|
+
t
|
293
|
+
n
|
294
|
+
x
|
295
|
+
9
|
296
|
+
Callbacks
|
297
|
+
i
|
298
|
+
49
|
299
|
+
5
|
300
|
+
45
|
301
|
+
0
|
302
|
+
1
|
303
|
+
43
|
304
|
+
2
|
305
|
+
47
|
306
|
+
49
|
307
|
+
3
|
308
|
+
1
|
309
|
+
15
|
310
|
+
5
|
311
|
+
7
|
312
|
+
4
|
313
|
+
44
|
314
|
+
43
|
315
|
+
5
|
316
|
+
80
|
317
|
+
49
|
318
|
+
6
|
319
|
+
1
|
320
|
+
13
|
321
|
+
7
|
322
|
+
7
|
323
|
+
7
|
324
|
+
8
|
325
|
+
64
|
326
|
+
49
|
327
|
+
9
|
328
|
+
2
|
329
|
+
15
|
330
|
+
13
|
331
|
+
7
|
332
|
+
10
|
333
|
+
7
|
334
|
+
11
|
335
|
+
7
|
336
|
+
12
|
337
|
+
35
|
338
|
+
2
|
339
|
+
49
|
340
|
+
9
|
341
|
+
2
|
342
|
+
15
|
343
|
+
47
|
344
|
+
49
|
345
|
+
13
|
346
|
+
2
|
347
|
+
11
|
348
|
+
I
|
349
|
+
8
|
350
|
+
I
|
351
|
+
0
|
352
|
+
I
|
353
|
+
0
|
354
|
+
I
|
355
|
+
0
|
356
|
+
I
|
357
|
+
-2
|
358
|
+
p
|
359
|
+
14
|
360
|
+
x
|
361
|
+
13
|
362
|
+
ActiveSupport
|
363
|
+
n
|
364
|
+
x
|
365
|
+
9
|
366
|
+
Callbacks
|
367
|
+
x
|
368
|
+
7
|
369
|
+
include
|
370
|
+
x
|
371
|
+
10
|
372
|
+
validation
|
373
|
+
x
|
374
|
+
4
|
375
|
+
Hash
|
376
|
+
x
|
377
|
+
16
|
378
|
+
new_from_literal
|
379
|
+
x
|
380
|
+
10
|
381
|
+
terminator
|
382
|
+
s
|
383
|
+
15
|
384
|
+
result == false
|
385
|
+
x
|
386
|
+
3
|
387
|
+
[]=
|
388
|
+
x
|
389
|
+
5
|
390
|
+
scope
|
391
|
+
x
|
392
|
+
4
|
393
|
+
kind
|
394
|
+
x
|
395
|
+
4
|
396
|
+
name
|
397
|
+
x
|
398
|
+
16
|
399
|
+
define_callbacks
|
400
|
+
p
|
401
|
+
5
|
402
|
+
I
|
403
|
+
0
|
404
|
+
I
|
405
|
+
19
|
406
|
+
I
|
407
|
+
b
|
408
|
+
I
|
409
|
+
1a
|
410
|
+
I
|
411
|
+
31
|
412
|
+
x
|
413
|
+
90
|
414
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
415
|
+
p
|
416
|
+
0
|
417
|
+
x
|
418
|
+
8
|
419
|
+
included
|
420
|
+
x
|
421
|
+
12
|
422
|
+
ClassMethods
|
423
|
+
x
|
424
|
+
11
|
425
|
+
open_module
|
426
|
+
x
|
427
|
+
15
|
428
|
+
__module_init__
|
429
|
+
M
|
430
|
+
1
|
431
|
+
n
|
432
|
+
n
|
433
|
+
x
|
434
|
+
12
|
435
|
+
ClassMethods
|
436
|
+
i
|
437
|
+
42
|
438
|
+
5
|
439
|
+
66
|
440
|
+
99
|
441
|
+
7
|
442
|
+
0
|
443
|
+
7
|
444
|
+
1
|
445
|
+
65
|
446
|
+
67
|
447
|
+
49
|
448
|
+
2
|
449
|
+
0
|
450
|
+
49
|
451
|
+
3
|
452
|
+
4
|
453
|
+
15
|
454
|
+
99
|
455
|
+
7
|
456
|
+
4
|
457
|
+
7
|
458
|
+
5
|
459
|
+
65
|
460
|
+
67
|
461
|
+
49
|
462
|
+
2
|
463
|
+
0
|
464
|
+
49
|
465
|
+
3
|
466
|
+
4
|
467
|
+
15
|
468
|
+
7
|
469
|
+
6
|
470
|
+
7
|
471
|
+
7
|
472
|
+
35
|
473
|
+
2
|
474
|
+
56
|
475
|
+
8
|
476
|
+
50
|
477
|
+
9
|
478
|
+
0
|
479
|
+
11
|
480
|
+
I
|
481
|
+
5
|
482
|
+
I
|
483
|
+
0
|
484
|
+
I
|
485
|
+
0
|
486
|
+
I
|
487
|
+
0
|
488
|
+
n
|
489
|
+
p
|
490
|
+
10
|
491
|
+
x
|
492
|
+
17
|
493
|
+
before_validation
|
494
|
+
M
|
495
|
+
1
|
496
|
+
n
|
497
|
+
n
|
498
|
+
x
|
499
|
+
17
|
500
|
+
before_validation
|
501
|
+
i
|
502
|
+
117
|
503
|
+
95
|
504
|
+
19
|
505
|
+
1
|
506
|
+
15
|
507
|
+
20
|
508
|
+
0
|
509
|
+
49
|
510
|
+
0
|
511
|
+
0
|
512
|
+
19
|
513
|
+
2
|
514
|
+
15
|
515
|
+
20
|
516
|
+
2
|
517
|
+
45
|
518
|
+
1
|
519
|
+
2
|
520
|
+
49
|
521
|
+
3
|
522
|
+
1
|
523
|
+
13
|
524
|
+
9
|
525
|
+
31
|
526
|
+
15
|
527
|
+
20
|
528
|
+
2
|
529
|
+
7
|
530
|
+
4
|
531
|
+
49
|
532
|
+
5
|
533
|
+
1
|
534
|
+
9
|
535
|
+
84
|
536
|
+
20
|
537
|
+
2
|
538
|
+
7
|
539
|
+
6
|
540
|
+
45
|
541
|
+
7
|
542
|
+
8
|
543
|
+
20
|
544
|
+
2
|
545
|
+
7
|
546
|
+
6
|
547
|
+
49
|
548
|
+
5
|
549
|
+
1
|
550
|
+
49
|
551
|
+
9
|
552
|
+
1
|
553
|
+
13
|
554
|
+
18
|
555
|
+
3
|
556
|
+
49
|
557
|
+
10
|
558
|
+
2
|
559
|
+
15
|
560
|
+
15
|
561
|
+
20
|
562
|
+
2
|
563
|
+
7
|
564
|
+
6
|
565
|
+
49
|
566
|
+
5
|
567
|
+
1
|
568
|
+
7
|
569
|
+
11
|
570
|
+
20
|
571
|
+
2
|
572
|
+
7
|
573
|
+
4
|
574
|
+
49
|
575
|
+
5
|
576
|
+
1
|
577
|
+
47
|
578
|
+
101
|
579
|
+
12
|
580
|
+
63
|
581
|
+
2
|
582
|
+
49
|
583
|
+
13
|
584
|
+
1
|
585
|
+
8
|
586
|
+
85
|
587
|
+
1
|
588
|
+
15
|
589
|
+
5
|
590
|
+
7
|
591
|
+
14
|
592
|
+
7
|
593
|
+
15
|
594
|
+
20
|
595
|
+
0
|
596
|
+
20
|
597
|
+
2
|
598
|
+
49
|
599
|
+
13
|
600
|
+
1
|
601
|
+
36
|
602
|
+
20
|
603
|
+
1
|
604
|
+
13
|
605
|
+
70
|
606
|
+
10
|
607
|
+
112
|
608
|
+
44
|
609
|
+
43
|
610
|
+
16
|
611
|
+
12
|
612
|
+
49
|
613
|
+
17
|
614
|
+
1
|
615
|
+
47
|
616
|
+
51
|
617
|
+
18
|
618
|
+
2
|
619
|
+
11
|
620
|
+
I
|
621
|
+
9
|
622
|
+
I
|
623
|
+
3
|
624
|
+
I
|
625
|
+
0
|
626
|
+
I
|
627
|
+
0
|
628
|
+
I
|
629
|
+
0
|
630
|
+
p
|
631
|
+
19
|
632
|
+
x
|
633
|
+
16
|
634
|
+
extract_options!
|
635
|
+
x
|
636
|
+
4
|
637
|
+
Hash
|
638
|
+
n
|
639
|
+
x
|
640
|
+
5
|
641
|
+
is_a?
|
642
|
+
x
|
643
|
+
2
|
644
|
+
on
|
645
|
+
x
|
646
|
+
2
|
647
|
+
[]
|
648
|
+
x
|
649
|
+
2
|
650
|
+
if
|
651
|
+
x
|
652
|
+
5
|
653
|
+
Array
|
654
|
+
n
|
655
|
+
x
|
656
|
+
4
|
657
|
+
wrap
|
658
|
+
x
|
659
|
+
3
|
660
|
+
[]=
|
661
|
+
s
|
662
|
+
28
|
663
|
+
self.validation_context == :
|
664
|
+
x
|
665
|
+
4
|
666
|
+
to_s
|
667
|
+
x
|
668
|
+
2
|
669
|
+
<<
|
670
|
+
x
|
671
|
+
10
|
672
|
+
validation
|
673
|
+
x
|
674
|
+
6
|
675
|
+
before
|
676
|
+
x
|
677
|
+
4
|
678
|
+
Proc
|
679
|
+
x
|
680
|
+
14
|
681
|
+
__from_block__
|
682
|
+
x
|
683
|
+
12
|
684
|
+
set_callback
|
685
|
+
p
|
686
|
+
15
|
687
|
+
I
|
688
|
+
-1
|
689
|
+
I
|
690
|
+
1e
|
691
|
+
I
|
692
|
+
4
|
693
|
+
I
|
694
|
+
1f
|
695
|
+
I
|
696
|
+
c
|
697
|
+
I
|
698
|
+
20
|
699
|
+
I
|
700
|
+
21
|
701
|
+
I
|
702
|
+
21
|
703
|
+
I
|
704
|
+
3a
|
705
|
+
I
|
706
|
+
22
|
707
|
+
I
|
708
|
+
54
|
709
|
+
I
|
710
|
+
20
|
711
|
+
I
|
712
|
+
56
|
713
|
+
I
|
714
|
+
24
|
715
|
+
I
|
716
|
+
75
|
717
|
+
x
|
718
|
+
90
|
719
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
720
|
+
p
|
721
|
+
3
|
722
|
+
x
|
723
|
+
4
|
724
|
+
args
|
725
|
+
x
|
726
|
+
5
|
727
|
+
block
|
728
|
+
x
|
729
|
+
7
|
730
|
+
options
|
731
|
+
x
|
732
|
+
17
|
733
|
+
method_visibility
|
734
|
+
x
|
735
|
+
15
|
736
|
+
add_defn_method
|
737
|
+
x
|
738
|
+
16
|
739
|
+
after_validation
|
740
|
+
M
|
741
|
+
1
|
742
|
+
n
|
743
|
+
n
|
744
|
+
x
|
745
|
+
16
|
746
|
+
after_validation
|
747
|
+
i
|
748
|
+
132
|
749
|
+
95
|
750
|
+
19
|
751
|
+
1
|
752
|
+
15
|
753
|
+
20
|
754
|
+
0
|
755
|
+
49
|
756
|
+
0
|
757
|
+
0
|
758
|
+
19
|
759
|
+
2
|
760
|
+
15
|
761
|
+
20
|
762
|
+
2
|
763
|
+
7
|
764
|
+
1
|
765
|
+
2
|
766
|
+
13
|
767
|
+
18
|
768
|
+
3
|
769
|
+
49
|
770
|
+
2
|
771
|
+
2
|
772
|
+
15
|
773
|
+
15
|
774
|
+
20
|
775
|
+
2
|
776
|
+
7
|
777
|
+
3
|
778
|
+
45
|
779
|
+
4
|
780
|
+
5
|
781
|
+
20
|
782
|
+
2
|
783
|
+
7
|
784
|
+
3
|
785
|
+
49
|
786
|
+
6
|
787
|
+
1
|
788
|
+
49
|
789
|
+
7
|
790
|
+
1
|
791
|
+
13
|
792
|
+
18
|
793
|
+
3
|
794
|
+
49
|
795
|
+
2
|
796
|
+
2
|
797
|
+
15
|
798
|
+
15
|
799
|
+
20
|
800
|
+
2
|
801
|
+
7
|
802
|
+
3
|
803
|
+
49
|
804
|
+
6
|
805
|
+
1
|
806
|
+
7
|
807
|
+
8
|
808
|
+
64
|
809
|
+
49
|
810
|
+
9
|
811
|
+
1
|
812
|
+
15
|
813
|
+
20
|
814
|
+
2
|
815
|
+
7
|
816
|
+
10
|
817
|
+
49
|
818
|
+
6
|
819
|
+
1
|
820
|
+
9
|
821
|
+
99
|
822
|
+
20
|
823
|
+
2
|
824
|
+
7
|
825
|
+
3
|
826
|
+
49
|
827
|
+
6
|
828
|
+
1
|
829
|
+
7
|
830
|
+
11
|
831
|
+
20
|
832
|
+
2
|
833
|
+
7
|
834
|
+
10
|
835
|
+
49
|
836
|
+
6
|
837
|
+
1
|
838
|
+
47
|
839
|
+
101
|
840
|
+
12
|
841
|
+
63
|
842
|
+
2
|
843
|
+
49
|
844
|
+
9
|
845
|
+
1
|
846
|
+
8
|
847
|
+
100
|
848
|
+
1
|
849
|
+
15
|
850
|
+
5
|
851
|
+
7
|
852
|
+
13
|
853
|
+
7
|
854
|
+
14
|
855
|
+
20
|
856
|
+
0
|
857
|
+
20
|
858
|
+
2
|
859
|
+
49
|
860
|
+
9
|
861
|
+
1
|
862
|
+
36
|
863
|
+
20
|
864
|
+
1
|
865
|
+
13
|
866
|
+
70
|
867
|
+
10
|
868
|
+
127
|
869
|
+
44
|
870
|
+
43
|
871
|
+
15
|
872
|
+
12
|
873
|
+
49
|
874
|
+
16
|
875
|
+
1
|
876
|
+
47
|
877
|
+
51
|
878
|
+
17
|
879
|
+
2
|
880
|
+
11
|
881
|
+
I
|
882
|
+
9
|
883
|
+
I
|
884
|
+
3
|
885
|
+
I
|
886
|
+
0
|
887
|
+
I
|
888
|
+
0
|
889
|
+
I
|
890
|
+
0
|
891
|
+
p
|
892
|
+
18
|
893
|
+
x
|
894
|
+
16
|
895
|
+
extract_options!
|
896
|
+
x
|
897
|
+
7
|
898
|
+
prepend
|
899
|
+
x
|
900
|
+
3
|
901
|
+
[]=
|
902
|
+
x
|
903
|
+
2
|
904
|
+
if
|
905
|
+
x
|
906
|
+
5
|
907
|
+
Array
|
908
|
+
n
|
909
|
+
x
|
910
|
+
2
|
911
|
+
[]
|
912
|
+
x
|
913
|
+
4
|
914
|
+
wrap
|
915
|
+
s
|
916
|
+
7
|
917
|
+
!halted
|
918
|
+
x
|
919
|
+
2
|
920
|
+
<<
|
921
|
+
x
|
922
|
+
2
|
923
|
+
on
|
924
|
+
s
|
925
|
+
28
|
926
|
+
self.validation_context == :
|
927
|
+
x
|
928
|
+
4
|
929
|
+
to_s
|
930
|
+
x
|
931
|
+
10
|
932
|
+
validation
|
933
|
+
x
|
934
|
+
5
|
935
|
+
after
|
936
|
+
x
|
937
|
+
4
|
938
|
+
Proc
|
939
|
+
x
|
940
|
+
14
|
941
|
+
__from_block__
|
942
|
+
x
|
943
|
+
12
|
944
|
+
set_callback
|
945
|
+
p
|
946
|
+
15
|
947
|
+
I
|
948
|
+
-1
|
949
|
+
I
|
950
|
+
27
|
951
|
+
I
|
952
|
+
4
|
953
|
+
I
|
954
|
+
28
|
955
|
+
I
|
956
|
+
c
|
957
|
+
I
|
958
|
+
29
|
959
|
+
I
|
960
|
+
19
|
961
|
+
I
|
962
|
+
2a
|
963
|
+
I
|
964
|
+
32
|
965
|
+
I
|
966
|
+
2b
|
967
|
+
I
|
968
|
+
40
|
969
|
+
I
|
970
|
+
2c
|
971
|
+
I
|
972
|
+
65
|
973
|
+
I
|
974
|
+
2d
|
975
|
+
I
|
976
|
+
84
|
977
|
+
x
|
978
|
+
90
|
979
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
980
|
+
p
|
981
|
+
3
|
982
|
+
x
|
983
|
+
4
|
984
|
+
args
|
985
|
+
x
|
986
|
+
5
|
987
|
+
block
|
988
|
+
x
|
989
|
+
7
|
990
|
+
options
|
991
|
+
x
|
992
|
+
6
|
993
|
+
before
|
994
|
+
x
|
995
|
+
5
|
996
|
+
after
|
997
|
+
M
|
998
|
+
1
|
999
|
+
p
|
1000
|
+
2
|
1001
|
+
x
|
1002
|
+
9
|
1003
|
+
for_block
|
1004
|
+
t
|
1005
|
+
n
|
1006
|
+
x
|
1007
|
+
12
|
1008
|
+
ClassMethods
|
1009
|
+
i
|
1010
|
+
16
|
1011
|
+
57
|
1012
|
+
19
|
1013
|
+
0
|
1014
|
+
15
|
1015
|
+
7
|
1016
|
+
0
|
1017
|
+
7
|
1018
|
+
1
|
1019
|
+
35
|
1020
|
+
2
|
1021
|
+
56
|
1022
|
+
2
|
1023
|
+
50
|
1024
|
+
3
|
1025
|
+
0
|
1026
|
+
11
|
1027
|
+
I
|
1028
|
+
4
|
1029
|
+
I
|
1030
|
+
1
|
1031
|
+
I
|
1032
|
+
1
|
1033
|
+
I
|
1034
|
+
1
|
1035
|
+
n
|
1036
|
+
p
|
1037
|
+
4
|
1038
|
+
x
|
1039
|
+
6
|
1040
|
+
create
|
1041
|
+
x
|
1042
|
+
6
|
1043
|
+
update
|
1044
|
+
M
|
1045
|
+
1
|
1046
|
+
p
|
1047
|
+
2
|
1048
|
+
x
|
1049
|
+
9
|
1050
|
+
for_block
|
1051
|
+
t
|
1052
|
+
n
|
1053
|
+
x
|
1054
|
+
12
|
1055
|
+
ClassMethods
|
1056
|
+
i
|
1057
|
+
66
|
1058
|
+
57
|
1059
|
+
19
|
1060
|
+
0
|
1061
|
+
15
|
1062
|
+
5
|
1063
|
+
7
|
1064
|
+
0
|
1065
|
+
21
|
1066
|
+
1
|
1067
|
+
0
|
1068
|
+
47
|
1069
|
+
101
|
1070
|
+
1
|
1071
|
+
7
|
1072
|
+
2
|
1073
|
+
20
|
1074
|
+
0
|
1075
|
+
47
|
1076
|
+
101
|
1077
|
+
1
|
1078
|
+
7
|
1079
|
+
3
|
1080
|
+
21
|
1081
|
+
1
|
1082
|
+
0
|
1083
|
+
47
|
1084
|
+
101
|
1085
|
+
1
|
1086
|
+
7
|
1087
|
+
2
|
1088
|
+
20
|
1089
|
+
0
|
1090
|
+
47
|
1091
|
+
101
|
1092
|
+
1
|
1093
|
+
7
|
1094
|
+
4
|
1095
|
+
21
|
1096
|
+
1
|
1097
|
+
0
|
1098
|
+
47
|
1099
|
+
101
|
1100
|
+
1
|
1101
|
+
7
|
1102
|
+
5
|
1103
|
+
20
|
1104
|
+
0
|
1105
|
+
47
|
1106
|
+
101
|
1107
|
+
1
|
1108
|
+
7
|
1109
|
+
6
|
1110
|
+
20
|
1111
|
+
0
|
1112
|
+
47
|
1113
|
+
101
|
1114
|
+
1
|
1115
|
+
7
|
1116
|
+
7
|
1117
|
+
63
|
1118
|
+
15
|
1119
|
+
47
|
1120
|
+
49
|
1121
|
+
8
|
1122
|
+
1
|
1123
|
+
11
|
1124
|
+
I
|
1125
|
+
12
|
1126
|
+
I
|
1127
|
+
1
|
1128
|
+
I
|
1129
|
+
1
|
1130
|
+
I
|
1131
|
+
1
|
1132
|
+
n
|
1133
|
+
p
|
1134
|
+
9
|
1135
|
+
s
|
1136
|
+
18
|
1137
|
+
def
|
1138
|
+
x
|
1139
|
+
4
|
1140
|
+
to_s
|
1141
|
+
s
|
1142
|
+
15
|
1143
|
+
_validation_on_
|
1144
|
+
s
|
1145
|
+
39
|
1146
|
+
(*args, &block)
|
1147
|
+
msg = "
|
1148
|
+
s
|
1149
|
+
27
|
1150
|
+
is deprecated. Please use
|
1151
|
+
s
|
1152
|
+
31
|
1153
|
+
_validation(arguments, :on => :
|
1154
|
+
s
|
1155
|
+
143
|
1156
|
+
"
|
1157
|
+
ActiveSupport::Deprecation.warn(msg, caller)
|
1158
|
+
options = args.extract_options!
|
1159
|
+
options[:on] = :
|
1160
|
+
s
|
1161
|
+
82
|
1162
|
+
|
1163
|
+
before_validation(*args.push(options), &block)
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
x
|
1167
|
+
10
|
1168
|
+
class_eval
|
1169
|
+
p
|
1170
|
+
13
|
1171
|
+
I
|
1172
|
+
0
|
1173
|
+
I
|
1174
|
+
31
|
1175
|
+
I
|
1176
|
+
4
|
1177
|
+
I
|
1178
|
+
32
|
1179
|
+
I
|
1180
|
+
5
|
1181
|
+
I
|
1182
|
+
33
|
1183
|
+
I
|
1184
|
+
16
|
1185
|
+
I
|
1186
|
+
34
|
1187
|
+
I
|
1188
|
+
34
|
1189
|
+
I
|
1190
|
+
37
|
1191
|
+
I
|
1192
|
+
3d
|
1193
|
+
I
|
1194
|
+
32
|
1195
|
+
I
|
1196
|
+
42
|
1197
|
+
x
|
1198
|
+
90
|
1199
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1200
|
+
p
|
1201
|
+
1
|
1202
|
+
x
|
1203
|
+
2
|
1204
|
+
on
|
1205
|
+
x
|
1206
|
+
4
|
1207
|
+
each
|
1208
|
+
p
|
1209
|
+
5
|
1210
|
+
I
|
1211
|
+
0
|
1212
|
+
I
|
1213
|
+
30
|
1214
|
+
I
|
1215
|
+
4
|
1216
|
+
I
|
1217
|
+
31
|
1218
|
+
I
|
1219
|
+
10
|
1220
|
+
x
|
1221
|
+
90
|
1222
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1223
|
+
p
|
1224
|
+
1
|
1225
|
+
x
|
1226
|
+
4
|
1227
|
+
type
|
1228
|
+
x
|
1229
|
+
4
|
1230
|
+
each
|
1231
|
+
p
|
1232
|
+
7
|
1233
|
+
I
|
1234
|
+
2
|
1235
|
+
I
|
1236
|
+
1e
|
1237
|
+
I
|
1238
|
+
10
|
1239
|
+
I
|
1240
|
+
27
|
1241
|
+
I
|
1242
|
+
1e
|
1243
|
+
I
|
1244
|
+
30
|
1245
|
+
I
|
1246
|
+
2a
|
1247
|
+
x
|
1248
|
+
90
|
1249
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1250
|
+
p
|
1251
|
+
0
|
1252
|
+
x
|
1253
|
+
13
|
1254
|
+
attach_method
|
1255
|
+
x
|
1256
|
+
9
|
1257
|
+
protected
|
1258
|
+
x
|
1259
|
+
16
|
1260
|
+
run_validations!
|
1261
|
+
M
|
1262
|
+
1
|
1263
|
+
n
|
1264
|
+
n
|
1265
|
+
x
|
1266
|
+
16
|
1267
|
+
run_validations!
|
1268
|
+
i
|
1269
|
+
8
|
1270
|
+
5
|
1271
|
+
56
|
1272
|
+
0
|
1273
|
+
47
|
1274
|
+
50
|
1275
|
+
1
|
1276
|
+
0
|
1277
|
+
11
|
1278
|
+
I
|
1279
|
+
2
|
1280
|
+
I
|
1281
|
+
0
|
1282
|
+
I
|
1283
|
+
0
|
1284
|
+
I
|
1285
|
+
0
|
1286
|
+
n
|
1287
|
+
p
|
1288
|
+
2
|
1289
|
+
M
|
1290
|
+
1
|
1291
|
+
p
|
1292
|
+
2
|
1293
|
+
x
|
1294
|
+
9
|
1295
|
+
for_block
|
1296
|
+
t
|
1297
|
+
n
|
1298
|
+
x
|
1299
|
+
16
|
1300
|
+
run_validations!
|
1301
|
+
i
|
1302
|
+
4
|
1303
|
+
54
|
1304
|
+
89
|
1305
|
+
0
|
1306
|
+
11
|
1307
|
+
I
|
1308
|
+
2
|
1309
|
+
I
|
1310
|
+
0
|
1311
|
+
I
|
1312
|
+
0
|
1313
|
+
I
|
1314
|
+
0
|
1315
|
+
I
|
1316
|
+
-2
|
1317
|
+
p
|
1318
|
+
1
|
1319
|
+
x
|
1320
|
+
16
|
1321
|
+
run_validations!
|
1322
|
+
p
|
1323
|
+
3
|
1324
|
+
I
|
1325
|
+
0
|
1326
|
+
I
|
1327
|
+
43
|
1328
|
+
I
|
1329
|
+
4
|
1330
|
+
x
|
1331
|
+
90
|
1332
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1333
|
+
p
|
1334
|
+
0
|
1335
|
+
x
|
1336
|
+
25
|
1337
|
+
_run_validation_callbacks
|
1338
|
+
p
|
1339
|
+
5
|
1340
|
+
I
|
1341
|
+
-1
|
1342
|
+
I
|
1343
|
+
42
|
1344
|
+
I
|
1345
|
+
0
|
1346
|
+
I
|
1347
|
+
43
|
1348
|
+
I
|
1349
|
+
8
|
1350
|
+
x
|
1351
|
+
90
|
1352
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1353
|
+
p
|
1354
|
+
0
|
1355
|
+
x
|
1356
|
+
17
|
1357
|
+
method_visibility
|
1358
|
+
x
|
1359
|
+
15
|
1360
|
+
add_defn_method
|
1361
|
+
p
|
1362
|
+
11
|
1363
|
+
I
|
1364
|
+
2
|
1365
|
+
I
|
1366
|
+
16
|
1367
|
+
I
|
1368
|
+
d
|
1369
|
+
I
|
1370
|
+
18
|
1371
|
+
I
|
1372
|
+
15
|
1373
|
+
I
|
1374
|
+
1d
|
1375
|
+
I
|
1376
|
+
2f
|
1377
|
+
I
|
1378
|
+
3f
|
1379
|
+
I
|
1380
|
+
33
|
1381
|
+
I
|
1382
|
+
42
|
1383
|
+
I
|
1384
|
+
41
|
1385
|
+
x
|
1386
|
+
90
|
1387
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1388
|
+
p
|
1389
|
+
0
|
1390
|
+
x
|
1391
|
+
13
|
1392
|
+
attach_method
|
1393
|
+
p
|
1394
|
+
3
|
1395
|
+
I
|
1396
|
+
2
|
1397
|
+
I
|
1398
|
+
5
|
1399
|
+
I
|
1400
|
+
1c
|
1401
|
+
x
|
1402
|
+
90
|
1403
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1404
|
+
p
|
1405
|
+
0
|
1406
|
+
x
|
1407
|
+
13
|
1408
|
+
attach_method
|
1409
|
+
p
|
1410
|
+
3
|
1411
|
+
I
|
1412
|
+
2
|
1413
|
+
I
|
1414
|
+
4
|
1415
|
+
I
|
1416
|
+
1c
|
1417
|
+
x
|
1418
|
+
90
|
1419
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1420
|
+
p
|
1421
|
+
0
|
1422
|
+
x
|
1423
|
+
13
|
1424
|
+
attach_method
|
1425
|
+
p
|
1426
|
+
5
|
1427
|
+
I
|
1428
|
+
0
|
1429
|
+
I
|
1430
|
+
1
|
1431
|
+
I
|
1432
|
+
9
|
1433
|
+
I
|
1434
|
+
3
|
1435
|
+
I
|
1436
|
+
25
|
1437
|
+
x
|
1438
|
+
90
|
1439
|
+
/Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/callbacks.rb
|
1440
|
+
p
|
1441
|
+
0
|