phonelib 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. data/data/PhoneNumberMetaData.xml +169 -127
  2. data/data/phone_data.yml +63 -53
  3. data/lib/phonelib/version.rb +1 -1
  4. data/test/dummy/db/development.sqlite3 +0 -0
  5. data/test/dummy/db/test.sqlite3 +0 -0
  6. data/test/dummy/log/development.log +14 -972
  7. data/test/dummy/log/test.log +146 -8682
  8. metadata +98 -150
  9. data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  10. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  11. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  12. data/test/dummy/tmp/cache/assets/CF2/1D0/sprockets%2F0c27dcea623d22c007e33b8bf5301181 +0 -0
  13. data/test/dummy/tmp/cache/assets/D04/B50/sprockets%2F46c36c6aa77b26dddc3117542d006b94 +0 -0
  14. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  15. data/test/dummy/tmp/cache/assets/D46/C40/sprockets%2F9b88128dae7c1e6c7b28bcf197057c21 +0 -0
  16. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  17. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  18. data/test/dummy/tmp/cache/assets/D6D/E60/sprockets%2F1e022b8d5f5e26ebefd84c611bb56952 +0 -0
  19. data/test/dummy/tmp/cache/assets/D86/1B0/sprockets%2F5525f793871e81fb2bc8ff6dc05d7d8f +0 -0
  20. data/test/dummy/tmp/cache/assets/D8B/9D0/sprockets%2F017fa706d8e37400eafdda73e151d0bc +0 -0
  21. data/test/dummy/tmp/cache/assets/DD6/070/sprockets%2F2c9fb78e23cbc06765e705f8dfc6abe1 +0 -0
  22. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  23. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  24. data/test/dummy/tmp/cache/assets/E57/9D0/sprockets%2Fdc6481f3cacaff37934cae4aa8e0ecb4 +0 -0
@@ -258,7 +258,7 @@
258
258
  :nationalNumberPattern: ! '[1-9]\d{7}'
259
259
  :possibleNumberPattern: \d{5,8}
260
260
  :fixedLine:
261
- :nationalNumberPattern: (?:10\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2|47\d)\d{5}
261
+ :nationalNumberPattern: (?:1[01]\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2|47\d)\d{5}
262
262
  :exampleNumber: '10123456'
263
263
  :mobile:
264
264
  :nationalNumberPattern: (?:55|77|9[1-9])\d{6}
@@ -413,7 +413,7 @@
413
413
  :nationalNumberPattern: 6846(?:22|33|44|55|77|88|9[19])\d{4}
414
414
  :exampleNumber: '6846221234'
415
415
  :mobile:
416
- :nationalNumberPattern: 684(?:733|258)\d{4}
416
+ :nationalNumberPattern: 684(?:733|25[2468])\d{4}
417
417
  :possibleNumberPattern: \d{10}
418
418
  :exampleNumber: '6847331234'
419
419
  :tollFree:
@@ -863,7 +863,7 @@
863
863
  :nationalNumberPattern: (?:20(?:49|5[23]|9[016-9])|40(?:4[56]|5[4-6]|7[0179])|50[34]\d)\d{4}
864
864
  :exampleNumber: '20491234'
865
865
  :mobile:
866
- :nationalNumberPattern: (?:6(?:[056]\d|1[0-36-9]|8[0-5]|90)|7(?:[02-68]\d|1[0-4689]|7[0-69]|9[0-689]))\d{5}
866
+ :nationalNumberPattern: 6(?:[0156]\d|[28][0-5]|4[01])\d{5}|7\d{7}
867
867
  :exampleNumber: '70123456'
868
868
  :emergency:
869
869
  :nationalNumberPattern: 1[78]
@@ -937,7 +937,7 @@
937
937
  :nationalNumberPattern: (?:1(?:3[3-6]|6[0156]|7\d)\d|6(?:1[16]\d|6(?:0\d|3[12]|44)|9(?:69|9[6-9]))|77\d{2})\d{4}
938
938
  :exampleNumber: '17001234'
939
939
  :mobile:
940
- :nationalNumberPattern: (?:3(?:[23469]\d|5[35]|77|8[348])\d|6(?:1[16]\d|3(?:00|33|6[16])|6(?:[069]\d|3[03-9]|44)|9(?:69|9[6-9]))|77\d{2})\d{4}
940
+ :nationalNumberPattern: (?:3(?:[23469]\d|5[035]|77|8[348])\d|6(?:1[16]\d|3(?:00|33|6[16])|6(?:[069]\d|3[03-9]|44)|9(?:69|9[6-9]))|77\d{2})\d{4}
941
941
  :exampleNumber: '36001234'
942
942
  :tollFree:
943
943
  :nationalNumberPattern: 80\d{6}
@@ -987,7 +987,7 @@
987
987
  :possibleNumberPattern: \d{8}
988
988
  :exampleNumber: '20211234'
989
989
  :mobile:
990
- :nationalNumberPattern: (?:6[46]|9[03-8])\d{6}
990
+ :nationalNumberPattern: (?:6[467]|9[03-8])\d{6}
991
991
  :possibleNumberPattern: \d{8}
992
992
  :exampleNumber: '90011234'
993
993
  :tollFree:
@@ -1143,7 +1143,7 @@
1143
1143
  :nationalNumberPattern: 1[1-9][2-5]\d{7}|(?:[4689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\d{7}
1144
1144
  :exampleNumber: '1123456789'
1145
1145
  :mobile:
1146
- :nationalNumberPattern: 1(?:1(?:5[347]|[6-8]\d|9\d{1,2})|[2-9][6-9]\d)\d{6}|(?:[4689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[6-9]\d{7}
1146
+ :nationalNumberPattern: 1(?:1(?:5[347]|[6-9]\d|)|[2-9][6-9]\d)\d{6}|(?:2[12478]|3[1-578]|[4689][1-9]|5[13-5]|7[13-579])[6-9]\d{7}|(?:119\d|1[2-9]9[6-9])\d{7}
1147
1147
  :possibleNumberPattern: \d{10,11}
1148
1148
  :exampleNumber: '1161234567'
1149
1149
  :tollFree:
@@ -1174,7 +1174,7 @@
1174
1174
  - :nationalPrefixFormattingRule: ($FG)
1175
1175
  :pattern: (\d{2})(\d{5})(\d{4})
1176
1176
  :carrierCodeFormattingRule: $NP $CC ($FG)
1177
- :leadingDigits: '119'
1177
+ :leadingDigits: 1[1-9]9
1178
1178
  :format: $1$2-$3
1179
1179
  - :nationalPrefixFormattingRule: ($FG)
1180
1180
  :pattern: (\d{2})(\d{4})(\d{4})
@@ -1562,7 +1562,7 @@
1562
1562
  :nationalNumberPattern: (?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\d{5}
1563
1563
  :exampleNumber: '21234567'
1564
1564
  :mobile:
1565
- :nationalNumberPattern: (?:0[1-9]|4[0-24-9]|5[057-9]|6[05679])\d{6}
1565
+ :nationalNumberPattern: (?:0[1-9]|4[0-24-9]|5[05-9]|6[05679])\d{6}
1566
1566
  :exampleNumber: '01234567'
1567
1567
  :emergency:
1568
1568
  :nationalNumberPattern: 1(?:1[01]|[78]0)
@@ -1821,7 +1821,7 @@
1821
1821
  - :id: CR
1822
1822
  :countryCode: '506'
1823
1823
  :internationalPrefix: '00'
1824
- :nationalPrefixForParsing: (19(?:0[0-2468]|19|66|77))
1824
+ :nationalPrefixForParsing: (19(?:0[0-2468]|19|20|66|77))
1825
1825
  :carrierCodeFormattingRule: $CC$FG
1826
1826
  :types:
1827
1827
  :generalDesc:
@@ -1844,11 +1844,11 @@
1844
1844
  :possibleNumberPattern: \d{10}
1845
1845
  :exampleNumber: '9001234567'
1846
1846
  :voip:
1847
- :nationalNumberPattern: 210[0-6]\d{4}|4(?:0(?:[04]0\d{4}|10[0-3]\d{3}|2(?:00\d|900)\d{2}|3[01]\d{4}|5\d{5}|70[01]\d{3})|1[01]\d{5}|400\d{4}|70[0-2]\d{4})|5100\d{4}
1847
+ :nationalNumberPattern: 210[0-6]\d{4}|4(?:0(?:[04]0\d{4}|10[0-3]\d{3}|2(?:00\d|900)\d{2}|3[01]\d{4}|5\d{5}|70[01]\d{3})|1[01]\d{5}|20[0-3]\d{4}|400\d{4}|70[0-2]\d{4})|5100\d{4}
1848
1848
  :possibleNumberPattern: \d{8}
1849
1849
  :exampleNumber: '40001234'
1850
1850
  :shortCode:
1851
- :nationalNumberPattern: 1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|37|[46]6|7[57]|8[79]|9[0-379])|2(?:00|[12]2|34|55)|333|400|5(?:15|5[15])|693|7(?:00|1[789]|2[02]|[67]7)|975)
1851
+ :nationalNumberPattern: 1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|37|[46]6|7[57]|8[79]|9[0-379])|2(?:00|[12]2|34|55)|333|4(?:00|1[56])|5(?:15|5[15])|693|7(?:00|1[789]|2[02]|[67]7)|975)
1852
1852
  :possibleNumberPattern: \d{4}
1853
1853
  :exampleNumber: '1022'
1854
1854
  :emergency:
@@ -2127,6 +2127,12 @@
2127
2127
  :possibleNumberPattern: \d{3}
2128
2128
  :exampleNumber: '112'
2129
2129
  :formats:
2130
+ - :pattern: (1\d{2})(\d{7,8})
2131
+ :leadingDigits: 1[67]
2132
+ :format: $1$2
2133
+ - :pattern: (1\d{3})(\d{7})
2134
+ :leadingDigits: '15'
2135
+ :format: $1$2
2130
2136
  - :pattern: (\d{2})(\d{4,11})
2131
2137
  :leadingDigits: 3[02]|40|[68]9
2132
2138
  :format: $1$2
@@ -2136,18 +2142,15 @@
2136
2142
  - :pattern: (\d{4})(\d{2,11})
2137
2143
  :leadingDigits: ! '[24-6]|[7-9](?:\d[1-9]|[1-9]\d)|3(?:3(?:0[1-467]|2[127-9]|3[124578]|[46][1246]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|3[1357]|4[13578]|6[1246]|7[1356]|9[1346])|5(?:0[14]|2[1-3589]|3[1357]|4[1246]|6[1-4]|7[1346]|8[13568]|9[1246])|6(?:0[356]|2[1-489]|3[124-6]|4[1347]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|3[1357]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|4[1347]|6[0135-9]|7[1467]|8[136])|9(?:0[12479]|2[1358]|3[1357]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))'
2138
2144
  :format: $1$2
2139
- - :pattern: (\d{5})(\d{1,10})
2145
+ - :pattern: (3\d{4})(\d{1,10})
2140
2146
  :leadingDigits: '3'
2141
2147
  :format: $1$2
2142
- - :pattern: (1\d{2})(\d{7,8})
2143
- :leadingDigits: 1[5-7]
2148
+ - :pattern: (800)(\d{7,10})
2149
+ :leadingDigits: '800'
2144
2150
  :format: $1$2
2145
2151
  - :pattern: (177)(99)(\d{7,8})
2146
2152
  :leadingDigits: '17799'
2147
2153
  :format: $1$2$3
2148
- - :pattern: (8\d{2})(\d{7,10})
2149
- :leadingDigits: '800'
2150
- :format: $1$2
2151
2154
  - :pattern: (\d{3})(\d)(\d{4,10})
2152
2155
  :leadingDigits: 180|900[1359]
2153
2156
  :format: $1$2$3
@@ -2288,7 +2291,7 @@
2288
2291
  :nationalNumberPattern: (?:1\d|2[014-79]|3[0-8]|4[0135689])\d{6}|9619\d{5}
2289
2292
  :exampleNumber: '12345678'
2290
2293
  :mobile:
2291
- :nationalNumberPattern: (?:5[56]|7[7-9])\d{7}|6(?:[569]\d|70)\d{6}
2294
+ :nationalNumberPattern: (?:5[4-6]|7[7-9])\d{7}|6(?:[569]\d|70)\d{6}
2292
2295
  :possibleNumberPattern: \d{9}
2293
2296
  :exampleNumber: '551234567'
2294
2297
  :tollFree:
@@ -2472,7 +2475,7 @@
2472
2475
  :nationalNumberPattern: 528[89]\d{5}
2473
2476
  :exampleNumber: '528812345'
2474
2477
  :mobile:
2475
- :nationalNumberPattern: 6(?:0[0-6]|[14-7]\d|2[2-46-9]|3[03-8]|8[01]|99)\d{6}
2478
+ :nationalNumberPattern: 6(?:0[0-8]|[14-7]\d|2[0-46-9]|3[03-8]|8[01]|99)\d{6}
2476
2479
  :exampleNumber: '650123456'
2477
2480
  :tollFree:
2478
2481
  :nationalNumberPattern: 80\d{7}
@@ -2622,7 +2625,7 @@
2622
2625
  :possibleNumberPattern: \d{7}
2623
2626
  :exampleNumber: '3212345'
2624
2627
  :mobile:
2625
- :nationalNumberPattern: (?:7[0-467]|8[367]|9[02346-9])\d{5}
2628
+ :nationalNumberPattern: (?:7[0-467]|8[3467]|9\d)\d{5}
2626
2629
  :possibleNumberPattern: \d{7}
2627
2630
  :exampleNumber: '7012345'
2628
2631
  :tollFree:
@@ -3871,7 +3874,7 @@
3871
3874
  :possibleNumberPattern: \d{6,10}
3872
3875
  :exampleNumber: '1123456789'
3873
3876
  :mobile:
3874
- :nationalNumberPattern: (?:7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]\d|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0\d|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|6[03-9]|[79]\d|8[1-9])|8(?:[0-7]\d|9[013-9]))|8(?:0(?:[01589]\d|6[67])|1(?:[02-589]\d|1[0135-9]|7[0-79])|2(?:[236-9]\d|5[1-9])|3(?:[037-9]\d|4[1-9]|5[0-37-9])|[45]\d{2}|6[02457-9]\d|7[1-69]\d|8(?:[0-26-9]\d|44|5[2-9])|9(?:[035-9]\d|2[2-9]|4[0-8]))|9\d{3})\d{6}
3877
+ :nationalNumberPattern: (?:7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]\d|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0\d|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|6[03-9]|[79]\d|8[1-9])|8(?:[0-7]\d|9[013-9]))|8(?:0(?:[01589]\d|6[67])|1(?:[02-589]\d|1[0135-9]|7[0-79])|2(?:[236-9]\d|5[1-9])|3(?:[037-9]\d|4[1-9]|5[0-57-9])|[45]\d{2}|6[02457-9]\d|7[1-69]\d|8(?:[0-26-9]\d|44|5[2-9])|9(?:[035-9]\d|2[2-9]|4[0-8]))|9\d{3})\d{6}
3875
3878
  :possibleNumberPattern: \d{10}
3876
3879
  :exampleNumber: '9123456789'
3877
3880
  :tollFree:
@@ -3892,7 +3895,7 @@
3892
3895
  :exampleNumber: '108'
3893
3896
  :formats:
3894
3897
  - :pattern: (\d{2})(\d{2})(\d{6})
3895
- :leadingDigits: 7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|60|7[7-9]|8[1-9]|9[05-9])|8(?:[03][07-9]|14|2[7-9]|[4-7]|9[013-9]))|8(?:0(?:[01589]|6[67])|1(?:[02-589]|1[0135-9]|7[0-79])|2(?:[236-9]|5[1-9])|3(?:[037-9]|4[1-9]|5[0-37-9])|[45]|6[02457-9]|7[1-69]|8(?:[0-26-9]|44|5[2-9])|9(?:[035-9]|2[2-9]|4[0-8]))|9
3898
+ :leadingDigits: 7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|60|7[7-9]|8[1-9]|9[05-9])|8(?:[03][07-9]|14|2[7-9]|[4-7]|9[013-9]))|8(?:0(?:[01589]|6[67])|1(?:[02-589]|1[0135-9]|7[0-79])|2(?:[236-9]|5[1-9])|3(?:[037-9]|4[1-9]|5[0-57-9])|[45]|6[02457-9]|7[1-69]|8(?:[0-26-9]|44|5[2-9])|9(?:[035-9]|2[2-9]|4[0-8]))|9
3896
3899
  :format: $1$2$3
3897
3900
  - :pattern: (\d{2})(\d{4})(\d{4})
3898
3901
  :leadingDigits: 11|2[02]|33|4[04]|79|80[2-46]
@@ -4470,7 +4473,7 @@
4470
4473
  :possibleNumberPattern: \d{6,9}
4471
4474
  :exampleNumber: '23456789'
4472
4475
  :mobile:
4473
- :nationalNumberPattern: (?:(?:1\d|6[06-9]|7(?:[07-9]|6\d))[1-9]|8(?:0[89]|[134679]\d|5[2-689]|8\d{2})|9(?:[0-589][1-9]|[67][1-9]\d?))\d{5}
4476
+ :nationalNumberPattern: (?:(?:1\d|6[016-9]|7(?:[07-9]|6\d))[1-9]|8(?:0[89]|[134679]\d|5[2-9]|8\d{2})|9(?:[0-589][1-9]|[67][1-9]\d?))\d{5}
4474
4477
  :possibleNumberPattern: \d{8,9}
4475
4478
  :exampleNumber: '91234567'
4476
4479
  :tollFree:
@@ -4763,7 +4766,7 @@
4763
4766
  :nationalNumberPattern: 33622\d{5}|7(?:1(?:0(?:[23]\d|4[023]|59|63)|1(?:[23]\d|4[0-79]|59)|2(?:[23]\d|59)|3(?:2\d|3[1-79]|4[0-35-9]|59)|4(?:2\d|3[013-79]|4[0-8]|5[1-79])|5(?:2\d|3[1-8]|4[1-7]|59)|6(?:[234]\d|5[19]|61)|72\d|8(?:[27]\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\d|4[46-9]|5[3469])|2(?:2\d|3[0679]|46|5[12679])|3(?:[234]\d|5[139])|4(?:2\d|3[1235-9]|59)|5(?:[23]\d|4[01246-8]|59|61)|6(?:2\d|3[1-9]|4[0-4]|59)|7(?:[237]\d|40|5[279])|8(?:[23]\d|4[0-3]|59)|9(?:2\d|3[124578]|59)))\d{5}
4764
4767
  :exampleNumber: '7123456789'
4765
4768
  :mobile:
4766
- :nationalNumberPattern: 7(?:0[01257]|6[02-4]|7[1578]|85)\d{7}
4769
+ :nationalNumberPattern: 7(?:0[01257]|6[02-4]|7[15-8]|85)\d{7}
4767
4770
  :exampleNumber: '7710009998'
4768
4771
  :tollFree:
4769
4772
  :nationalNumberPattern: 800\d{7}
@@ -5215,7 +5218,7 @@
5215
5218
  :nationalNumberPattern: 5(?:2(?:(?:[015-7]\d|2[2-9]|3[2-57]|4[2-8]|8[235-7])\d|9(?:0\d|[89]0))|3(?:(?:[0-4]\d|[57][2-9]|6[235-8]|9[3-9])\d|8(?:0\d|[89]0)))\d{4}
5216
5219
  :exampleNumber: '520123456'
5217
5220
  :mobile:
5218
- :nationalNumberPattern: 6(?:0[0-6]|[14-7]\d|2[2-46-9]|3[03-8]|8[01]|99)\d{6}
5221
+ :nationalNumberPattern: 6(?:0[0-8]|[14-7]\d|2[0-46-9]|3[03-8]|8[01]|99)\d{6}
5219
5222
  :exampleNumber: '650123456'
5220
5223
  :tollFree:
5221
5224
  :nationalNumberPattern: 80\d{7}
@@ -5291,7 +5294,7 @@
5291
5294
  :nationalNumberPattern: (?:2(?:1[0569]|2\d|3[015-7]|4[1-46-9]|5[0-24689]|6[2-589]|7[1-37]|9[1347-9])|5(?:33|5[257]))\d{5}
5292
5295
  :exampleNumber: '22212345'
5293
5296
  :mobile:
5294
- :nationalNumberPattern: (?:562|6(?:50|7[1-5]|[089]\d)|7(?:7[47-9]|[89]\d))\d{5}
5297
+ :nationalNumberPattern: (?:562|6(?:50|7[1-6]|[089]\d)|7(?:7[47-9]|[89]\d))\d{5}
5295
5298
  :exampleNumber: '65012345'
5296
5299
  :tollFree:
5297
5300
  :nationalNumberPattern: 800\d{5}
@@ -5384,12 +5387,16 @@
5384
5387
  :nationalNumberPattern: ! '[23]\d{8}'
5385
5388
  :possibleNumberPattern: \d{7,9}
5386
5389
  :fixedLine:
5387
- :nationalNumberPattern: 2(?:0(?:(?:2\d|4[47]|5[3467]|6[279]|8[268]|9[245])\d|7(?:2[29]|[35]\d))|210\d)\d{4}
5390
+ :nationalNumberPattern: 20(?:2\d{2}|4[47]\d|5[3467]\d|6[279]\d|7(?:2[29]|[35]\d)|8[268]\d|9[245]\d)\d{4}
5388
5391
  :exampleNumber: '202123456'
5389
5392
  :mobile:
5390
5393
  :nationalNumberPattern: 3(?:[02-4]\d|90)\d{6}
5391
5394
  :possibleNumberPattern: \d{9}
5392
5395
  :exampleNumber: '301234567'
5396
+ :voip:
5397
+ :nationalNumberPattern: 22\d{7}
5398
+ :possibleNumberPattern: \d{9}
5399
+ :exampleNumber: '221234567'
5393
5400
  :emergency:
5394
5401
  :nationalNumberPattern: 11?[78]
5395
5402
  :possibleNumberPattern: \d{2,3}
@@ -5485,7 +5492,7 @@
5485
5492
  :nationalNumberPattern: (?:2(?:0(?:2[0-589]|7[027-9])|1(?:2[5-7]|[3-689]\d))|44[239]\d)\d{4}
5486
5493
  :exampleNumber: '20212345'
5487
5494
  :mobile:
5488
- :nationalNumberPattern: (?:6[3569]|7\d)\d{6}
5495
+ :nationalNumberPattern: ! '[67]\d{7}'
5489
5496
  :exampleNumber: '65012345'
5490
5497
  :tollFree:
5491
5498
  :nationalNumberPattern: 800\d{5}
@@ -5504,14 +5511,14 @@
5504
5511
  :nationalPrefixFormattingRule: $NP$FG
5505
5512
  :types:
5506
5513
  :generalDesc:
5507
- :nationalNumberPattern: ! '[14578]\d{5,7}|[26]\d{5,8}|9(?:[258]|4\d{1,2}|[679]\d?)\d{6}'
5514
+ :nationalNumberPattern: ! '[14578]\d{5,7}|[26]\d{5,8}|9(?:[258]|3\d|4\d{1,2}|[679]\d?)\d{6}'
5508
5515
  :possibleNumberPattern: \d{5,10}
5509
5516
  :fixedLine:
5510
5517
  :nationalNumberPattern: 1(?:2\d{1,2}|[3-5]\d|6\d?|[89][0-6]\d)\d{4}|2(?:[236-9]\d{4}|4(?:0\d{5}|\d{4})|5(?:1\d{3,6}|[02-9]\d{3,5}))|4(?:2[245-8]|[346][2-6]|5[3-5])\d{4}|5(?:2(?:20?|[3-8])|3[2-68]|4(?:21?|[4-8])|5[23]|6[2-4]|7[2-8]|8[24-7]|9[2-7])\d{4}|6(?:0[23]|1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7(?:[2367]|4\d|5\d?|8[145]\d)|8[245]|9[24])\d{4}|7(?:[04][24-8]|[15][2-7]|22|3[2-4])\d{4}|8(?:1(?:2\d?|[3-689])|2[2-8]|3[24]|4[24-7]|5[245]|6[23])\d{4}
5511
5518
  :possibleNumberPattern: \d{5,9}
5512
5519
  :exampleNumber: '1234567'
5513
5520
  :mobile:
5514
- :nationalNumberPattern: 17[01]\d{4}|9(?:2[0-4]|4(?:0[0-4]\d|[1379]\d|[24][0-589]\d|5\d{2}|88)|5[0-6]|61?\d|73\d|8\d|9(?:1\d|[089]))\d{5}
5521
+ :nationalNumberPattern: 17[01]\d{4}|9(?:2[0-4]|3[136]\d|4(?:0[0-4]\d|[1379]\d|[24][0-589]\d|5\d{2}|88)|5[0-6]|61?\d|73\d|8\d|9(?:1\d|[089]))\d{5}
5515
5522
  :possibleNumberPattern: \d{7,10}
5516
5523
  :exampleNumber: '92123456'
5517
5524
  :voip:
@@ -5539,7 +5546,7 @@
5539
5546
  :leadingDigits: ! '[4-8]'
5540
5547
  :format: $1$2$3
5541
5548
  - :pattern: (9)(\d{3})(\d{4,5})
5542
- :leadingDigits: 9(?:[25-9]|4[13789])
5549
+ :leadingDigits: 9(?:[235-9]|4[13789])
5543
5550
  :format: $1$2$3
5544
5551
  - :pattern: (9)(4\d{4})(\d{4})
5545
5552
  :leadingDigits: 94[0245]
@@ -5907,7 +5914,7 @@
5907
5914
  :possibleNumberPattern: \d{6,9}
5908
5915
  :exampleNumber: '323456789'
5909
5916
  :mobile:
5910
- :nationalNumberPattern: 1(?:1[1-3]\d{2}|[02-4679][2-9]\d|8(?:1[23]|[2-9]\d))\d{5}
5917
+ :nationalNumberPattern: 1(?:1[1-3]\d{2}|[02-4679][2-9]\d|59\d{2}|8(?:1[23]|[2-9]\d))\d{5}
5911
5918
  :possibleNumberPattern: \d{9,10}
5912
5919
  :exampleNumber: '123456789'
5913
5920
  :tollFree:
@@ -5951,7 +5958,7 @@
5951
5958
  :leadingDigits: '11'
5952
5959
  :format: $1-$2$3
5953
5960
  - :nationalPrefixFormattingRule: $NP$FG
5954
- :pattern: (154)(\d{3})(\d{4})
5961
+ :pattern: (15[49])(\d{3})(\d{4})
5955
5962
  :leadingDigits: '15'
5956
5963
  :format: $1-$2$3
5957
5964
  - :id: MZ
@@ -6124,7 +6131,7 @@
6124
6131
  :possibleNumberPattern: \d{5,9}
6125
6132
  :exampleNumber: '12345678'
6126
6133
  :mobile:
6127
- :nationalNumberPattern: (?:1(?:7[34]\d|8(?:04|[124579]\d|8[0-3])|95\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\d)\d{4}|(?:70(?:[3-9]\d|2[1-9])|8(?:0[2-9]|1\d)\d)\d{6}
6134
+ :nationalNumberPattern: (?:1(?:7[34]\d|8(?:04|[124579]\d|8[0-3])|95\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\d)\d{4}|(?:70(?:[13-9]\d|2[1-9])|8(?:0[2-9]|1\d)\d)\d{6}
6128
6135
  :possibleNumberPattern: \d{8,10}
6129
6136
  :exampleNumber: '8021234567'
6130
6137
  :tollFree:
@@ -6946,7 +6953,7 @@
6946
6953
  :nationalNumberPattern: (?:[26]1|3[289]|4[124678]|7[123]|8[1236])\d{5,7}|(?:2(?:2[4568]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51)|4(?:18|2[45]|3[12]|5[13]|64|71|9[1-47])|5(?:[1-4]\d|5[0234])|6(?:3[1-3]|44|7[1-4678])|7(?:17|4[0-4]|6[1-578]|75|8[0-8])|858)\d{5,6}
6947
6954
  :exampleNumber: '212345678'
6948
6955
  :mobile:
6949
- :nationalNumberPattern: 9(?:61|[78][1-6]|9[1-5])\d{6}
6956
+ :nationalNumberPattern: 9(?:6[12]|[78][1-6]|9[1-5])\d{6}
6950
6957
  :possibleNumberPattern: \d{9}
6951
6958
  :exampleNumber: '961456789'
6952
6959
  :voip:
@@ -7253,40 +7260,43 @@
7253
7260
  :nationalPrefixFormattingRule: $NP$FG
7254
7261
  :types:
7255
7262
  :generalDesc:
7256
- :nationalNumberPattern: (?:[1-467]|92)\d{7}|5\d{8}|8\d{9}
7263
+ :nationalNumberPattern: 1\d{7,8}|(?:[2-467]|92)\d{7}|5\d{8}|8\d{9}
7257
7264
  :possibleNumberPattern: \d{7,10}
7258
7265
  :fixedLine:
7259
- :nationalNumberPattern: (?:[12][24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\d{6}
7260
- :possibleNumberPattern: \d{7,8}
7261
- :exampleNumber: '12345678'
7266
+ :nationalNumberPattern: (?:11?\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\d{6}
7267
+ :possibleNumberPattern: \d{7,9}
7268
+ :exampleNumber: '112345678'
7262
7269
  :mobile:
7263
- :nationalNumberPattern: (?:5[013-689]\d|8111)\d{6}
7270
+ :nationalNumberPattern: (?:5[013-689]|811)\d{7}
7264
7271
  :possibleNumberPattern: \d{9,10}
7265
7272
  :exampleNumber: '512345678'
7266
7273
  :tollFree:
7267
7274
  :nationalNumberPattern: 800\d{7}
7268
7275
  :possibleNumberPattern: \d{10}
7269
7276
  :exampleNumber: '8001234567'
7270
- :uan:
7271
- :nationalNumberPattern: 9200\d{5}
7277
+ :sharedCost:
7278
+ :nationalNumberPattern: 92[05]\d{6}
7272
7279
  :possibleNumberPattern: \d{9}
7273
7280
  :exampleNumber: '920012345'
7274
7281
  :shortCode:
7275
- :nationalNumberPattern: 9(0[24-79]|33|40|66|8[59]|9[02-6])
7276
- :possibleNumberPattern: \d{3}
7277
- :exampleNumber: '902'
7282
+ :nationalNumberPattern: 1(?:16111|9(?:00|1[89]|9(?:099|22|91)))|9(37|8[6-8]|9[2-6])
7283
+ :possibleNumberPattern: \d{3,6}
7284
+ :exampleNumber: '937'
7278
7285
  :emergency:
7279
- :nationalNumberPattern: 99[7-9]
7286
+ :nationalNumberPattern: 112|9(?:11|9[7-9])
7280
7287
  :possibleNumberPattern: \d{3}
7281
7288
  :exampleNumber: '999'
7282
7289
  :formats:
7283
7290
  - :pattern: ([1-467])(\d{3})(\d{4})
7284
7291
  :leadingDigits: ! '[1-467]'
7285
7292
  :format: $1$2$3
7293
+ - :pattern: (1\d)(\d{3})(\d{4})
7294
+ :leadingDigits: 1[1-467]
7295
+ :format: $1$2$3
7286
7296
  - :pattern: (5\d)(\d{3})(\d{4})
7287
7297
  :leadingDigits: '5'
7288
7298
  :format: $1$2$3
7289
- - :pattern: (9200)(\d{5})
7299
+ - :pattern: (92\d{2})(\d{5})
7290
7300
  :nationalPrefixFormattingRule: $FG
7291
7301
  :leadingDigits: '9'
7292
7302
  :format: $1$2
@@ -7294,7 +7304,7 @@
7294
7304
  :nationalPrefixFormattingRule: $FG
7295
7305
  :leadingDigits: '80'
7296
7306
  :format: $1$2$3
7297
- - :pattern: (8111)(\d{3})(\d{3})
7307
+ - :pattern: (811)(\d{3})(\d{3,4})
7298
7308
  :leadingDigits: '81'
7299
7309
  :format: $1$2$3
7300
7310
  - :id: SB
@@ -8144,7 +8154,7 @@
8144
8154
  :nationalNumberPattern: (?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\d{6}
8145
8155
  :exampleNumber: '372123456'
8146
8156
  :mobile:
8147
- :nationalNumberPattern: (?:505|9[0-35-9]\d)\d{6}
8157
+ :nationalNumberPattern: (?:50[15]|9[0-35-9]\d)\d{6}
8148
8158
  :possibleNumberPattern: \d{9}
8149
8159
  :exampleNumber: '917123456'
8150
8160
  :emergency:
@@ -8189,7 +8199,7 @@
8189
8199
  :possibleNumberPattern: \d{7}
8190
8200
  :exampleNumber: '2112345'
8191
8201
  :mobile:
8192
- :nationalNumberPattern: 7[78]\d{6}
8202
+ :nationalNumberPattern: 7[3-8]\d{6}
8193
8203
  :possibleNumberPattern: \d{8}
8194
8204
  :exampleNumber: '77212345'
8195
8205
  :tollFree:
@@ -8374,7 +8384,7 @@
8374
8384
  :nationalNumberPattern: 868(?:2(?:01|2[1-5])|6(?:07|1[4-6]|2[1-9]|[3-6]\d|7[0-79]|9[0-8])|82[12])\d{4}
8375
8385
  :exampleNumber: '8682211234'
8376
8386
  :mobile:
8377
- :nationalNumberPattern: 868(?:2(?:8[59]|9\d)|3(?:0[1-9]|1[02-9]|[2-9]\d)|4(?:[679]\d|8[0-4])|6(?:20|78|8\d)|7(?:03|1[02-9]|[2-9]\d))\d{4}
8387
+ :nationalNumberPattern: 868(?:2(?:8[59]|9\d)|3(?:0[1-9]|1[02-9]|[2-9]\d)|4[6-9]\d|6(?:20|78|8\d)|7(?:1[02-9]|[02-9]\d))\d{4}
8378
8388
  :possibleNumberPattern: \d{10}
8379
8389
  :exampleNumber: '8682911234'
8380
8390
  :tollFree:
@@ -8534,10 +8544,10 @@
8534
8544
  :leadingDigits: ! '[38]9|4(?:[45][0-5]|87)|5(?:0|6(?:3[14-7]|7)|7[37])|6[36-8]|9[1-9]'
8535
8545
  :format: $1$2$3
8536
8546
  - :pattern: ([3-689]\d{2})(\d{3})(\d{3})
8537
- :leadingDigits: 3(?:[1-46-8]2[013-9]|52)|4[1378]2|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90
8547
+ :leadingDigits: 3(?:[1-46-8]2[013-9]|52)|4(?:[1378]2|62[013-9])|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90
8538
8548
  :format: $1$2$3
8539
8549
  - :pattern: ([3-6]\d{3})(\d{5})
8540
- :leadingDigits: 3(?:5[013-9]|[1-46-8](?:22|[013-9]))|4(?:[137][013-9]|6|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6(?:3[02389]|[015689])|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])
8550
+ :leadingDigits: 3(?:5[013-9]|[1-46-8](?:22|[013-9]))|4(?:[137][013-9]|6(?:[013-9]|22)|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6(?:3[02389]|[015689])|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])
8541
8551
  :format: $1$2
8542
8552
  - :id: UG
8543
8553
  :countryCode: '256'
@@ -1,4 +1,4 @@
1
1
  module Phonelib
2
2
  # :nodoc:
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
Binary file
@@ -1,976 +1,18 @@
1
1
  Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
- Connecting to database specified by database.yml
4
-
5
-
6
- Started GET "/" for 127.0.0.1 at 2013-01-21 19:40:11 +0200
7
- Connecting to database specified by database.yml
8
-
9
- ActionController::RoutingError (No route matches [GET] "/"):
10
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
11
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
12
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
13
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
14
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
15
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
16
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
17
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
18
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
19
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
20
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
21
- railties (3.2.8) lib/rails/application.rb:223:in `call'
22
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
23
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
24
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
25
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
26
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
27
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
28
-
29
-
30
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (37.8ms)
31
-
32
-
33
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:40:36 +0200
34
-
35
- ArgumentError (Unknown validator: 'PhoneValidator'):
36
- app/models/phone.rb:4:in `<class:Phone>'
37
- app/models/phone.rb:1:in `<top (required)>'
38
- app/controllers/phones_controller.rb:1:in `<top (required)>'
39
-
40
-
41
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
42
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.5ms)
43
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.4ms)
44
-
45
-
46
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:41:02 +0200
47
-
48
- ArgumentError (Unknown validator: 'PhoneValidator'):
49
- app/models/phone.rb:5:in `<class:Phone>'
50
- app/models/phone.rb:2:in `<top (required)>'
51
- app/controllers/phones_controller.rb:1:in `<top (required)>'
52
-
53
-
54
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
55
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
56
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms)
57
-
58
-
59
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:41:27 +0200
60
- Connecting to database specified by database.yml
61
-
62
- ArgumentError (Unknown validator: 'PhoneValidator'):
63
- app/models/phone.rb:5:in `<class:Phone>'
64
- app/models/phone.rb:2:in `<top (required)>'
65
- app/controllers/phones_controller.rb:1:in `<top (required)>'
66
-
67
-
68
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms)
69
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.3ms)
70
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.2ms)
71
-
72
-
73
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:41:27 +0200
74
-
75
- NoMethodError (undefined method `key?' for nil:NilClass):
76
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:36:in `visible_action?'
77
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:18:in `method_for_action'
78
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:14:in `method_for_action'
79
- actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:61:in `method_for_action'
80
- actionpack (3.2.8) lib/abstract_controller/base.rb:115:in `process'
81
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
82
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
83
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
84
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
85
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
86
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
87
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
88
- journey (1.0.4) lib/journey/router.rb:68:in `block in call'
89
- journey (1.0.4) lib/journey/router.rb:56:in `each'
90
- journey (1.0.4) lib/journey/router.rb:56:in `call'
91
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
92
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
93
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
94
- rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
95
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
96
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
97
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
98
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
99
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
100
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
101
- activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
102
- activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
103
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
104
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2714639589700303063__call__2992415629966378876__callbacks'
105
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
106
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
107
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
108
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
109
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
110
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
111
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
112
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
113
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
114
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
115
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
116
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
117
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
118
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
119
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
120
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
121
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
122
- railties (3.2.8) lib/rails/application.rb:223:in `call'
123
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
124
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
125
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
126
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
127
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
128
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
129
-
130
-
131
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
132
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
133
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.1ms)
134
- Connecting to database specified by database.yml
135
-  (0.2ms) select sqlite_version(*)
136
-  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
137
-  (0.0ms) PRAGMA index_list("schema_migrations")
138
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
139
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
140
- Migrating to CreatePhones (20130121173847)
141
-  (0.1ms) begin transaction
142
-  (0.5ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
143
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130121173847')
144
-  (1.7ms) commit transaction
145
-  (0.3ms) select sqlite_version(*)
146
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
147
-  (0.0ms) PRAGMA index_list("phones")
148
-
149
-
150
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:42:46 +0200
151
- Connecting to database specified by database.yml
152
-
153
- ArgumentError (Unknown validator: 'PhoneValidator'):
154
- app/models/phone.rb:5:in `<class:Phone>'
155
- app/models/phone.rb:2:in `<top (required)>'
156
- app/controllers/phones_controller.rb:1:in `<top (required)>'
157
-
158
-
159
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
160
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.0ms)
161
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.4ms)
162
-
163
-
164
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:43:25 +0200
165
-
166
- TypeError (wrong argument type Class (expected Module)):
167
- app/models/phone.rb:4:in `include'
168
- app/models/phone.rb:4:in `<class:Phone>'
169
- app/models/phone.rb:1:in `<top (required)>'
170
- app/controllers/phones_controller.rb:1:in `<top (required)>'
171
-
172
-
173
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
174
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
175
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.4ms)
176
-
177
-
178
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:44:06 +0200
179
-
180
- ActionController::RoutingError (uninitialized constant Phone::PhoneValidator):
181
- app/models/phone.rb:4:in `<class:Phone>'
182
- app/models/phone.rb:1:in `<top (required)>'
183
- app/controllers/phones_controller.rb:1:in `<top (required)>'
184
-
185
-
186
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
187
-
188
-
189
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:44:15 +0200
190
-
191
- TypeError (wrong argument type Class (expected Module)):
192
- app/models/phone.rb:4:in `include'
193
- app/models/phone.rb:4:in `<class:Phone>'
194
- app/models/phone.rb:1:in `<top (required)>'
195
- app/controllers/phones_controller.rb:1:in `<top (required)>'
196
-
197
-
198
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms)
199
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
200
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (38.5ms)
201
-
202
-
203
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:45:11 +0200
204
-
205
- TypeError (wrong argument type Class (expected Module)):
206
- app/models/phone.rb:6:in `include'
207
- app/models/phone.rb:6:in `<class:Phone>'
208
- app/models/phone.rb:3:in `<top (required)>'
209
- app/controllers/phones_controller.rb:1:in `<top (required)>'
210
-
211
-
212
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
213
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
214
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.3ms)
215
-
216
-
217
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:45:13 +0200
218
-
219
- NoMethodError (undefined method `key?' for nil:NilClass):
220
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:36:in `visible_action?'
221
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:18:in `method_for_action'
222
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:14:in `method_for_action'
223
- actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:61:in `method_for_action'
224
- actionpack (3.2.8) lib/abstract_controller/base.rb:115:in `process'
225
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
226
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
227
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
228
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
229
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
230
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
231
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
232
- journey (1.0.4) lib/journey/router.rb:68:in `block in call'
233
- journey (1.0.4) lib/journey/router.rb:56:in `each'
234
- journey (1.0.4) lib/journey/router.rb:56:in `call'
235
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
236
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
237
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
238
- rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
239
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
240
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
241
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
242
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
243
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
244
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
245
- activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
246
- activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
247
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
248
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2222861710604666620__call__1835404948743703635__callbacks'
249
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
250
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
251
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
252
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
253
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
254
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
255
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
256
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
257
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
258
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
259
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
260
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
261
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
262
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
263
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
264
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
265
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
266
- railties (3.2.8) lib/rails/application.rb:223:in `call'
267
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
268
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
269
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
270
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
271
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
272
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
273
-
274
-
275
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
276
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
277
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.7ms)
278
-
279
-
280
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:45:15 +0200
281
-
282
- NoMethodError (undefined method `key?' for nil:NilClass):
283
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:36:in `visible_action?'
284
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:18:in `method_for_action'
285
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:14:in `method_for_action'
286
- actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:61:in `method_for_action'
287
- actionpack (3.2.8) lib/abstract_controller/base.rb:115:in `process'
288
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
289
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
290
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
291
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
292
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
293
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
294
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
295
- journey (1.0.4) lib/journey/router.rb:68:in `block in call'
296
- journey (1.0.4) lib/journey/router.rb:56:in `each'
297
- journey (1.0.4) lib/journey/router.rb:56:in `call'
298
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
299
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
300
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
301
- rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
302
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
303
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
304
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
305
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
306
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
307
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
308
- activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
309
- activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
310
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
311
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2222861710604666620__call__1835404948743703635__callbacks'
312
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
313
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
314
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
315
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
316
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
317
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
318
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
319
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
320
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
321
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
322
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
323
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
324
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
325
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
326
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
327
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
328
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
329
- railties (3.2.8) lib/rails/application.rb:223:in `call'
330
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
331
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
332
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
333
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
334
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
335
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
336
-
337
-
338
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms)
339
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
340
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.2ms)
341
-
342
-
343
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 19:45:44 +0200
344
-
345
- NoMethodError (undefined method `key?' for nil:NilClass):
346
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:36:in `visible_action?'
347
- actionpack (3.2.8) lib/action_controller/metal/hide_actions.rb:18:in `method_for_action'
348
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:14:in `method_for_action'
349
- actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:61:in `method_for_action'
350
- actionpack (3.2.8) lib/abstract_controller/base.rb:115:in `process'
351
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
352
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
353
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
354
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
355
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
356
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
357
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
358
- journey (1.0.4) lib/journey/router.rb:68:in `block in call'
359
- journey (1.0.4) lib/journey/router.rb:56:in `each'
360
- journey (1.0.4) lib/journey/router.rb:56:in `call'
361
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
362
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
363
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
364
- rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
365
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
366
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
367
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
368
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
369
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
370
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
371
- activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
372
- activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
373
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
374
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__2222861710604666620__call__1835404948743703635__callbacks'
375
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
376
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
377
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
378
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
379
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
380
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
381
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
382
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
383
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
384
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
385
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
386
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
387
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
388
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
389
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
390
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
391
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
392
- railties (3.2.8) lib/rails/application.rb:223:in `call'
393
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
394
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
395
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
396
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
397
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
398
- /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
399
-
400
-
401
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
402
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
403
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.3ms)
404
-
405
-
406
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 20:01:28 +0200
407
- Connecting to database specified by database.yml
408
- Processing by PhonesController#index as HTML
409
- Phone Load (0.1ms) SELECT "phones".* FROM "phones" 
410
- Rendered phones/index.html.erb within layouts/application (5.1ms)
411
- Compiled phones.css (0ms) (pid 68339)
412
- Compiled scaffold.css (0ms) (pid 68339)
413
- Compiled application.css (29ms) (pid 68339)
414
- Compiled jquery.js (9ms) (pid 68339)
415
- Compiled jquery_ujs.js (0ms) (pid 68339)
416
- Compiled phones.js (0ms) (pid 68339)
417
- Compiled application.js (109ms) (pid 68339)
418
- Completed 200 OK in 333ms (Views: 260.7ms | ActiveRecord: 2.7ms)
419
-
420
-
421
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:01:29 +0200
422
- Served asset /phones.css - 200 OK (8ms)
423
-
424
-
425
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:01:29 +0200
426
- Served asset /jquery.js - 200 OK (7ms)
427
-
428
-
429
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:01:29 +0200
430
- Served asset /application.css - 200 OK (26ms)
431
-
432
-
433
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:01:29 +0200
434
- Served asset /application.js - 200 OK (7ms)
435
-
436
-
437
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:01:29 +0200
438
- Served asset /scaffold.css - 200 OK (2ms)
439
-
440
-
441
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 20:01:29 +0200
442
- Served asset /jquery_ujs.js - 200 OK (7ms)
443
-
444
-
445
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:01:29 +0200
446
- Served asset /phones.js - 200 OK (2ms)
447
- Connecting to database specified by database.yml
448
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
449
-  (0.3ms) select sqlite_version(*)
450
-  (2.3ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
451
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
452
-  (0.0ms) PRAGMA index_list("schema_migrations")
453
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
454
-  (0.1ms) SELECT version FROM "schema_migrations"
455
-  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
456
- Connecting to database specified by database.yml
457
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
458
-  (0.3ms) select sqlite_version(*)
459
-  (2.9ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
460
-  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
461
-  (0.0ms) PRAGMA index_list("schema_migrations")
462
-  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
463
-  (0.2ms) SELECT version FROM "schema_migrations"
464
-  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
465
- Connecting to database specified by database.yml
466
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
467
-  (0.3ms) select sqlite_version(*)
468
-  (4.4ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
469
-  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
470
-  (0.0ms) PRAGMA index_list("schema_migrations")
471
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
472
-  (0.1ms) SELECT version FROM "schema_migrations"
473
-  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
474
- Connecting to database specified by database.yml
475
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
476
-  (0.3ms) select sqlite_version(*)
477
-  (4.4ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
478
-  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
479
-  (0.0ms) PRAGMA index_list("schema_migrations")
480
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
481
-  (0.1ms) SELECT version FROM "schema_migrations"
482
-  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
483
- Connecting to database specified by database.yml
484
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
485
-  (0.3ms) select sqlite_version(*)
486
-  (4.2ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
487
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
488
-  (0.0ms) PRAGMA index_list("schema_migrations")
489
-  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
490
-  (0.1ms) SELECT version FROM "schema_migrations"
491
-  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
492
-
493
-
494
- Started GET "/phones/new" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
495
- Connecting to database specified by database.yml
496
- Processing by PhonesController#new as HTML
497
- Rendered phones/_form.html.erb (17.0ms)
498
- Rendered phones/new.html.erb within layouts/application (28.6ms)
499
- Completed 200 OK in 148ms (Views: 104.9ms | ActiveRecord: 2.8ms)
500
-
501
-
502
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
503
- Served asset /scaffold.css - 304 Not Modified (2ms)
504
-
505
-
506
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
507
- Served asset /phones.css - 304 Not Modified (3ms)
508
-
509
-
510
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
511
- Served asset /jquery_ujs.js - 304 Not Modified (8ms)
512
-
513
-
514
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
515
- Served asset /phones.js - 304 Not Modified (2ms)
516
-
517
-
518
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
519
- Served asset /jquery.js - 304 Not Modified (7ms)
520
-
521
-
522
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
523
- Served asset /application.css - 304 Not Modified (5ms)
524
-
525
-
526
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:17:59 +0200
527
- Served asset /application.js - 304 Not Modified (10ms)
528
-
529
-
530
- Started POST "/phones" for 127.0.0.1 at 2013-01-21 20:18:03 +0200
531
- Processing by PhonesController#create as HTML
532
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"juy+71mIBytVSnXymhY6ThKZetKorLx+yfYMGW7+xy4=", "phone"=>{"number"=>"sdfsdfsfd"}, "commit"=>"Create Phone"}
533
-  (0.1ms) begin transaction
534
-  (0.1ms) rollback transaction
535
- Completed 500 Internal Server Error in 3ms
536
-
537
- Errno::ENOENT (No such file or directory - data/phone_data.yml):
538
- app/controllers/phones_controller.rb:46:in `block in create'
539
- app/controllers/phones_controller.rb:45:in `create'
540
-
541
-
542
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
543
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms)
544
- Rendered /usr/local/rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.6ms)
545
- Connecting to database specified by database.yml
546
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
547
-  (0.4ms) select sqlite_version(*)
548
-  (5.5ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
549
-  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
550
-  (0.0ms) PRAGMA index_list("schema_migrations")
551
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
552
-  (0.1ms) SELECT version FROM "schema_migrations"
553
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
554
-
555
-
556
- Started POST "/phones" for 127.0.0.1 at 2013-01-21 20:22:13 +0200
557
- Connecting to database specified by database.yml
558
- Processing by PhonesController#create as HTML
559
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"juy+71mIBytVSnXymhY6ThKZetKorLx+yfYMGW7+xy4=", "phone"=>{"number"=>"sdfsdfsfd"}, "commit"=>"Create Phone"}
560
-  (0.1ms) begin transaction
561
-  (0.1ms) rollback transaction
562
- Rendered phones/_form.html.erb (62.5ms)
563
- Rendered phones/new.html.erb within layouts/application (72.6ms)
564
- Completed 200 OK in 1940ms (Views: 109.6ms | ActiveRecord: 2.9ms)
565
-
566
-
567
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:16 +0200
568
- Served asset /jquery.js - 304 Not Modified (4ms)
569
-
570
-
571
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:16 +0200
572
- Served asset /jquery_ujs.js - 304 Not Modified (3ms)
573
-
574
-
575
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:16 +0200
576
- Served asset /phones.css - 304 Not Modified (9ms)
577
-
578
-
579
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:16 +0200
580
- Served asset /scaffold.css - 304 Not Modified (3ms)
581
-
582
-
583
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:16 +0200
584
- Served asset /phones.js - 304 Not Modified (2ms)
585
-
586
-
587
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:16 +0200
588
- Served asset /application.js - 304 Not Modified (9ms)
589
-
590
-
591
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:16 +0200
592
- Served asset /application.css - 304 Not Modified (7ms)
593
-
594
-
595
- Started POST "/phones" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
596
- Processing by PhonesController#create as HTML
597
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"juy+71mIBytVSnXymhY6ThKZetKorLx+yfYMGW7+xy4=", "phone"=>{"number"=>"972541234567"}, "commit"=>"Create Phone"}
598
-  (0.1ms) begin transaction
599
- SQL (10.4ms) INSERT INTO "phones" ("created_at", "number", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jan 2013 18:22:29 UTC +00:00], ["number", "972541234567"], ["updated_at", Mon, 21 Jan 2013 18:22:29 UTC +00:00]]
600
-  (2.2ms) commit transaction
601
- Redirected to http://localhost:3000/phones/1
602
- Completed 302 Found in 20ms (ActiveRecord: 12.7ms)
603
-
604
-
605
- Started GET "/phones/1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
606
- Processing by PhonesController#show as HTML
607
- Parameters: {"id"=>"1"}
608
- Phone Load (0.4ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", "1"]]
609
- Rendered phones/show.html.erb within layouts/application (2.2ms)
610
- Completed 200 OK in 14ms (Views: 10.2ms | ActiveRecord: 0.4ms)
611
-
612
-
613
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
614
- Served asset /application.css - 304 Not Modified (0ms)
615
-
616
-
617
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
618
- Served asset /phones.css - 304 Not Modified (0ms)
619
-
620
-
621
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
622
- Served asset /jquery.js - 304 Not Modified (0ms)
623
-
624
-
625
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
626
- Served asset /scaffold.css - 304 Not Modified (0ms)
627
-
628
-
629
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
630
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
631
-
632
-
633
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
634
- Served asset /phones.js - 304 Not Modified (0ms)
635
-
636
-
637
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:29 +0200
638
- Served asset /application.js - 304 Not Modified (0ms)
639
-
640
-
641
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 20:22:33 +0200
642
- Processing by PhonesController#index as HTML
643
- Phone Load (0.2ms) SELECT "phones".* FROM "phones" 
644
- Rendered phones/index.html.erb within layouts/application (3.3ms)
645
- Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.2ms)
646
-
647
-
648
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:33 +0200
649
- Served asset /application.css - 304 Not Modified (0ms)
650
-
651
-
652
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:33 +0200
653
- Served asset /jquery.js - 304 Not Modified (0ms)
654
-
655
-
656
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:33 +0200
657
- Served asset /phones.css - 304 Not Modified (0ms)
658
-
659
-
660
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:34 +0200
661
- Served asset /phones.js - 304 Not Modified (0ms)
662
-
663
-
664
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:34 +0200
665
- Served asset /scaffold.css - 304 Not Modified (0ms)
666
-
667
-
668
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:34 +0200
669
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
670
-
671
-
672
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:34 +0200
673
- Served asset /application.js - 304 Not Modified (0ms)
674
-
675
-
676
- Started GET "/phones/new" for 127.0.0.1 at 2013-01-21 20:22:37 +0200
677
- Processing by PhonesController#new as HTML
678
- Rendered phones/_form.html.erb (2.8ms)
679
- Rendered phones/new.html.erb within layouts/application (4.0ms)
680
- Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)
681
-
682
-
683
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:37 +0200
684
- Served asset /application.css - 304 Not Modified (47ms)
685
-
686
-
687
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:37 +0200
688
- Served asset /phones.css - 304 Not Modified (0ms)
689
-
690
-
691
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:37 +0200
692
- Served asset /application.js - 304 Not Modified (0ms)
693
-
694
-
695
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:37 +0200
696
- Served asset /scaffold.css - 304 Not Modified (0ms)
697
-
698
-
699
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:37 +0200
700
- Served asset /jquery.js - 304 Not Modified (0ms)
701
-
702
-
703
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:37 +0200
704
- Served asset /phones.js - 304 Not Modified (0ms)
705
-
706
-
707
- Started POST "/phones" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
708
- Processing by PhonesController#create as HTML
709
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"juy+71mIBytVSnXymhY6ThKZetKorLx+yfYMGW7+xy4=", "phone"=>{"number"=>"dfgdfg23423423434"}, "commit"=>"Create Phone"}
710
-  (0.1ms) begin transaction
711
- SQL (0.6ms) INSERT INTO "phones" ("created_at", "number", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jan 2013 18:22:44 UTC +00:00], ["number", "dfgdfg23423423434"], ["updated_at", Mon, 21 Jan 2013 18:22:44 UTC +00:00]]
712
-  (1.9ms) commit transaction
713
- Redirected to http://localhost:3000/phones/2
714
- Completed 302 Found in 8ms (ActiveRecord: 2.7ms)
715
-
716
-
717
- Started GET "/phones/2" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
718
- Processing by PhonesController#show as HTML
719
- Parameters: {"id"=>"2"}
720
- Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", "2"]]
721
- Rendered phones/show.html.erb within layouts/application (1.0ms)
722
- Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.2ms)
723
-
724
-
725
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
726
- Served asset /jquery_ujs.js - 200 OK (0ms)
727
-
728
-
729
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
730
- Served asset /application.js - 304 Not Modified (0ms)
731
-
732
-
733
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
734
- Served asset /phones.css - 304 Not Modified (0ms)
735
-
736
-
737
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
738
- Served asset /scaffold.css - 304 Not Modified (0ms)
739
-
740
-
741
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
742
- Served asset /application.css - 304 Not Modified (0ms)
743
-
744
-
745
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
746
- Served asset /jquery.js - 304 Not Modified (0ms)
747
-
748
-
749
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:44 +0200
750
- Served asset /phones.js - 304 Not Modified (0ms)
751
-
752
-
753
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 20:22:47 +0200
754
- Processing by PhonesController#index as HTML
755
- Phone Load (0.2ms) SELECT "phones".* FROM "phones"
756
- Rendered phones/index.html.erb within layouts/application (3.2ms)
757
- Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.2ms)
758
-
759
-
760
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:47 +0200
761
- Served asset /application.css - 304 Not Modified (0ms)
762
-
763
-
764
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:47 +0200
765
- Served asset /phones.css - 304 Not Modified (0ms)
766
-
767
-
768
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:47 +0200
769
- Served asset /application.js - 304 Not Modified (0ms)
770
-
771
-
772
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:47 +0200
773
- Served asset /jquery.js - 304 Not Modified (0ms)
774
-
775
-
776
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:22:47 +0200
777
- Served asset /phones.js - 304 Not Modified (0ms)
778
-
779
-
780
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:22:47 +0200
781
- Served asset /scaffold.css - 304 Not Modified (0ms)
782
-
783
-
784
- Started DELETE "/phones/2" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
785
- Processing by PhonesController#destroy as HTML
786
- Parameters: {"authenticity_token"=>"juy+71mIBytVSnXymhY6ThKZetKorLx+yfYMGW7+xy4=", "id"=>"2"}
787
- Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", "2"]]
788
-  (0.1ms) begin transaction
789
- SQL (0.4ms) DELETE FROM "phones" WHERE "phones"."id" = ? [["id", 2]]
790
-  (1.5ms) commit transaction
791
- Redirected to http://localhost:3000/phones
792
- Completed 302 Found in 7ms (ActiveRecord: 2.2ms)
793
-
794
-
795
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
796
- Processing by PhonesController#index as HTML
797
- Phone Load (0.3ms) SELECT "phones".* FROM "phones" 
798
- Rendered phones/index.html.erb within layouts/application (2.1ms)
799
- Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.3ms)
800
-
801
-
802
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
803
- Served asset /application.css - 304 Not Modified (0ms)
804
-
805
-
806
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
807
- Served asset /phones.js - 304 Not Modified (0ms)
808
-
809
-
810
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
811
- Served asset /jquery.js - 304 Not Modified (0ms)
812
-
813
-
814
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
815
- Served asset /scaffold.css - 304 Not Modified (0ms)
816
-
817
-
818
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
819
- Served asset /application.js - 304 Not Modified (0ms)
820
-
821
-
822
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:05 +0200
823
- Served asset /phones.css - 304 Not Modified (2ms)
824
-
825
-
826
- Started DELETE "/phones/1" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
827
- Processing by PhonesController#destroy as HTML
828
- Parameters: {"authenticity_token"=>"juy+71mIBytVSnXymhY6ThKZetKorLx+yfYMGW7+xy4=", "id"=>"1"}
829
- Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", "1"]]
830
-  (0.1ms) begin transaction
831
- SQL (0.3ms) DELETE FROM "phones" WHERE "phones"."id" = ? [["id", 1]]
832
-  (3.1ms) commit transaction
833
- Redirected to http://localhost:3000/phones
834
- Completed 302 Found in 7ms (ActiveRecord: 3.6ms)
835
-
836
-
837
- Started GET "/phones" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
838
- Processing by PhonesController#index as HTML
839
- Phone Load (0.2ms) SELECT "phones".* FROM "phones"
840
- Rendered phones/index.html.erb within layouts/application (0.5ms)
841
- Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms)
842
-
843
-
844
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
845
- Served asset /phones.css - 304 Not Modified (0ms)
846
-
847
-
848
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
849
- Served asset /scaffold.css - 304 Not Modified (0ms)
850
-
851
-
852
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
853
- Served asset /jquery.js - 304 Not Modified (0ms)
854
-
855
-
856
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
857
- Served asset /phones.js - 304 Not Modified (0ms)
858
-
859
-
860
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
861
- Served asset /application.js - 304 Not Modified (0ms)
862
-
863
-
864
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:08 +0200
865
- Served asset /application.css - 304 Not Modified (0ms)
866
-
867
-
868
- Started GET "/phones/new" for 127.0.0.1 at 2013-01-21 20:23:10 +0200
869
- Processing by PhonesController#new as HTML
870
- Rendered phones/_form.html.erb (2.8ms)
871
- Rendered phones/new.html.erb within layouts/application (4.0ms)
872
- Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
873
-
874
-
875
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:10 +0200
876
- Served asset /application.css - 304 Not Modified (0ms)
877
-
878
-
879
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:10 +0200
880
- Served asset /application.js - 304 Not Modified (0ms)
881
-
882
-
883
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:11 +0200
884
- Served asset /jquery.js - 304 Not Modified (0ms)
885
-
886
-
887
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:11 +0200
888
- Served asset /phones.css - 304 Not Modified (0ms)
889
-
890
-
891
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:11 +0200
892
- Served asset /scaffold.css - 304 Not Modified (0ms)
893
-
894
-
895
- Started POST "/phones" for 127.0.0.1 at 2013-01-21 20:23:13 +0200
896
- Processing by PhonesController#create as HTML
897
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"juy+71mIBytVSnXymhY6ThKZetKorLx+yfYMGW7+xy4=", "phone"=>{"number"=>"werwer"}, "commit"=>"Create Phone"}
898
-  (0.1ms) begin transaction
899
-  (0.1ms) rollback transaction
900
- Rendered phones/_form.html.erb (3.9ms)
901
- Rendered phones/new.html.erb within layouts/application (5.2ms)
902
- Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.2ms)
903
-
904
-
905
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:13 +0200
906
- Served asset /application.css - 304 Not Modified (0ms)
907
-
908
-
909
- Started GET "/assets/phones.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:13 +0200
910
- Served asset /phones.js - 200 OK (0ms)
911
-
912
-
913
- Started GET "/assets/phones.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:13 +0200
914
- Served asset /phones.css - 304 Not Modified (0ms)
915
-
916
-
917
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-21 20:23:13 +0200
918
- Served asset /scaffold.css - 304 Not Modified (0ms)
919
-
920
-
921
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:13 +0200
922
- Served asset /application.js - 304 Not Modified (0ms)
923
-
924
-
925
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-21 20:23:13 +0200
926
- Served asset /jquery.js - 304 Not Modified (0ms)
927
- Connecting to database specified by database.yml
928
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
929
-  (0.3ms) select sqlite_version(*)
930
-  (4.0ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
931
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
932
-  (0.0ms) PRAGMA index_list("schema_migrations")
933
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+  (0.9ms) select sqlite_version(*)
3
+  (6.8ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "possible_number" varchar(255))
4
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
5
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
934
6
   (0.1ms) SELECT version FROM "schema_migrations"
935
-  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
7
+  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130122075331')
8
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
9
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
936
10
  Connecting to database specified by database.yml
937
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
938
-  (0.3ms) select sqlite_version(*)
939
-  (4.3ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
940
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
941
-  (0.0ms) PRAGMA index_list("schema_migrations")
942
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
943
-  (0.1ms) SELECT version FROM "schema_migrations"
944
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
945
- Connecting to database specified by database.yml
946
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
947
-  (0.3ms) select sqlite_version(*)
948
-  (3.8ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
949
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
950
-  (0.0ms) PRAGMA index_list("schema_migrations")
951
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
952
-  (0.1ms) SELECT version FROM "schema_migrations"
953
-  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
954
- Connecting to database specified by database.yml
955
- Connecting to database specified by database.yml
956
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
957
- Migrating to CreatePhones (20130121173847)
958
- Migrating to AddPossibleNumberToPhone (20130122075331)
11
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
959
12
   (0.1ms) select sqlite_version(*)
960
-  (0.1ms) begin transaction
961
-  (0.7ms) ALTER TABLE "phones" ADD "possible_number" varchar(255)
962
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130122075331')
963
-  (3.7ms) commit transaction
964
-  (0.4ms) select sqlite_version(*)
965
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
966
-  (0.0ms) PRAGMA index_list("phones")
967
- Connecting to database specified by database.yml
968
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
969
-  (0.3ms) select sqlite_version(*)
970
-  (4.2ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "possible_number" varchar(255)) 
971
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
972
-  (0.0ms) PRAGMA index_list("schema_migrations")
973
-  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
974
-  (0.1ms) SELECT version FROM "schema_migrations"
975
-  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130122075331')
976
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')
13
+  (3.7ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "possible_number" varchar(255)) 
14
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
15
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
16
+  (0.1ms) SELECT version FROM "schema_migrations"
17
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130122075331')
18
+  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130121173847')