autocompl 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/lib/autocompl.rb +1 -0
  3. data/lib/autocompl/base.rb +42 -5
  4. data/lib/autocompl/railtie.rb +6 -0
  5. data/lib/autocompl/version.rb +1 -1
  6. data/test/dummy/Gemfile.lock +1 -1
  7. data/test/dummy/app/assets/javascripts/makers.js +1 -0
  8. data/test/dummy/app/assets/javascripts/products.js +1 -0
  9. data/test/dummy/app/views/products/index.html.erb +1 -3
  10. data/test/dummy/config/application.rb +3 -2
  11. data/test/dummy/log/development.log +910 -0
  12. data/test/dummy/tmp/cache/75D/921/autocomplete_cache%3Aproduct_name_and_maker_name_ja_name_en +2 -0
  13. data/test/dummy/tmp/cache/D00/DC0/autocomplete_cache%3Aproduct_name +2 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3C/3CBEbL4TspoWoNsPcQ1zQTj-exbwnq339w_7UnHBD3Y.cache +1 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{j4/j4LHNfO6__hgv-whyNtiERg8v_DaDzT2FFz_goR8T08.cache → 6C/6Crgyg9OK-C_gNwjJuo4Ix6FONUn27VIP2e90mkjdtQ.cache} +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{gE/gEZuhYtM72pdBUSAEqaafTZdLjcNB_Z2JSjLng6vuMg.cache → 6T/6TVZQygh2pBrSH7O3cDJR3z2Tdcp9pFnyfi7MEfjPHI.cache} +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cX → Cx}/CxP3WBmlh8LqJmAWhRzYXpB3Ga0eNxB8WCF_JiG5TmY.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ei/EiZuiw3D1llzWRtAyv6O4MkktA2pZO4MoCRCYDMSelw.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HL/HLg54dd3kCauFwLdOqlwARh4QZEoJ9AqB6FF3z2A6qI.cache +2 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{HX → Hx}/HxwYxjGQ8FCx3EongfO8S4RnRJX8Xgtcc1J9gdTKs6Y.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PK/PKWLCqd6Zhyt0ja1qijEKFaHwfBpCAHEosX412uU-V8.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{-0/-087McyvaaXDyHxnu-5I6jRGgun87wo-ZYQsp7JzUHE.cache → Sh/ShTyEMwVEuyE3BRG5B0IzsFzTEYgBbpH_Q18t5OWD1A.cache} +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{y2/y25JkMmFKwGE22uNw2aGXWcwSk0g4hAAzUKt25_w14w.cache → Uz/UzCDGotOnWHXgxwt8FclqWycaL0aGYsfaGVjnLHhJnk.cache} +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VU/VUG8YYz4NZJcrWVvNke2UW6j3x_-vuHNCiccopCQ370.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yf/YfuzrsA1PliEQqmyO1pLO_eV6QFGiplgnRSGNPD1kG4.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yk/YkJ3Jsqe_Fi9G8JiiL-b8rHRBXACO2t-evXBWccKQiQ.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{LG/lgEoaclcIDbyG9m5SuvNtjiO8y-s1xCzeEhs2gZkf_8.cache → Yv/Yv-mR43NAjTlwHxjzs7NMwkjGdfdyCFh8aq0o8Yxp_U.cache} +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/j6/j6eaucnV8JMvQjwFcvWnOuaE1KpHEAfySwkyCsAxxZA.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/j_/j_5CH5xH-unF6JsWqEDrSHTfiiYWNxbOkMcqpMIUgVQ.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pu/puIWc9wMOk78cqnrXW5MuS0pjk4pASeED0ja86p97Jc.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sB/sBxhhgdVZqxTTM9--JYP39k1GZB_66nmFDyTbhAYVzg.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Fn/FNEYmg8fneIqCHmtMgvYNz4yfDcR9b3MARpXombtCU8.cache → sN/sNKPtCeeVOxEQ9euQ3iEisP-oE8pJT_H5hv2sNTMPqI.cache} +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tr/trL4LZlofH0XFg2MgYvas_-MBlnldsXFiRw2_Kks4y8.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{WN → wN}/wNM5rI-KVsXjMMMw6u4CL6mRWGcKVan7lLraxW1F8Ig.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wt/wtfUC_UTyYLm6JO82zlEyjnkIA3dZ8-FCNROP7U-hpM.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xo/xojBJua5kYAIfaBjKVb-9k16ilp2oKRqbA1Vr3S_uY4.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yN/yNMrjsNr1GMuWqDmt4HD7Mf7_dmO7PSHDlUfLFAkCSc.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yb/yb9zCnRtlMryOKlfeqh6V0FyJFaqyGz8A939wT5IcIc.cache +0 -0
  39. metadata +37 -306
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-y/-yZGVbQDZy_HDUdbCsMQIjXpCAJoXFL4nbBn0djGp2c.cache +0 -1
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/00/00PWRLLlqUOf3vmFuKGTENzbEC0pGahAGFTCE1TyEX4.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0P/0PniAOy42YzJ5FfVje4UKq2w4SvMUWglgwHo82l-rws.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2H/2HN7Y8MnXfWnUX1nW7WCDZIMq2Lm6eFBNdtGiN5aD-w.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3X/3Xj3eTT9Hjl9ivQOs0mDUTTUi0RC-0IJ78ZrqDCz5ak.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4j/4jjAMzkh0QgV4_w5CJcibNLTvo3mlwMkSwR8tPsv6Vw.cache +0 -2
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/55/550ir3KkBwW_YgNt_na0Z_NQI00Mll4r7ZnbZkwb9Tw.cache +0 -1
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Z/5ZV7jwLswbQL8cdpN9NmFpXpIP6DuKUKh59UV9nBLhU.cache +0 -1
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5m/5macXG6hiqAH8xTBIG-K0g3GnQ0hYOwKBAhWQfArjLY.cache +0 -1
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5y/5y3D0cc11Sfwf2GgzPib1L8MjDtXz1ZSOdnzAA7pKlU.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6V/6VbOmLLKd0Sxnx79jgmqaucetgZmsAzlRgy3RRJ5kk8.cache +0 -2
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/81/81RVjq0E1okVClLWdbayefvwY9nLli7qMeuOmSXpoF4.cache +0 -1
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8J/8JEFPps8LnPBcuffauiIXQU-XE4uweV7GQl3BLGC1cs.cache +0 -2
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8P/8PZPspKhW47qQ616RZrlkHCfa48NCLj5Atmb3X9b3FQ.cache +0 -1
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8l/8lQd7QsfrE6aVJisEqtJQR3siePu0RGJkjTh5ow0TR0.cache +0 -1
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9q/9qcRV_3Ik5ETtJ58Ghev4-JniZHCqiTnpuoMwt2n0mk.cache +0 -1
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9y/9yNRzxFk9KJ6df5qYnigsuEcU_RzUcWXcVEdnh5ck9Y.cache +0 -1
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AL/ALlhVRZBIgtSNbh6BHYLiMYdkTuA9pizY565BKpucaI.cache +0 -1
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ap/AphgnFRoesmuUkAu9aL-R_UEj4cgPA3ESaWFfBgAqW8.cache +0 -2
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ax/AxoJQkctqd3wcsZCfJhN4InGizzEQVhJLPH6xtK8qwM.cache +0 -1
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/B8/B87mzvhdtK6bL0OsjhzgXzu-WItb1KBwZ7oDN3qX61E.cache +0 -1
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bp/BpNUjMwTI75uohpKNxXuqF1mWrrkUd9qf0VMPIJ9jXM.cache +0 -1
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/D2/D2cAa5Ts4y4P8ldSwxT8pHZrQk2O4hUjICtkCe2y1eU.cache +0 -1
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/D9/D91TFPMBMtKPr0EYujvcbgre_o-zR1UwT4BSeTOkYOc.cache +0 -1
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ds/DsdelMcC4IN6RXmtDME8uFrSef5er6yC_WHLtUZpLFs.cache +0 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ei/eiCiB1bVCQ1zwthKETfEfy61xvNSa6c83-itFWynO_w.cache +0 -1
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fc/FcxOnSm4L8BjFEQ-cx30cF88TZAyuDQ-RX0jpIUAexA.cache +0 -3
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gz/GziLslwIFEfrfsUc3cYyvMjZEubnCqkXVn286xhvr8Q.cache +0 -1
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/H6/H6VP5VLoVYWV9nIZ28PnnEMgY2-YWEEmOC4VK4C6UzI.cache +0 -1
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HX/HXG8wINKsGHkU9xe_rDurCNiUa6HnPjn_DEZuHwVgFE.cache +0 -2
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hm/HmUFbecAyjcDYAvOhgNsAv4WPqR7BBwUHueqVE5opso.cache +0 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/I1/I1KwgTEv1Noxdui8kzMS1RvfYyA93tW_ZGwubY4seoQ.cache +0 -1
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/IQ/IQ6dM8Q_0U2lVGZSpVxs2EuCLPpGtJsq9xG-sdw7alM.cache +0 -1
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/IQ/IQiwEkGFKmajfrUw6VI2O78K81ziRKusM80UqfAsm-w.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Iy/IymKSAdJbXtmXe4iqG4CqlW-Z70wNglrMOoZVAb9mrc.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jo/Jo1XaRqQf93bXjTGhkVYU3DZwCtr8UrXXhEOnyBV6Ck.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jv/JvxIvZKV34YPXE8TNTmg46ZSS1oRwMZeBJAjv7SV8y4.cache +0 -3
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K7/K7kbGM_J9Fb0kOEvtfmQEXAW0ncJ2H7dIzPHEnjx4VA.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KI/KI8zXn8UqnL7XEi2ahq9pDsFnsFyj_Qsps56ZV1eIX0.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KI/kIJyzKsED-d5Bq7Khm7XkzKau9SurNm8Aw3tj8ePfBQ.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kh/KhxSTDq9baEbL2MBmz6t2R6M176NvjyHwqQRFaWWV9k.cache +0 -1
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ks/KsrWenOelGFiro2SgPrwbWlH4c7EovTXuJLPjhfM1V8.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LG/LGpC_r_xtYgg733Dl56ycaiuWa1G3GhOpeiEBnYURgU.cache +0 -3
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LX/LXTncp-J7I3HRSUyh_eJ3nTLZ4RfeskkQk_If2v394c.cache +0 -1
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/M3/M3YN0WDgRXzt8TsOnUwn2fY3OX1ayUzGwsVCePbWLdE.cache +0 -1
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/M8/M8YJykJRRZKNafsTVOv8JP4GYASVDU3RDfg6wftf6PU.cache +0 -1
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Md/Mdc4qJ1UQr_hulucAsMBzpqT4f6EgoXhv17xC6JXEaU.cache +0 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ne/Ne_FiaOfDExYQL2l6qBXmSnDz-Uc4k8dfc97GcrAt0k.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nf/NfJ-_UJezO2_28d4GbYCjuAMByztbjdLeqHG15nI_lM.cache +0 -1
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nw/NwfPnYXT4vTqoSO8qyaTvKzrJI5d29LMaxznX4Kf2cw.cache +0 -3
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nx/NxICeNC_dsOpeIvaldcaYl7LKoVJgJlJb7kbzgif4KA.cache +0 -1
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/O4/O4hCLAOgr4D4OQDLDFxSfRGizKnywli7CSH5walWtnU.cache +0 -3
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OD/ODS7PoRjO-5wefcZ2lyo0W37Qz8Bz4CSgze47dAbZk4.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OD/od-CiHGuaZJlN9NbJV005zdNA5oB75r4ZrCpKd3PChc.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OX/OXIltaygFA7QePID-9esHuMITLkpGaPtWrAWKTLdejg.cache +0 -3
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OY/OYqdcpkCfUI3Ot-vqkU7ns7dnyQlJDB4mBPN1J91KdU.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oa/OazCRQhtDSf_rR9InsBXyYn9Ou5fuNFXh9eggJ6WpGs.cache +0 -1
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P1/P1hpFFrQy7jhWv9TLP53ZvRXF2tooufNynK3aP6Sm-M.cache +0 -1
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P4/P4EYdcpWUy3GmTxjwayT6BwJA5FzA7BoPas8zroFDlM.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PY/PYss1qOPCe2ByjNLn6uAxpUI9IZa0lARaL9_lpf23hA.cache +0 -1
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pr/PrB8je_4jF04o98OMtuR7odKZkNvoh97BGvHv4Cx4S8.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qr/QrUU73JJp_dKqpCimKFGNwiMuHMfKokAqB1B2ttfF-4.cache +0 -1
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qy/Qyy2D7I-3bkvpQnxmz6yELQIp_IvmEzrkTKC0KBIofk.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RT/RTjM_sb2psuERChyFsl_EM9-g2Sio8Ep6OG9CthmV-U.cache +0 -1
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/R_/R_m9U4wXN-3knapFIjoEH9fDCXJRBvUN2bTqIDfJbN0.cache +0 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sl/SlilnH0KcgFLhI6mRK2QaCWbcdKG7eMRW7FkIHM3KFk.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/St/SthEkEFVXGOcA2FXkFPpXQ2YcNIyu0aC6Tc2xQPymvg.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TV/TVvSU-qO_88lqqtlDRrePXEZoSAefGBj6wcx68bYArQ.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U9/U9sCU5B1hvOMt2fyz05CTG6gaiMWi0JLAWrnEdUJZwM.cache +0 -1
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V0/V0ZSvIuzY8l_c2uGUwQMp1rF61b7gm5_-Y4cLKbmbZ8.cache +0 -3
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V4/V4zwaHP_yU6ECcF9-UsACPGw1X4zzZ1APKSfvnX2oxM.cache +0 -1
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VS/VS1WRgUK40YmRfz9yLxDT2-6HR29xYjcMAukgDR_zhk.cache +0 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/W4/W4ZtlnAul1cy8U6wivTxj85Ui9V7mlskAUn9vRNXsyw.cache +0 -1
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WN/WNK607kkRgMz0OoymEAzk8A0YmLfHP6NrL1M439YyDU.cache +0 -1
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WV/WV-XcWkC9-Fvt55CDgP9N3JJqx_xCewhdfBgiLYPhW4.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wl/WlAy7D9VMORcjs8TU-les-VxAK0tAa8Sq6cHYEGljw4.cache +0 -1
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XA/XAhVweH9bfNdwoEh37zBV2Yutkzq4LBwndhp_VU-JgY.cache +0 -1
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xb/XbteqTOBHY-dJOBNtrBQ4V3KXo0-WlZnB6qmDQ4HSWo.cache +0 -1
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xg/Xgqs6r7c6F7j3b9axMu8hXhlz5QQ38oVc98D5B6TwHA.cache +0 -0
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJ_FV46JS89Ibj3Cs2kAsEHW60-tSqN_FfWK7S7ACG8.cache +0 -0
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YR/YRuoOYGH9NotuZTYnIsPWQsacdISPUc4Pp8xnknKj7Q.cache +0 -1
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yk/YkRwstcigLNPOxCldT6pNh85jdTaJKenadygZlONB_o.cache +0 -0
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_-/_-tUEXHZDTKdkhsXX7gt54MKB8IgaMEc4pOIiJ6PRjw.cache +0 -0
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_L/_LPdwFPAmWnnxtvH6Jh0858f1H6BxcJtHH-0Iynhnfg.cache +0 -1
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b2/b2EQ1rrtyY2f3MVPmBJnKMJof6nv2iKiuCV0IwJSdWE.cache +0 -0
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bE/BED44H13TodTv93eTuxNmLILVJcmU7O4Ptc6QQZw6H0.cache +0 -1
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bE/bEkKmbuxDzXKn6-KThINtUzATXhUaII6IppVRf8AZXs.cache +0 -1
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bE/beUi_V6mSRCMItHV-m4sTaBgCdqUg1NOAUnXnHJLNbM.cache +0 -0
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bZ/bZzw8_0yJGtw6rvpzGW41ZZKVcIWZcaqwN82r37agJs.cache +0 -1
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cT/cTguUKPy9AkA6uYlLejsaongHSjPBtZcqVEB_yUzk1g.cache +0 -0
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cX/cXeuwHhfzpNYNGaqlgjMGpb32fnd9VfFGlAGXbL5xzU.cache +0 -1
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cz/czoDRHtKJFs6UwmzHXy3DHnfXXY0eCk7xiM_VWADTdc.cache +0 -1
  132. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dR/dRBjETuYavjuBMhe9c6t-GriVWDvShYk7SjRoj1G3ww.cache +0 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dd/DdMgquotkBlXcgO3krin2QnliHtH3UFVBKyujq0fYos.cache +0 -0
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eT/eT8Cq3_WhOe_HiWlXIK6eRqdQ0BqYoYl_kPNCCMT24I.cache +0 -1
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ec/ec1DW1yIDSBEvEEEH_m_9LUcOrqN6KkKXHMD8JC3-Js.cache +0 -1
  136. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fM/fMBXhqICC8LVVexOD3GBdVbLiHjkgY_ivgEY_JsSRFw.cache +0 -0
  137. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fk/FKmKGrPnXQtDA7hDmYjKshivusrSAo70NHfw_2PxTm0.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gq/gqMbs7KB9SgBN1r1uP0MN8SlneiHgUfqIorCWroCmfE.cache +0 -0
  139. data/test/dummy/tmp/cache/assets/sprockets/v3.0/h1/h13iv9zaiO-00_OBwArjstOdDdxnNQ4nJtwkGjM5gC4.cache +0 -0
  140. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hjYbQAN5ytZLcKIgYQviMOLHTQ-16j5X0LNsbo45bfY.cache +0 -1
  141. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hs/hsN5HGVTHJzTpKu1y9mDxGppK_I_DKaQPsWZs8-ooi0.cache +0 -0
  142. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hu/huCPZ8m99ZFwnlMQj_uQDfGYjbONrh4fR8ULibBrHjs.cache +0 -1
  143. data/test/dummy/tmp/cache/assets/sprockets/v3.0/i6/i6wo1TU2GpnGr1CfV50QjesXuh2smr4ZvAmXkcdSkBE.cache +0 -1
  144. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jQ/jQiFLR5ZvPZPci7A2G-PW3ex3SXn-6lrorpRFN9ZkN8.cache +0 -2
  145. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kL/kLhzmXb48aANXZ1JRplxtqcO9GqacMBLCm7a89WFsD4.cache +0 -1
  146. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lF/lFT9eZvU7ay2uI6Vp5xMIPl9TXPW6Lc3cqqeld_bVHI.cache +0 -1
  147. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lR/lRGrvJTbvQs7Ftg2tbyhxr93hILIK8jVS3gSx7DKAOE.cache +0 -1
  148. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ld/ldNA8UEGylCJEqMSKgE21gD8A6kKmFbWTujVnPVi0Q0.cache +0 -1
  149. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lo/loUggmJVKmuYy2wsjfOQ4we8TY3caoj6rEejnvPzGgU.cache +0 -0
  150. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mJ/mJmsQKNIB5P52xc5730oGuUPTDo4TE4tJJ7u4JoUu_s.cache +0 -1
  151. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n-/n-eMFCEgXOG8Konmr53RcQXj-VdI1OpUqJsahwoIrnc.cache +0 -2
  152. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nK/nKHy5X8rWypBsOLnrsPm4pFTV7Lurl_L5nhLLe3L1D0.cache +0 -1
  153. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oG/oGqJwUoSsnkDrDDCrYHL-JG-I6EOQhKHzx6Moiyt3PM.cache +0 -1
  154. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oQ/OqEMX30fn4hyCxKJAuea958_6bPlE49XXIOSM9EvPXQ.cache +0 -0
  155. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oj/ojcjK06XKjgOp1VVBQVNCq8fqDzkN2zQ900YF76S4mQ.cache +0 -1
  156. data/test/dummy/tmp/cache/assets/sprockets/v3.0/om/omdavk2H1ntv_oiF0HwSNFUBjgeO3rxtQhQPxJ5U0do.cache +0 -0
  157. data/test/dummy/tmp/cache/assets/sprockets/v3.0/on/onYb5YMDrZ6pykMbHrqFgxNa5vE5WmzdskGI-8IfH1c.cache +0 -0
  158. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pH/pHInjs68Sr4C2HXl8yaNuLzJ70BY-wTmMHil_KlDk0Y.cache +0 -1
  159. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pV/pVy8kEHInxuITsC2lBbIO4pBw-An72lbwJQh44PXz_I.cache +0 -1
  160. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pd/pdj07R8wgKs4j9BD3tmLTaiC5jUOk_8lIv2StZ_rd1w.cache +0 -0
  161. data/test/dummy/tmp/cache/assets/sprockets/v3.0/q2/q2MMz51AE5y-v-gFD96nTwmmFlMiEPRDinjXVGy_MN4.cache +0 -1
  162. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rA/rAPp8w7-zh4vlMumQ09MlO_5DHj9WPwsLxs4Ll0zPtI.cache +0 -0
  163. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rG/rGx4IdTkXsfGpwwH8sJwX4RKwGuLMfzQz1kjK4zfpsQ.cache +0 -1
  164. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rQ/rQptA-2ChJ0_DJN5ffsxGzItMr-9-_259JARsDO4KJ0.cache +0 -1
  165. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rY/rYbJ0SgMxq4eIIQxRpgmRszEfiL5g84mK113OnPBb-M.cache +0 -3
  166. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sI/SI2Yjib5dQWJCgHTzYq6f9KxTF4_XSHTwcFQOC_wyMY.cache +0 -1
  167. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sI/sID8jpLaxsefDafka6bNDgW73oNtIvGbTky7OalwW3I.cache +0 -2
  168. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sN/sNZ9poHme0WhY4nSCNdfA5SB0n3KYxYbQ9RLFCnpUoY.cache +0 -1
  169. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tU/tURmHQR8rTp0IYYJZ53jJKhCRVRGMEyEhvZOvCEe9_U.cache +0 -1
  170. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tj/tjdqsZjK6jyvOfRj-39ja7j0iR0i6WnUbN6MKTc3T5g.cache +0 -0
  171. data/test/dummy/tmp/cache/assets/sprockets/v3.0/u2/u2OZyC0tw1CtwrKzNXYBSfRG5g1463e8vxgQ5-CLlLo.cache +0 -0
  172. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ut/utkXmwlGYTH7p6GsTDRn0pSv5Yux_jlZ3aoZY--JOuM.cache +0 -1
  173. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vF/vFPvTNTOrcyUGn5N9MnI-tRwV5MgPbeNU2KEUVEyis0.cache +0 -0
  174. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w_/w_-honf_qPhlgPxDNu0ycT3Wka5f_pgXUtLARPdk24E.cache +0 -3
  175. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wj/wjfdI6-vCvnpt_QCJoOB7bQ1fsCdXaQxRdWF-2es3iQ.cache +0 -0
  176. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xo/Xo4pRYYvLD0HZvCpoN-070Xo1IsIL5R8vHG-vPyygMk.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xu/xulAhaoKlGBxvfD2Am1rfveidaM8azKV-jpQcEQ-Eos.cache +0 -0
  178. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yQ/yQj60C-uATBUM9MWJqYB56PwP4zYtOLErD7RlltO0c4.cache +0 -1
  179. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zV/zVc8P50xBPh-ZzKo3RO9njLLTHPwofFfSQpFFc14XHk.cache +0 -0
  180. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ze/zeYHyELMjsp8WaldlJcsmDi_3TsZhbd-vk4YtxaPE-Q.cache +0 -0
  181. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zr/zrca_PRKlfTc_LBi7AVgZ_tZfqG75Y9F6hA8IFrU2O0.cache +0 -0
  182. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zx/zxRHrb8CSZj12ruEVFVgsslvUZ_tWPRFONneAVKvrGA.cache +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19416ac1c6db67a3efdee2c6e10bae1c92fce7d3
4
- data.tar.gz: e075934218867cb758eb23c094210b5629d078b2
3
+ metadata.gz: d2c522e7a3820bd72329a60bb3f2e6db9348db2b
4
+ data.tar.gz: 7bf631b5de96b73795ee15bb594064fe6a44c455
5
5
  SHA512:
6
- metadata.gz: c3d81bb6af2d049a9b6073bae7e298f8ee22d7080400e8dfc7e69e265adb0c264d92df04d16530e4a68adb604a853c63a865eabd7678144496e8f84d81a392a7
7
- data.tar.gz: c95713572871f53ace8e1053f7cdcef3647fb721651f31c655e317c64f11e07e56202b6515994eeab46ad6a1aa4646532c20a720c48ca2d9a81079a7560caf42
6
+ metadata.gz: 6fd35e1abb615f661759fbc65ea2675ab5ba8e3ac590c7c18eff7fcbad8ca0f9aa4f3c6d96dcc2ba332fd3455abf6672c0433dfa0862b044aba6981dcd3a3bf0
7
+ data.tar.gz: a5d07694c71bfac7ed3611ed964ae98536c7ac7ed7fa23adfaeb71f3e38b7fbd5c51d0ad6d4a2c7a834ba89f253612b3db9e4d6a32b6bc442548cd0b8d586876
@@ -1,5 +1,6 @@
1
1
  require 'autocompl/engine'
2
2
  require 'autocompl/base'
3
+ require 'autocompl/railtie'
3
4
 
4
5
  module Autocompl
5
6
  end
@@ -8,19 +8,56 @@ module Autocompl
8
8
  end
9
9
 
10
10
  module ClassMethods
11
+ BASE_CACHE_KEY = 'autocomplete_cache'.freeze
12
+
11
13
  def autocomplete(options = {})
12
14
  define_method('autocomplete_endpoint') do
13
15
  render json: [] if params[:term].nil?
14
16
  render json: [] if options.nil?
15
- klasses = options.keys
16
- items = []
17
- for klass in klasses
18
- columns = options[klass].instance_of?(Array) ? options[klass] : [] << options[klass]
19
- items.concat(get_collection(klass, columns))
17
+ if cacheable?
18
+ items = Rails.cache.fetch(get_cache_key(options), expires_in: cache_expire) { get_items(options) }
19
+ else
20
+ items = get_items(options)
20
21
  end
21
22
  render json: items
22
23
  end
23
24
  end
24
25
  end
26
+
27
+ def get_items(options)
28
+ klasses = options.keys
29
+ items = []
30
+ for klass in klasses
31
+ columns = options[klass].instance_of?(Array) ? options[klass] : [] << options[klass]
32
+ items.concat(get_collection(klass, columns))
33
+ end
34
+ items
35
+ end
36
+
37
+ def cacheable?
38
+ Rails.application.config.cache_store.present? && Rails.application.config.cache_autocomplete
39
+ end
40
+
41
+ def cache_expire
42
+ Rails.application.config.autocomplete_cache_expire
43
+ end
44
+
45
+ def get_cache_key(options)
46
+ ClassMethods::BASE_CACHE_KEY + ':' + get_model_cache_key(options)
47
+ end
48
+
49
+ def get_model_cache_key(options)
50
+ klasses = options.keys
51
+ cache_key = ''
52
+ klasses.each_with_index do |klass, index|
53
+ cache_key.concat('_and_') if index > 0
54
+ cache_key.concat(klass.to_s)
55
+ columns = options[klass].instance_of?(Array) ? options[klass] : [] << options[klass]
56
+ for column in columns
57
+ cache_key.concat('_' + column.to_s)
58
+ end
59
+ end
60
+ cache_key
61
+ end
25
62
  end
26
63
  end
@@ -0,0 +1,6 @@
1
+ module Autocompl
2
+ class Railtie < ::Rails::Railtie
3
+ config.cache_autocomplete = false
4
+ config.cache_expire = 30.minutes
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module Autocompl
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../
3
3
  specs:
4
- autocompl (0.1.1)
4
+ autocompl (0.1.2)
5
5
  rails (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -3,6 +3,7 @@
3
3
  $(document).ready(function() {
4
4
  new autoComplete({
5
5
  selector: 'input[name="maker_index_form"]',
6
+ minChars: 1,
6
7
  source: function(term, response){
7
8
  $.getJSON('/makers/autocomplete_endpoint', { term: term }, function(data){
8
9
  term = term.toLowerCase();
@@ -4,6 +4,7 @@
4
4
  $(document).ready(function() {
5
5
  new autoComplete({
6
6
  selector: 'input[name="q"]',
7
+ minChars: 1,
7
8
  source: function(term, response){
8
9
  $.getJSON('/products/autocomplete_endpoint', { term: term }, function(data){
9
10
  term = term.toLowerCase();
@@ -2,9 +2,7 @@
2
2
 
3
3
  <h1>Products</h1>
4
4
 
5
- <form onsubmit="return false;" class="pure-form" style="border-top: 1px solid #eee;border-bottom:1px solid #eee;background:#fafafa;margin:30px 0;padding:20px 10px;text-align:center">
6
- <input id="hero-demo" autofocus type="text" name="q" placeholder="Programming languages ..." style="width:100%;max-width:600px;outline:0">
7
- </form>
5
+ <input autofocus type="text" name="q" placeholder="Programming languages ..." style="width:100%;max-width:600px;outline:0">
8
6
 
9
7
  <table>
10
8
  <thead>
@@ -3,7 +3,7 @@ require File.expand_path('../boot', __FILE__)
3
3
  require 'rails/all'
4
4
 
5
5
  Bundler.require(*Rails.groups)
6
- require "autocompl"
6
+ require 'autocompl'
7
7
 
8
8
  module Dummy
9
9
  class Application < Rails::Application
@@ -21,6 +21,7 @@ module Dummy
21
21
 
22
22
  # Do not swallow errors in after_commit/after_rollback callbacks.
23
23
  config.active_record.raise_in_transactional_callbacks = true
24
+ config.cache_autocomplete = true
25
+ config.autocomplete_cache_expire = 3.minutes
24
26
  end
25
27
  end
26
-
@@ -2046,3 +2046,913 @@ Processing by MakersController#autocomplete_endpoint as JSON
2046
2046
  Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2047
2047
 
2048
2048
 
2049
+ Started GET "/products" for ::1 at 2017-01-25 23:35:33 +0900
2050
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2051
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2052
+ Processing by ProductsController#index as HTML
2053
+ Rendering products/index.html.erb within layouts/application
2054
+ Product Load (2.5ms) SELECT "products".* FROM "products"
2055
+ Rendered products/index.html.erb within layouts/application (45.6ms)
2056
+ Completed 200 OK in 431ms (Views: 421.0ms | ActiveRecord: 3.5ms)
2057
+
2058
+
2059
+ Started GET "/products/autocomplete_endpoint?term=test" for ::1 at 2017-01-25 23:35:35 +0900
2060
+ Processing by ProductsController#autocomplete_endpoint as JSON
2061
+ Parameters: {"term"=>"test"}
2062
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2063
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2064
+
2065
+
2066
+ Started GET "/products/autocomplete_endpoint?term=tes" for ::1 at 2017-01-25 23:35:36 +0900
2067
+ Processing by ProductsController#autocomplete_endpoint as JSON
2068
+ Parameters: {"term"=>"tes"}
2069
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2070
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2071
+
2072
+
2073
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%82%93k" for ::1 at 2017-01-25 23:35:38 +0900
2074
+ Processing by ProductsController#autocomplete_endpoint as JSON
2075
+ Parameters: {"term"=>"みんk"}
2076
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2077
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2078
+
2079
+
2080
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 23:35:38 +0900
2081
+ Processing by ProductsController#autocomplete_endpoint as JSON
2082
+ Parameters: {"term"=>"みかん"}
2083
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2084
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2085
+
2086
+
2087
+ Started GET "/products" for ::1 at 2017-01-25 23:35:50 +0900
2088
+ Processing by ProductsController#index as HTML
2089
+ Rendering products/index.html.erb within layouts/application
2090
+ Product Load (0.1ms) SELECT "products".* FROM "products"
2091
+ Rendered products/index.html.erb within layouts/application (2.2ms)
2092
+ Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.1ms)
2093
+
2094
+
2095
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-25 23:35:53 +0900
2096
+ Processing by ProductsController#autocomplete_endpoint as JSON
2097
+ Parameters: {"term"=>"みかん"}
2098
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2099
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2100
+
2101
+
2102
+ Started GET "/" for ::1 at 2017-01-26 08:53:21 +0900
2103
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2104
+ ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2105
+ Processing by Rails::WelcomeController#index as HTML
2106
+ Parameters: {"internal"=>true}
2107
+ Rendering vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb
2108
+ Rendered vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (5.5ms)
2109
+ Completed 200 OK in 21ms (Views: 16.7ms | ActiveRecord: 0.0ms)
2110
+
2111
+
2112
+ Started GET "/products" for ::1 at 2017-01-26 08:53:28 +0900
2113
+ Processing by ProductsController#index as HTML
2114
+ Rendering products/index.html.erb within layouts/application
2115
+ Product Load (1.4ms) SELECT "products".* FROM "products"
2116
+ Rendered products/index.html.erb within layouts/application (25.3ms)
2117
+ Completed 200 OK in 348ms (Views: 337.8ms | ActiveRecord: 2.0ms)
2118
+
2119
+
2120
+ Started GET "/assets/makers.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2121
+ Started GET "/assets/scaffold.self-f87869baadacf2097cd85c60bf8679819cf7c448b74b7458a3e8c392eceb33be.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2122
+ Started GET "/assets/products.self-ff3bac2348e428e445c8b99709cc7e83b7afa96e2b0e20795d1c94a7698fa94d.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2123
+ Started GET "/assets/autocompl.self-6d7fab9e736b5a64ab2fd063444bc8737b54f6e0a559c2a6a04149d952a75017.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2124
+ Started GET "/assets/autocompl.self-67ff99923044b044d08314ce8b3a574a554220a0d2ecffeb9a914a9cbb11255c.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2125
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2126
+ Started GET "/assets/products.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2127
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2128
+ Started GET "/assets/makers.self-d1b144ed86554ea4e22376e377d8ecdf67aeb0aee10316d7282a6f84019bdb27.js?body=1" for ::1 at 2017-01-26 08:53:28 +0900
2129
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%81%82" for ::1 at 2017-01-26 08:53:49 +0900
2130
+ Processing by ProductsController#autocomplete_endpoint as JSON
2131
+ Parameters: {"term"=>"みかんあ"}
2132
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2133
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2134
+
2135
+
2136
+ Started GET "/products" for ::1 at 2017-01-26 08:54:23 +0900
2137
+ Processing by ProductsController#index as HTML
2138
+ Rendering products/index.html.erb within layouts/application
2139
+ Product Load (0.5ms) SELECT "products".* FROM "products"
2140
+ Rendered products/index.html.erb within layouts/application (5.0ms)
2141
+ Completed 200 OK in 60ms (Views: 57.2ms | ActiveRecord: 0.5ms)
2142
+
2143
+
2144
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 08:54:29 +0900
2145
+ Processing by ProductsController#autocomplete_endpoint as JSON
2146
+ Parameters: {"term"=>"みかん"}
2147
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2148
+
2149
+
2150
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%82%8A" for ::1 at 2017-01-26 08:54:36 +0900
2151
+ Processing by ProductsController#autocomplete_endpoint as JSON
2152
+ Parameters: {"term"=>"みかんり"}
2153
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2154
+
2155
+
2156
+ Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93g" for ::1 at 2017-01-26 08:54:39 +0900
2157
+ Processing by ProductsController#autocomplete_endpoint as JSON
2158
+ Parameters: {"term"=>"りんg"}
2159
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2160
+
2161
+
2162
+ Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 08:54:39 +0900
2163
+ Processing by ProductsController#autocomplete_endpoint as JSON
2164
+ Parameters: {"term"=>"りんご"}
2165
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2166
+
2167
+
2168
+ Started GET "/products" for ::1 at 2017-01-26 08:56:01 +0900
2169
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2170
+ ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2171
+ Processing by ProductsController#index as HTML
2172
+ Rendering products/index.html.erb within layouts/application
2173
+ Product Load (0.2ms) SELECT "products".* FROM "products"
2174
+ Rendered products/index.html.erb within layouts/application (26.8ms)
2175
+ Completed 200 OK in 353ms (Views: 344.0ms | ActiveRecord: 1.7ms)
2176
+
2177
+
2178
+ Started GET "/products/autocomplete_endpoint?term=%E3%83%9F%E3%82%ABn" for ::1 at 2017-01-26 08:56:04 +0900
2179
+ Processing by ProductsController#autocomplete_endpoint as JSON
2180
+ Parameters: {"term"=>"ミカn"}
2181
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2182
+
2183
+
2184
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93m" for ::1 at 2017-01-26 08:56:08 +0900
2185
+ Processing by ProductsController#autocomplete_endpoint as JSON
2186
+ Parameters: {"term"=>"みかんm"}
2187
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2188
+
2189
+
2190
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93m" for ::1 at 2017-01-26 08:56:08 +0900
2191
+ Processing by ProductsController#autocomplete_endpoint as JSON
2192
+ Parameters: {"term"=>"みかんm"}
2193
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2194
+
2195
+
2196
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93n" for ::1 at 2017-01-26 08:56:09 +0900
2197
+ Processing by ProductsController#autocomplete_endpoint as JSON
2198
+ Parameters: {"term"=>"みかんn"}
2199
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2200
+
2201
+
2202
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%82%93" for ::1 at 2017-01-26 08:56:09 +0900
2203
+ Processing by ProductsController#autocomplete_endpoint as JSON
2204
+ Parameters: {"term"=>"みかんん"}
2205
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2206
+
2207
+
2208
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93%E3%81%82" for ::1 at 2017-01-26 08:56:11 +0900
2209
+ Processing by ProductsController#autocomplete_endpoint as JSON
2210
+ Parameters: {"term"=>"みかんあ"}
2211
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2212
+
2213
+
2214
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%81%82" for ::1 at 2017-01-26 08:56:12 +0900
2215
+ Processing by ProductsController#autocomplete_endpoint as JSON
2216
+ Parameters: {"term"=>"みかあ"}
2217
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2218
+
2219
+
2220
+ Started GET "/products" for ::1 at 2017-01-26 08:57:43 +0900
2221
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2222
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2223
+ Processing by ProductsController#index as HTML
2224
+ Rendering products/index.html.erb within layouts/application
2225
+ Product Load (0.2ms) SELECT "products".* FROM "products"
2226
+ Rendered products/index.html.erb within layouts/application (19.8ms)
2227
+ Completed 200 OK in 284ms (Views: 280.3ms | ActiveRecord: 0.7ms)
2228
+
2229
+
2230
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 08:57:46 +0900
2231
+ Processing by ProductsController#autocomplete_endpoint as JSON
2232
+ Parameters: {"term"=>"みかん"}
2233
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2234
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2235
+
2236
+
2237
+ Started GET "/products" for ::1 at 2017-01-26 08:58:59 +0900
2238
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2239
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2240
+ Processing by ProductsController#index as HTML
2241
+ Rendering products/index.html.erb within layouts/application
2242
+ Product Load (0.2ms) SELECT "products".* FROM "products"
2243
+ Rendered products/index.html.erb within layouts/application (18.7ms)
2244
+ Completed 200 OK in 286ms (Views: 282.5ms | ActiveRecord: 0.5ms)
2245
+
2246
+
2247
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 08:59:02 +0900
2248
+ Processing by ProductsController#autocomplete_endpoint as JSON
2249
+ Parameters: {"term"=>"みかn"}
2250
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2251
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2252
+
2253
+
2254
+ Started GET "/products" for ::1 at 2017-01-26 08:59:35 +0900
2255
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2256
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2257
+ Processing by ProductsController#index as HTML
2258
+ Rendering products/index.html.erb within layouts/application
2259
+ Product Load (0.5ms) SELECT "products".* FROM "products"
2260
+ Rendered products/index.html.erb within layouts/application (24.0ms)
2261
+ Completed 200 OK in 301ms (Views: 295.5ms | ActiveRecord: 1.3ms)
2262
+
2263
+
2264
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 08:59:37 +0900
2265
+ Processing by ProductsController#autocomplete_endpoint as JSON
2266
+ Parameters: {"term"=>"みかn"}
2267
+ Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products"
2268
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
2269
+
2270
+
2271
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from require at bin/rails:4)
2272
+ Started GET "/products" for ::1 at 2017-01-26 09:06:00 +0900
2273
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2274
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2275
+ Processing by ProductsController#index as HTML
2276
+ Rendering products/index.html.erb within layouts/application
2277
+ Product Load (0.1ms) SELECT "products".* FROM "products"
2278
+ Rendered products/index.html.erb within layouts/application (25.4ms)
2279
+ Completed 200 OK in 493ms (Views: 485.9ms | ActiveRecord: 0.6ms)
2280
+
2281
+
2282
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 09:06:05 +0900
2283
+ Processing by ProductsController#autocomplete_endpoint as JSON
2284
+ Parameters: {"term"=>"みかん"}
2285
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2286
+ CACHE (0.0ms) SELECT DISTINCT "products"."name" FROM "products"
2287
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2288
+
2289
+
2290
+ Started GET "/products" for ::1 at 2017-01-26 09:06:10 +0900
2291
+ Processing by ProductsController#index as HTML
2292
+ Rendering products/index.html.erb within layouts/application
2293
+ Product Load (0.1ms) SELECT "products".* FROM "products"
2294
+ Rendered products/index.html.erb within layouts/application (2.6ms)
2295
+ Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.1ms)
2296
+
2297
+
2298
+ Started GET "/products/autocomplete_endpoint?term=%E6%9D%8Ebn" for ::1 at 2017-01-26 09:06:13 +0900
2299
+ Processing by ProductsController#autocomplete_endpoint as JSON
2300
+ Parameters: {"term"=>"李bn"}
2301
+ Product Load (0.1ms) SELECT DISTINCT "products"."name" FROM "products"
2302
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2303
+
2304
+
2305
+ Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:06:14 +0900
2306
+ Processing by ProductsController#autocomplete_endpoint as JSON
2307
+ Parameters: {"term"=>"りんご"}
2308
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2309
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
2310
+
2311
+
2312
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:06:23 +0900
2313
+ Processing by ProductsController#autocomplete_endpoint as JSON
2314
+ Parameters: {"term"=>"みかn"}
2315
+ Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products"
2316
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
2317
+
2318
+
2319
+ Started GET "/products" for ::1 at 2017-01-26 09:08:26 +0900
2320
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2321
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2322
+ Processing by ProductsController#index as HTML
2323
+ Rendering products/index.html.erb within layouts/application
2324
+ Product Load (0.1ms) SELECT "products".* FROM "products"
2325
+ Rendered products/index.html.erb within layouts/application (31.3ms)
2326
+ Completed 200 OK in 372ms (Views: 363.4ms | ActiveRecord: 0.5ms)
2327
+
2328
+
2329
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B%E3%82%93" for ::1 at 2017-01-26 09:08:29 +0900
2330
+ Processing by ProductsController#autocomplete_endpoint as JSON
2331
+ Parameters: {"term"=>"みかん"}
2332
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
2333
+
2334
+
2335
+
2336
+ NameError (uninitialized constant Autocompl::Base::BASE_CACHE_KEY):
2337
+
2338
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:42:in `get_cache_key'
2339
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:19:in `block in autocomplete'
2340
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
2341
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action'
2342
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
2343
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2344
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call'
2345
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
2346
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call'
2347
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
2348
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
2349
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2350
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2351
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action'
2352
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2353
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument'
2354
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
2355
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument'
2356
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2357
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
2358
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2359
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process'
2360
+ vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process'
2361
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch'
2362
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch'
2363
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
2364
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve'
2365
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve'
2366
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each'
2367
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve'
2368
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call'
2369
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call'
2370
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call'
2371
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call'
2372
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context'
2373
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call'
2374
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call'
2375
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call'
2376
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
2377
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__'
2378
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
2379
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2380
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call'
2381
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2382
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2383
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
2384
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2385
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app'
2386
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call'
2387
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2388
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged'
2389
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged'
2390
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call'
2391
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call'
2392
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call'
2393
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call'
2394
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2395
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2396
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call'
2397
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call'
2398
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call'
2399
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service'
2400
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
2401
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
2402
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
2403
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
2404
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
2405
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.9ms)
2406
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
2407
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.1ms)
2408
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
2409
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.5ms)
2410
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (72.4ms)
2411
+ Started GET "/products" for ::1 at 2017-01-26 09:09:06 +0900
2412
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2413
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2414
+ Processing by ProductsController#index as HTML
2415
+ Rendering products/index.html.erb within layouts/application
2416
+ Product Load (0.1ms) SELECT "products".* FROM "products"
2417
+ Rendered products/index.html.erb within layouts/application (25.5ms)
2418
+ Completed 200 OK in 356ms (Views: 350.5ms | ActiveRecord: 0.5ms)
2419
+
2420
+
2421
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:09:08 +0900
2422
+ Processing by ProductsController#autocomplete_endpoint as JSON
2423
+ Parameters: {"term"=>"みかn"}
2424
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2425
+
2426
+
2427
+ Started GET "/products/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:09:14 +0900
2428
+ Processing by ProductsController#autocomplete_endpoint as JSON
2429
+ Parameters: {"term"=>"りんご"}
2430
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2431
+
2432
+
2433
+ Started GET "/products/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:09:17 +0900
2434
+ Processing by ProductsController#autocomplete_endpoint as JSON
2435
+ Parameters: {"term"=>"みかn"}
2436
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2437
+
2438
+
2439
+ Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%ADn" for ::1 at 2017-01-26 09:09:36 +0900
2440
+ Processing by ProductsController#autocomplete_endpoint as JSON
2441
+ Parameters: {"term"=>"メロn"}
2442
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2443
+
2444
+
2445
+ Started GET "/products/autocomplete_endpoint?term=%E3%83%A1%E3%83%AD%E3%83%B3" for ::1 at 2017-01-26 09:09:38 +0900
2446
+ Processing by ProductsController#autocomplete_endpoint as JSON
2447
+ Parameters: {"term"=>"メロン"}
2448
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2449
+
2450
+
2451
+ Started GET "/makers" for ::1 at 2017-01-26 09:09:49 +0900
2452
+ Processing by MakersController#index as HTML
2453
+ Rendering makers/index.html.erb within layouts/application
2454
+ Maker Load (1.5ms) SELECT "makers".* FROM "makers"
2455
+ Rendered makers/index.html.erb within layouts/application (8.6ms)
2456
+ Completed 200 OK in 46ms (Views: 33.2ms | ActiveRecord: 2.0ms)
2457
+
2458
+
2459
+ Started GET "/makers/autocomplete_endpoint?term=Aoy" for ::1 at 2017-01-26 09:09:54 +0900
2460
+ Processing by MakersController#autocomplete_endpoint as JSON
2461
+ Parameters: {"term"=>"Aoy"}
2462
+ Product Load (0.4ms) SELECT DISTINCT "products"."name" FROM "products"
2463
+ Maker Load (0.3ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2464
+ Maker Load (0.3ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2465
+ Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.9ms)
2466
+
2467
+
2468
+ Started GET "/makers/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-26 09:09:59 +0900
2469
+ Processing by MakersController#autocomplete_endpoint as JSON
2470
+ Parameters: {"term"=>"Aoya"}
2471
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2472
+
2473
+
2474
+ Started GET "/makers" for ::1 at 2017-01-26 09:10:03 +0900
2475
+ Processing by MakersController#index as HTML
2476
+ Rendering makers/index.html.erb within layouts/application
2477
+ Maker Load (0.1ms) SELECT "makers".* FROM "makers"
2478
+ Rendered makers/index.html.erb within layouts/application (2.5ms)
2479
+ Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.1ms)
2480
+
2481
+
2482
+ Started GET "/makers/autocomplete_endpoint?term=Aoay" for ::1 at 2017-01-26 09:10:05 +0900
2483
+ Processing by MakersController#autocomplete_endpoint as JSON
2484
+ Parameters: {"term"=>"Aoay"}
2485
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2486
+
2487
+
2488
+ Started GET "/makers/autocomplete_endpoint?term=Aoya" for ::1 at 2017-01-26 09:10:06 +0900
2489
+ Processing by MakersController#autocomplete_endpoint as JSON
2490
+ Parameters: {"term"=>"Aoya"}
2491
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2492
+
2493
+
2494
+ Started GET "/makers/autocomplete_endpoint?term=Aoyama" for ::1 at 2017-01-26 09:10:06 +0900
2495
+ Processing by MakersController#autocomplete_endpoint as JSON
2496
+ Parameters: {"term"=>"Aoyama"}
2497
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2498
+
2499
+
2500
+ Started GET "/makers/autocomplete_endpoint?term=Aoyama+no+nouka" for ::1 at 2017-01-26 09:10:08 +0900
2501
+ Processing by MakersController#autocomplete_endpoint as JSON
2502
+ Parameters: {"term"=>"Aoyama no nouka"}
2503
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2504
+
2505
+
2506
+ Started GET "/makers/autocomplete_endpoint?term=Iwa" for ::1 at 2017-01-26 09:10:09 +0900
2507
+ Processing by MakersController#autocomplete_endpoint as JSON
2508
+ Parameters: {"term"=>"Iwa"}
2509
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2510
+
2511
+
2512
+ Started GET "/makers/autocomplete_endpoint?term=Iwate" for ::1 at 2017-01-26 09:10:10 +0900
2513
+ Processing by MakersController#autocomplete_endpoint as JSON
2514
+ Parameters: {"term"=>"Iwate"}
2515
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2516
+
2517
+
2518
+ Started GET "/makers" for ::1 at 2017-01-26 09:33:20 +0900
2519
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2520
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2521
+ Processing by MakersController#index as HTML
2522
+ Rendering makers/index.html.erb within layouts/application
2523
+ Maker Load (1.4ms) SELECT "makers".* FROM "makers"
2524
+ Rendered makers/index.html.erb within layouts/application (28.1ms)
2525
+ Completed 200 OK in 368ms (Views: 359.4ms | ActiveRecord: 1.9ms)
2526
+
2527
+
2528
+ Started GET "/makers/autocomplete_endpoint?term=Iwa" for ::1 at 2017-01-26 09:33:23 +0900
2529
+ Processing by MakersController#autocomplete_endpoint as JSON
2530
+ Parameters: {"term"=>"Iwa"}
2531
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
2532
+
2533
+
2534
+
2535
+ NoMethodError (undefined method `cache_autocomplete' for #<Rails::Application::Configuration:0x007fcb33a45c08>
2536
+ Did you mean? cache_store):
2537
+
2538
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/railtie/configuration.rb:95:in `method_missing'
2539
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:40:in `cacheable?'
2540
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:19:in `block in autocomplete'
2541
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
2542
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action'
2543
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
2544
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2545
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call'
2546
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
2547
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call'
2548
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
2549
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
2550
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2551
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2552
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action'
2553
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2554
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument'
2555
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
2556
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument'
2557
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2558
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
2559
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2560
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process'
2561
+ vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process'
2562
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch'
2563
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch'
2564
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
2565
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve'
2566
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve'
2567
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each'
2568
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve'
2569
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call'
2570
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call'
2571
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call'
2572
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call'
2573
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context'
2574
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call'
2575
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call'
2576
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call'
2577
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
2578
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__'
2579
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
2580
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2581
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call'
2582
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2583
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2584
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
2585
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2586
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app'
2587
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call'
2588
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2589
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged'
2590
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged'
2591
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call'
2592
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call'
2593
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call'
2594
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call'
2595
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2596
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2597
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call'
2598
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call'
2599
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call'
2600
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service'
2601
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
2602
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
2603
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
2604
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
2605
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
2606
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.8ms)
2607
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
2608
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms)
2609
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
2610
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.6ms)
2611
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (64.1ms)
2612
+ Started GET "/makers/autocomplete_endpoint?term=Iwate" for ::1 at 2017-01-26 09:33:24 +0900
2613
+ Processing by MakersController#autocomplete_endpoint as JSON
2614
+ Parameters: {"term"=>"Iwate"}
2615
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
2616
+
2617
+
2618
+
2619
+ NoMethodError (undefined method `cache_autocomplete' for #<Rails::Application::Configuration:0x007fcb33a45c08>
2620
+ Did you mean? cache_store):
2621
+
2622
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/railtie/configuration.rb:95:in `method_missing'
2623
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:40:in `cacheable?'
2624
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:19:in `block in autocomplete'
2625
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
2626
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action'
2627
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
2628
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2629
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call'
2630
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
2631
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call'
2632
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
2633
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
2634
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2635
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2636
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action'
2637
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2638
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument'
2639
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
2640
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument'
2641
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2642
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
2643
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2644
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process'
2645
+ vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process'
2646
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch'
2647
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch'
2648
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
2649
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve'
2650
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve'
2651
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each'
2652
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve'
2653
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call'
2654
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call'
2655
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call'
2656
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call'
2657
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context'
2658
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call'
2659
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call'
2660
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call'
2661
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
2662
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__'
2663
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
2664
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2665
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call'
2666
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2667
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2668
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
2669
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2670
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app'
2671
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call'
2672
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2673
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged'
2674
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged'
2675
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call'
2676
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call'
2677
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call'
2678
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call'
2679
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2680
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2681
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call'
2682
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call'
2683
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call'
2684
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service'
2685
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
2686
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
2687
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
2688
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
2689
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
2690
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms)
2691
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
2692
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
2693
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
2694
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.0ms)
2695
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (59.5ms)
2696
+ Started GET "/makers" for ::1 at 2017-01-26 09:39:20 +0900
2697
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2698
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2699
+ Processing by MakersController#index as HTML
2700
+ Rendering makers/index.html.erb within layouts/application
2701
+ Maker Load (1.4ms) SELECT "makers".* FROM "makers"
2702
+ Rendered makers/index.html.erb within layouts/application (29.0ms)
2703
+ Completed 200 OK in 429ms (Views: 418.4ms | ActiveRecord: 1.9ms)
2704
+
2705
+
2706
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:39:23 +0900
2707
+ Processing by MakersController#autocomplete_endpoint as JSON
2708
+ Parameters: {"term"=>"りんご"}
2709
+ Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
2710
+
2711
+
2712
+
2713
+ NoMethodError (undefined method `cache_autocomplete' for #<Rails::Application::Configuration:0x007f92099d43b8>
2714
+ Did you mean? cache_store):
2715
+
2716
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/railtie/configuration.rb:95:in `method_missing'
2717
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:38:in `cacheable?'
2718
+ /Users/takahashiseiji/src/github.com/timakin/autocompl/lib/autocompl/base.rb:17:in `block in autocomplete'
2719
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
2720
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action'
2721
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
2722
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2723
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call'
2724
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
2725
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call'
2726
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
2727
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
2728
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2729
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2730
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action'
2731
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2732
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument'
2733
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
2734
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument'
2735
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2736
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
2737
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2738
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process'
2739
+ vendor/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process'
2740
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch'
2741
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch'
2742
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
2743
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve'
2744
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve'
2745
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each'
2746
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve'
2747
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call'
2748
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call'
2749
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/conditional_get.rb:25:in `call'
2750
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/head.rb:12:in `call'
2751
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context'
2752
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call'
2753
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call'
2754
+ vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/migration.rb:553:in `call'
2755
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
2756
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__'
2757
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
2758
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
2759
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call'
2760
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2761
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2762
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
2763
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2764
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app'
2765
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `block in call'
2766
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `block in tagged'
2767
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:26:in `tagged'
2768
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:69:in `tagged'
2769
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/rack/logger.rb:24:in `call'
2770
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call'
2771
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call'
2772
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call'
2773
+ vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2774
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
2775
+ vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/static.rb:136:in `call'
2776
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call'
2777
+ vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call'
2778
+ vendor/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/handler/webrick.rb:86:in `service'
2779
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
2780
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
2781
+ /Users/takahashiseiji/.rbenv/versions/2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
2782
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
2783
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
2784
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms)
2785
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
2786
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
2787
+ Rendering vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
2788
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (1.4ms)
2789
+ Rendered vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (64.7ms)
2790
+ Started GET "/makers" for ::1 at 2017-01-26 09:40:22 +0900
2791
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2792
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2793
+ Processing by MakersController#index as HTML
2794
+ Rendering makers/index.html.erb within layouts/application
2795
+ Maker Load (1.3ms) SELECT "makers".* FROM "makers"
2796
+ Rendered makers/index.html.erb within layouts/application (31.3ms)
2797
+ Completed 200 OK in 393ms (Views: 382.1ms | ActiveRecord: 2.0ms)
2798
+
2799
+
2800
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94r" for ::1 at 2017-01-26 09:40:25 +0900
2801
+ Processing by MakersController#autocomplete_endpoint as JSON
2802
+ Parameters: {"term"=>"りんごr"}
2803
+ Product Load (1.2ms) SELECT DISTINCT "products"."name" FROM "products"
2804
+ Maker Load (0.3ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2805
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2806
+ Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 2.2ms)
2807
+
2808
+
2809
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%82%8A%E3%82%93g" for ::1 at 2017-01-26 09:40:25 +0900
2810
+ Processing by MakersController#autocomplete_endpoint as JSON
2811
+ Parameters: {"term"=>"りんごりんg"}
2812
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2813
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2814
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2815
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
2816
+
2817
+
2818
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%82%8A%E3%82%93" for ::1 at 2017-01-26 09:40:26 +0900
2819
+ Processing by MakersController#autocomplete_endpoint as JSON
2820
+ Parameters: {"term"=>"りんごりん"}
2821
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2822
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2823
+ Maker Load (0.3ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2824
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2825
+
2826
+
2827
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%82%8A" for ::1 at 2017-01-26 09:40:26 +0900
2828
+ Processing by MakersController#autocomplete_endpoint as JSON
2829
+ Parameters: {"term"=>"りんごり"}
2830
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2831
+ Maker Load (0.4ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2832
+ Maker Load (0.4ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2833
+ Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 1.2ms)
2834
+
2835
+
2836
+ Started GET "/makers" for ::1 at 2017-01-26 09:41:18 +0900
2837
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2838
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2839
+ Processing by MakersController#index as HTML
2840
+ Rendering makers/index.html.erb within layouts/application
2841
+ Maker Load (0.2ms) SELECT "makers".* FROM "makers"
2842
+ Rendered makers/index.html.erb within layouts/application (18.9ms)
2843
+ Completed 200 OK in 288ms (Views: 284.2ms | ActiveRecord: 0.6ms)
2844
+
2845
+
2846
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:41:21 +0900
2847
+ Processing by MakersController#autocomplete_endpoint as JSON
2848
+ Parameters: {"term"=>"りんご"}
2849
+ Product Load (0.2ms) SELECT DISTINCT "products"."name" FROM "products"
2850
+ Maker Load (0.1ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2851
+ Maker Load (0.1ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2852
+ Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.0ms)
2853
+
2854
+
2855
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%81%82" for ::1 at 2017-01-26 09:41:24 +0900
2856
+ Processing by MakersController#autocomplete_endpoint as JSON
2857
+ Parameters: {"term"=>"りんごあ"}
2858
+ Product Load (0.3ms) SELECT DISTINCT "products"."name" FROM "products"
2859
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2860
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2861
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.8ms)
2862
+
2863
+
2864
+ Started GET "/makers" for ::1 at 2017-01-26 09:42:08 +0900
2865
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from block (3 levels) in <class:Railtie> at /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/railtie.rb:113)
2866
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2867
+ Processing by MakersController#index as HTML
2868
+ Rendering makers/index.html.erb within layouts/application
2869
+ Maker Load (1.1ms) SELECT "makers".* FROM "makers"
2870
+ Rendered makers/index.html.erb within layouts/application (28.4ms)
2871
+ Completed 200 OK in 383ms (Views: 374.1ms | ActiveRecord: 1.6ms)
2872
+
2873
+
2874
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94" for ::1 at 2017-01-26 09:42:11 +0900
2875
+ Processing by MakersController#autocomplete_endpoint as JSON
2876
+ Parameters: {"term"=>"りんご"}
2877
+ Product Load (1.4ms) SELECT DISTINCT "products"."name" FROM "products"
2878
+ Maker Load (0.2ms) SELECT DISTINCT "makers"."name_ja" FROM "makers"
2879
+ Maker Load (0.6ms) SELECT DISTINCT "makers"."name_en" FROM "makers"
2880
+ Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 2.8ms)
2881
+
2882
+
2883
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%94%E3%81%82" for ::1 at 2017-01-26 09:42:12 +0900
2884
+ Processing by MakersController#autocomplete_endpoint as JSON
2885
+ Parameters: {"term"=>"りんごあ"}
2886
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2887
+
2888
+
2889
+ Started GET "/makers/autocomplete_endpoint?term=%E3%82%8A%E3%82%93%E3%81%BF" for ::1 at 2017-01-26 09:42:15 +0900
2890
+ Processing by MakersController#autocomplete_endpoint as JSON
2891
+ Parameters: {"term"=>"りんみ"}
2892
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2893
+
2894
+
2895
+ Started GET "/makers/autocomplete_endpoint?term=%E3%81%BF%E3%81%8Bn" for ::1 at 2017-01-26 09:42:17 +0900
2896
+ Processing by MakersController#autocomplete_endpoint as JSON
2897
+ Parameters: {"term"=>"みかn"}
2898
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2899
+
2900
+
2901
+ Started GET "/makers" for ::1 at 2017-01-26 09:42:55 +0900
2902
+ Processing by MakersController#index as HTML
2903
+ Rendering makers/index.html.erb within layouts/application
2904
+ Maker Load (0.1ms) SELECT "makers".* FROM "makers"
2905
+ Rendered makers/index.html.erb within layouts/application (2.4ms)
2906
+ Completed 200 OK in 106ms (Views: 101.2ms | ActiveRecord: 0.1ms)
2907
+
2908
+
2909
+ Started GET "/assets/products.self-bbcb94d3a0d5bcf6c07b22138897d08cbb40bd52d52c699d9fa0fc2200dc35e0.js?body=1" for ::1 at 2017-01-26 09:42:55 +0900
2910
+ Started GET "/assets/makers.self-08dba1ca5eca7ae6468c13bb588e6b0aa62676d80e307c312855bcac16be80a3.js?body=1" for ::1 at 2017-01-26 09:42:55 +0900
2911
+ Started GET "/makers/autocomplete_endpoint?term=%E3%81%BF" for ::1 at 2017-01-26 09:42:58 +0900
2912
+ Processing by MakersController#autocomplete_endpoint as JSON
2913
+ Parameters: {"term"=>"み"}
2914
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2915
+
2916
+
2917
+ Started GET "/makers/autocomplete_endpoint?term=%E3%81%BF%E3%81%8B" for ::1 at 2017-01-26 09:42:59 +0900
2918
+ Processing by MakersController#autocomplete_endpoint as JSON
2919
+ Parameters: {"term"=>"みか"}
2920
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2921
+
2922
+
2923
+ Started GET "/makers/autocomplete_endpoint?term=I" for ::1 at 2017-01-26 09:43:00 +0900
2924
+ Processing by MakersController#autocomplete_endpoint as JSON
2925
+ Parameters: {"term"=>"I"}
2926
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2927
+
2928
+
2929
+ Started GET "/makers/autocomplete_endpoint?term=Iwa" for ::1 at 2017-01-26 09:43:01 +0900
2930
+ Processing by MakersController#autocomplete_endpoint as JSON
2931
+ Parameters: {"term"=>"Iwa"}
2932
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2933
+
2934
+
2935
+ Started GET "/makers/autocomplete_endpoint?term=OA" for ::1 at 2017-01-26 09:43:03 +0900
2936
+ Processing by MakersController#autocomplete_endpoint as JSON
2937
+ Parameters: {"term"=>"OA"}
2938
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2939
+
2940
+
2941
+ Started GET "/makers/autocomplete_endpoint?term=O" for ::1 at 2017-01-26 09:43:03 +0900
2942
+ Processing by MakersController#autocomplete_endpoint as JSON
2943
+ Parameters: {"term"=>"O"}
2944
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2945
+
2946
+
2947
+ Started GET "/makers/autocomplete_endpoint?term=Ao" for ::1 at 2017-01-26 09:43:04 +0900
2948
+ Processing by MakersController#autocomplete_endpoint as JSON
2949
+ Parameters: {"term"=>"Ao"}
2950
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2951
+
2952
+
2953
+ Started GET "/makers/autocomplete_endpoint?term=Aoyama+no+nouka" for ::1 at 2017-01-26 09:43:06 +0900
2954
+ Processing by MakersController#autocomplete_endpoint as JSON
2955
+ Parameters: {"term"=>"Aoyama no nouka"}
2956
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2957
+
2958
+