groonga-client-rails 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +6 -0
  3. data/Gemfile +21 -0
  4. data/README.md +57 -0
  5. data/Rakefile +44 -0
  6. data/doc/text/lgpl-2.1.txt +502 -0
  7. data/doc/text/news.md +5 -0
  8. data/groonga-client-rails.gemspec +52 -0
  9. data/lib/groonga-client-rails.rb +23 -0
  10. data/lib/groonga/client/rails/fixture.rb +35 -0
  11. data/lib/groonga/client/rails/groonga_server_runner.rb +164 -0
  12. data/lib/groonga/client/rails/spec_helper.rb +39 -0
  13. data/lib/groonga/client/rails/test_helper.rb +39 -0
  14. data/lib/groonga/client/rails/version.rb +23 -0
  15. data/lib/groonga/client/railtie.rb +70 -0
  16. data/lib/groonga/client/searcher.rb +165 -0
  17. data/lib/groonga/client/searcher/error.rb +37 -0
  18. data/lib/groonga/client/searcher/raw_request.rb +85 -0
  19. data/lib/groonga/client/searcher/schema.rb +74 -0
  20. data/lib/groonga/client/searcher/schema_synchronizer.rb +137 -0
  21. data/lib/groonga/client/searcher/select.rb +18 -0
  22. data/lib/groonga/client/searcher/select/request.rb +266 -0
  23. data/lib/groonga/client/searcher/select/result_set.rb +117 -0
  24. data/lib/groonga/client/searcher/source.rb +59 -0
  25. data/test/apps/rails4-mongoid/Gemfile +50 -0
  26. data/test/apps/rails4-mongoid/Gemfile.lock +190 -0
  27. data/test/apps/rails4-mongoid/README.rdoc +28 -0
  28. data/test/apps/rails4-mongoid/Rakefile +6 -0
  29. data/test/apps/rails4-mongoid/app/assets/javascripts/application.js +16 -0
  30. data/test/apps/rails4-mongoid/app/assets/javascripts/posts.coffee +3 -0
  31. data/test/apps/rails4-mongoid/app/assets/stylesheets/application.css +15 -0
  32. data/test/apps/rails4-mongoid/app/assets/stylesheets/posts.scss +3 -0
  33. data/test/apps/rails4-mongoid/app/assets/stylesheets/scaffolds.scss +73 -0
  34. data/test/apps/rails4-mongoid/app/controllers/application_controller.rb +5 -0
  35. data/test/apps/rails4-mongoid/app/controllers/posts_controller.rb +74 -0
  36. data/test/apps/rails4-mongoid/app/helpers/application_helper.rb +2 -0
  37. data/test/apps/rails4-mongoid/app/helpers/posts_helper.rb +2 -0
  38. data/test/apps/rails4-mongoid/app/models/post.rb +12 -0
  39. data/test/apps/rails4-mongoid/app/searchers/application_searcher.rb +2 -0
  40. data/test/apps/rails4-mongoid/app/searchers/posts_searcher.rb +16 -0
  41. data/test/apps/rails4-mongoid/app/views/layouts/application.html.erb +14 -0
  42. data/test/apps/rails4-mongoid/app/views/posts/_form.html.erb +25 -0
  43. data/test/apps/rails4-mongoid/app/views/posts/edit.html.erb +6 -0
  44. data/test/apps/rails4-mongoid/app/views/posts/index.html.erb +29 -0
  45. data/test/apps/rails4-mongoid/app/views/posts/index.json.jbuilder +4 -0
  46. data/test/apps/rails4-mongoid/app/views/posts/new.html.erb +5 -0
  47. data/test/apps/rails4-mongoid/app/views/posts/show.html.erb +14 -0
  48. data/test/apps/rails4-mongoid/app/views/posts/show.json.jbuilder +1 -0
  49. data/test/apps/rails4-mongoid/bin/bundle +3 -0
  50. data/test/apps/rails4-mongoid/bin/rails +4 -0
  51. data/test/apps/rails4-mongoid/bin/rake +4 -0
  52. data/test/apps/rails4-mongoid/bin/setup +29 -0
  53. data/test/apps/rails4-mongoid/config.ru +4 -0
  54. data/test/apps/rails4-mongoid/config/application.rb +32 -0
  55. data/test/apps/rails4-mongoid/config/boot.rb +3 -0
  56. data/test/apps/rails4-mongoid/config/environment.rb +5 -0
  57. data/test/apps/rails4-mongoid/config/environments/development.rb +38 -0
  58. data/test/apps/rails4-mongoid/config/environments/production.rb +76 -0
  59. data/test/apps/rails4-mongoid/config/environments/test.rb +42 -0
  60. data/test/apps/rails4-mongoid/config/groonga_client.yml +22 -0
  61. data/test/apps/rails4-mongoid/config/initializers/assets.rb +11 -0
  62. data/test/apps/rails4-mongoid/config/initializers/backtrace_silencers.rb +7 -0
  63. data/test/apps/rails4-mongoid/config/initializers/cookies_serializer.rb +3 -0
  64. data/test/apps/rails4-mongoid/config/initializers/filter_parameter_logging.rb +4 -0
  65. data/test/apps/rails4-mongoid/config/initializers/inflections.rb +16 -0
  66. data/test/apps/rails4-mongoid/config/initializers/mime_types.rb +4 -0
  67. data/test/apps/rails4-mongoid/config/initializers/session_store.rb +3 -0
  68. data/test/apps/rails4-mongoid/config/initializers/wrap_parameters.rb +9 -0
  69. data/test/apps/rails4-mongoid/config/locales/en.yml +23 -0
  70. data/test/apps/rails4-mongoid/config/mongoid.yml +142 -0
  71. data/test/apps/rails4-mongoid/config/routes.rb +57 -0
  72. data/test/apps/rails4-mongoid/config/secrets.yml +22 -0
  73. data/test/apps/rails4-mongoid/db/seeds.rb +7 -0
  74. data/test/apps/rails4-mongoid/log/development.log +764 -0
  75. data/test/apps/rails4-mongoid/log/test.log +15736 -0
  76. data/test/apps/rails4-mongoid/public/404.html +67 -0
  77. data/test/apps/rails4-mongoid/public/422.html +67 -0
  78. data/test/apps/rails4-mongoid/public/500.html +66 -0
  79. data/test/apps/rails4-mongoid/public/favicon.ico +0 -0
  80. data/test/apps/rails4-mongoid/public/robots.txt +5 -0
  81. data/test/apps/rails4-mongoid/test/controllers/posts_controller_test.rb +51 -0
  82. data/test/apps/rails4-mongoid/test/factories/posts.rb +6 -0
  83. data/test/apps/rails4-mongoid/test/models/post_test.rb +9 -0
  84. data/test/apps/rails4-mongoid/test/searchers/posts_searcher_test.rb +119 -0
  85. data/test/apps/rails4-mongoid/test/test_helper.rb +9 -0
  86. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/-Xhj-Mbb82rk571sDsQxrdCywGX36vsenBH1RUlK-LY.cache +1 -0
  87. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/0f_MbWM7kHYaEii2fU46RtcPM1c5AvKKzZXw_HiM0CE.cache +1 -0
  88. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/2PZE0O2lwq-MOTwxKTZxLxQwY8_QyhrbRsthl3Lc4lQ.cache +0 -0
  89. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  90. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/5dV_yE4FDckg8xSumojLvTuflbNyhpApq7LPOy-e1X0.cache +0 -0
  91. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/7efkcYvlMpIQU8kuDy1jAKDLjakVGoH6N5V-AuzuTZc.cache +0 -0
  92. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/8Zm1d9-lBPsGG_HUw8FP2OCCVucGDVhWAOGaopvOdss.cache +0 -0
  93. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/9B_fDWO-7yTtWLP7C6kgtW5LN2zlpAqr1km-1jSQx2w.cache +1 -0
  94. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/9X7nmZiJ1BxgVp80vJFjKw2uuEfdS1ik3B66O4_iWPo.cache +0 -0
  95. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/APY89OAPJx9A3D3xcCoktvEvQUs7NcWChYXnjjjPzz0.cache +0 -0
  96. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/CWMzfW8FmEfR6gB4BwariPLjTZTtLc4bCVc0r0m2VV4.cache +0 -0
  97. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/C_ZXB0e-P6-9Ty60eBWeAui5uzzA0NzDW8amqmtTk9g.cache +0 -0
  98. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Cg1VzEm4v80ed-e0X3WGAHJWYiC_ybnfBrRrIvltPXc.cache +1 -0
  99. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Cjhm36F4tzUHdc1e0Bho51N0H4HYybVTrxTmbtiqih4.cache +1 -0
  100. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +2 -0
  101. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/EBtbhweQl74JQNkwFL3ahZH_9x44ceqa9hOT8lQ_SfM.cache +2 -0
  102. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/EQICjEOYeXNTngMqEgET0L1SuE4AVuoKyJgio4ks43A.cache +1 -0
  103. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Edyy4hZsoEraZijGtQOEBXtG2121KJUoZeUxxPjVoD8.cache +1 -0
  104. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/HfA_T6XraGo2Ny22jLyDJkU33FwcVIBOxUIXJAfTZnw.cache +1 -0
  105. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/I-oUhfEICgXeCJ30YmQbpoYtgGAJK0-Pql8kOvfHUIs.cache +1 -0
  106. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/ITBgBGR9-8E08Y63Vjo65c8DzPESTHJuYCXZp0y6k_I.cache +0 -0
  107. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/JImLmTmbMkDKlN30hse8U-u0IV8hvfdebOL3EFz71FE.cache +0 -0
  108. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Joxxq6tZo5Z61fNSWcPCGgCyehta1sNKXM0i53ziK0o.cache +2 -0
  109. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/KPHQh44WoGRX0SuVORNxUqq129kPRQ4Sfwr0MgBGTWg.cache +1 -0
  110. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/MQWJrWW-vCooFa9lpB2Z7KDIE9ilL54d5Sf_SRtQhTM.cache +1 -0
  111. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  112. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Olyga_OJ5Sz5He_RVZLO_BraSHgGvt9BG0ORecSD4A4.cache +1 -0
  113. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/OoG10cMLeO2eGZxk483Gx75vNDQz7Id8sxVt3g26jQE.cache +0 -0
  114. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/P2sNuT6usNXi8DQFFQ2SMByy1v98zmNdwdx6wduUQDg.cache +1 -0
  115. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Pm3ENYpCrQMOJGd-d8lACN_nbGZWiivq_KyPLJoD9Xk.cache +0 -0
  116. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/PrxeUFTxE6CmNlJ4CQLxcmAQKwOGBKNCFYluKNhVPdI.cache +0 -0
  117. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/PuNKoh-EB-UU-NnPetIEhS3emExlV586tfFJnBFhaxo.cache +0 -0
  118. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/QyBzeHR44VD1fMDrJcMOaVyyn1xgHnmhPX2VL3R6EdE.cache +0 -0
  119. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/QyU_Bdj5YdiIQef2XhSDP5MQf7l3u_A81md3KFPQ2N4.cache +2 -0
  120. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/R9YbLXVmFuZvXntmUsVoP9gdFgZaoKuww_0l-ulu_Sw.cache +0 -0
  121. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/RbDvgwCB1ggHONj2Gglg9cljN_KExx-gHiSiItOFBVw.cache +1 -0
  122. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Rkd99KDYtUtVb3U566M9L4YD2Kh-Qp147dHVmyXnDhg.cache +0 -0
  123. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Sin6bEoASrNa45108CpfgF2jcifz-KpbsvvZJtqVZ68.cache +0 -0
  124. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/SuhtC6f7E2-1SXl4bkRvOKqhzFKTjPvbglVtjbjV6WQ.cache +0 -0
  125. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/WDXpPe61HDYBIqMMzcYJWujunl4HLJBvhn0OOP1yQso.cache +1 -0
  126. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Y2HHx2PygDVpbc258EY6XyZq_3ocHy5fEq-5UHSNfh0.cache +0 -0
  127. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/Zot5Dwe9yQ1wvCpegdXXjC8DUGHfH1xLxerosBjUsns.cache +0 -0
  128. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/ZwSejSAeaXOqaevCGNDw6GT4jzf6iGxiDfUGqtjYqxE.cache +0 -0
  129. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/bsYyBqujQ9Bb_NkqKjx8J9lC8MPb-Ed59b__aV46Bic.cache +1 -0
  130. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/cnfLEWE92uT-WDII157E3Z5XISKK99q6__D2IiTRhOM.cache +0 -0
  131. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/cnk28xBZ2NhIHyeh4bImJu1D8MsQZksGaVeYZSDL-Mw.cache +0 -0
  132. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/cyuaVF0ZckKku_VGsQYOntnl3oNlSP381WW5VhCMbE4.cache +1 -0
  133. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/ee9ZqYM3D8GORlAyhQhVVtyNcEArBAXuuAcPhnfTNT8.cache +5 -0
  134. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/fQe7NSWabAv2wB6jtw0Tjp5CT06xwpla822ipJiUCy0.cache +1 -0
  135. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/fme939QD_yb-kVcNE40VAdyOZYRTHgZCxYLVDZLuzF0.cache +1 -0
  136. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/gl7MP7d46hviHXVnGFYORtcWessT58E75rSQUFjfiII.cache +0 -0
  137. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/hHOboG408ksat1oQaCWVNxzf-FIyTREQFXHdFZurlZQ.cache +1 -0
  138. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/i5GV8tvuWRKqi-plBB0bdaAqfdW_CpIMlk_3qZYyask.cache +1 -0
  139. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/ioEvK0rblqqEotrMItm0VrKhWOXnC3vwC-CIU9UCZEg.cache +1 -0
  140. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/ivzms341pOxkVrOTXM3Yog9cLwq3SmsXcwGMbRGmM6s.cache +1 -0
  141. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/j0l28m8jfc6vnBWrkD0zWt2ELCJfEOMeEjW0Q4GADNY.cache +0 -0
  142. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/jPuyl--LQd6DGNNoxSkPhBGx_ul_1kfka93EDJmnc8c.cache +1 -0
  143. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/jaYo3RHF_E7SipTqBJcsnR0JcOOa0rFpEHmp3nLDrQI.cache +1 -0
  144. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/kSkCWaAJCcTgZ_AhrRCjZhNtkE12cubiq70uNtditqk.cache +0 -0
  145. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/mXFXPQpdpe6VdLyG_ATkrFvhK-DzKohwq6B2GOQo9R8.cache +0 -0
  146. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/q2eC-e4sz4yzY37JZQfdjar0jjp4v7rHuGin5JEKV7Q.cache +1 -0
  147. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/s6DK-YkFoxYJMKXt21m9PdMtZi3TJhRoHIi0R5i69Zs.cache +1 -0
  148. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/sLDAakEn7_JrPiyZe0ZUsCLDnaTAal-5HajraaAgdhE.cache +2 -0
  149. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/teXpzhiur3Mnn2KsTY8q4HhEqpbdmKBfBW2iS5-MvUI.cache +1 -0
  150. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/tgZjQMFX0Ebx2i8ovlwnvwULhvrhFNJLAIQjUNZN1RM.cache +0 -0
  151. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/tihMlIo90U72qN2BzGajipIJOWppg8OIJuVnnluwVJM.cache +1 -0
  152. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/vpD8YcdUFmWVggV1ANqLIWcTbMItiGv1aOUd3i_Sf_w.cache +1 -0
  153. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/wBoZhq66JcV9m6-FvOoZ-Q3Cy9mgT-ynjPWZWZdafLw.cache +0 -0
  154. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/wTWJ6pQBopl4RdCt1QzngFCI6BQsl97QiZJO8bkGZd4.cache +1 -0
  155. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/wjVbFqqSw39d-ryprJ1NYmKProunHG47jEI6RFHcLM4.cache +0 -0
  156. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/wm5Vu6DEN0ZExnKV0oAADsKfEn3yvO4aBQJwp6b8FbU.cache +1 -0
  157. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/x0qPZqkeQj_x2GoHegxhwuHhPMrz8iHGdALgbSEtYB0.cache +1 -0
  158. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/xESXQaQoarUInNLmS7yPvF7D9FlSfaR8n8CsT6vIfmU.cache +1 -0
  159. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/xJpeFclkEQS028sCHKPl9C6EyiAcTgUW_lBAqjRuP_c.cache +0 -0
  160. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/yinyMcV6eKC4p76ZeetFBkRq8qYD5b8fWOHbukaCUNk.cache +1 -0
  161. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/ytg8J2fjBhc978nkpdl0f5cBPdcKpig523h4O4eN664.cache +1 -0
  162. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/z5Cl2oKorg00CGt089PLdPdoE1ELvsz4CdtXnlUk7KM.cache +0 -0
  163. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/z6uhOy1uoRnC6c9iKrzc1vRqGH1KQrhArDe51rZL1_k.cache +1 -0
  164. data/test/apps/rails4-mongoid/tmp/cache/assets/sprockets/v3.0/zIFdfoc8nFjrQhTXHyamSnNA6CVVrOcsP4qfDQhOcVI.cache +1 -0
  165. data/test/run-test.rb +43 -0
  166. data/test/unit/run-test.rb +25 -0
  167. data/test/unit/searcher/select/filter_parameter_test.rb +99 -0
  168. data/test/unit/searcher/select/match_columns_parameter_test.rb +59 -0
  169. data/test/unit/searcher/select/output_columns_parameter_test.rb +68 -0
  170. data/test/unit/searcher/select/sortby_parameter_test.rb +63 -0
  171. data/test/unit/test_helper.rb +19 -0
  172. metadata +480 -0
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_blog_session'
@@ -0,0 +1,9 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,142 @@
1
+ development:
2
+ # Configure available database clients. (required)
3
+ clients:
4
+ # Defines the default client. (required)
5
+ default:
6
+ # Defines the name of the default database that Mongoid can connect to.
7
+ # (required).
8
+ database: blog_development
9
+ # Provides the hosts the default client can connect to. Must be an array
10
+ # of host:port pairs. (required)
11
+ hosts:
12
+ - localhost:27017
13
+ options:
14
+ # Change the default write concern. (default = { w: 1 })
15
+ # write:
16
+ # w: 1
17
+
18
+ # Change the default read preference. Valid options for mode are: :secondary,
19
+ # :secondary_preferred, :primary, :primary_preferred, :nearest
20
+ # (default: primary)
21
+ # read:
22
+ # mode: :secondary_preferred
23
+ # tag_sets:
24
+ # - use: web
25
+
26
+ # The name of the user for authentication.
27
+ # user: 'user'
28
+
29
+ # The password of the user for authentication.
30
+ # password: 'password'
31
+
32
+ # The user's database roles.
33
+ # roles:
34
+ # - 'dbOwner'
35
+
36
+ # Change the default authentication mechanism. Valid options are: :scram,
37
+ # :mongodb_cr, :mongodb_x509, and :plain. (default on 3.0 is :scram, default
38
+ # on 2.4 and 2.6 is :plain)
39
+ # auth_mech: :scram
40
+
41
+ # The database or source to authenticate the user against. (default: admin)
42
+ # auth_source: admin
43
+
44
+ # Force a the driver cluster to behave in a certain manner instead of auto-
45
+ # discovering. Can be one of: :direct, :replica_set, :sharded. Set to :direct
46
+ # when connecting to hidden members of a replica set.
47
+ # connect: :direct
48
+
49
+ # Changes the default time in seconds the server monitors refresh their status
50
+ # via ismaster commands. (default: 10)
51
+ # heartbeat_frequency: 10
52
+
53
+ # The time in seconds for selecting servers for a near read preference. (default: 5)
54
+ # local_threshold: 5
55
+
56
+ # The timeout in seconds for selecting a server for an operation. (default: 30)
57
+ # server_selection_timeout: 30
58
+
59
+ # The maximum number of connections in the connection pool. (default: 5)
60
+ # max_pool_size: 5
61
+
62
+ # The minimum number of connections in the connection pool. (default: 1)
63
+ # min_pool_size: 1
64
+
65
+ # The time to wait, in seconds, in the connection pool for a connection
66
+ # to be checked in before timing out. (default: 5)
67
+ # wait_queue_timeout: 5
68
+
69
+ # The time to wait to establish a connection before timing out, in seconds.
70
+ # (default: 5)
71
+ # connect_timeout: 5
72
+
73
+ # The timeout to wait to execute operations on a socket before raising an error.
74
+ # (default: 5)
75
+ # socket_timeout: 5
76
+
77
+ # The name of the replica set to connect to. Servers provided as seeds that do
78
+ # not belong to this replica set will be ignored.
79
+ # replica_set: name
80
+
81
+ # Whether to connect to the servers via ssl. (default: false)
82
+ # ssl: true
83
+
84
+ # The certificate file used to identify the connection against MongoDB.
85
+ # ssl_cert: /path/to/my.cert
86
+
87
+ # The private keyfile used to identify the connection against MongoDB.
88
+ # Note that even if the key is stored in the same file as the certificate,
89
+ # both need to be explicitly specified.
90
+ # ssl_key: /path/to/my.key
91
+
92
+ # A passphrase for the private key.
93
+ # ssl_key_pass_phrase: password
94
+
95
+ # Whether or not to do peer certification validation. (default: true)
96
+ # ssl_verify: true
97
+
98
+ # The file containing a set of concatenated certification authority certifications
99
+ # used to validate certs passed from the other end of the connection.
100
+ # ssl_ca_cert: /path/to/ca.cert
101
+
102
+
103
+ # Configure Mongoid specific options. (optional)
104
+ options:
105
+ # Includes the root model name in json serialization. (default: false)
106
+ # include_root_in_json: false
107
+
108
+ # Include the _type field in serialization. (default: false)
109
+ # include_type_for_serialization: false
110
+
111
+ # Preload all models in development, needed when models use
112
+ # inheritance. (default: false)
113
+ # preload_models: false
114
+
115
+ # Raise an error when performing a #find and the document is not found.
116
+ # (default: true)
117
+ # raise_not_found_error: true
118
+
119
+ # Raise an error when defining a scope with the same name as an
120
+ # existing method. (default: false)
121
+ # scope_overwrite_exception: false
122
+
123
+ # Use Active Support's time zone in conversions. (default: true)
124
+ # use_activesupport_time_zone: true
125
+
126
+ # Ensure all times are UTC in the app side. (default: false)
127
+ # use_utc: false
128
+
129
+ # Set the Mongoid and Ruby driver log levels when not in a Rails
130
+ # environment. The Mongoid logger will be set to the Rails logger
131
+ # otherwise.(default: :info)
132
+ # log_level: :info
133
+ test:
134
+ clients:
135
+ default:
136
+ database: blog_test
137
+ hosts:
138
+ - localhost:27017
139
+ options:
140
+ read:
141
+ mode: :primary
142
+ max_pool_size: 1
@@ -0,0 +1,57 @@
1
+ Rails.application.routes.draw do
2
+ resources :posts
3
+ # The priority is based upon order of creation: first created -> highest priority.
4
+ # See how all your routes lay out with "rake routes".
5
+
6
+ # You can have the root of your site routed with "root"
7
+ # root 'welcome#index'
8
+
9
+ # Example of regular route:
10
+ # get 'products/:id' => 'catalog#view'
11
+
12
+ # Example of named route that can be invoked with purchase_url(id: product.id)
13
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
14
+
15
+ # Example resource route (maps HTTP verbs to controller actions automatically):
16
+ # resources :products
17
+
18
+ # Example resource route with options:
19
+ # resources :products do
20
+ # member do
21
+ # get 'short'
22
+ # post 'toggle'
23
+ # end
24
+ #
25
+ # collection do
26
+ # get 'sold'
27
+ # end
28
+ # end
29
+
30
+ # Example resource route with sub-resources:
31
+ # resources :products do
32
+ # resources :comments, :sales
33
+ # resource :seller
34
+ # end
35
+
36
+ # Example resource route with more complex sub-resources:
37
+ # resources :products do
38
+ # resources :comments
39
+ # resources :sales do
40
+ # get 'recent', on: :collection
41
+ # end
42
+ # end
43
+
44
+ # Example resource route with concerns:
45
+ # concern :toggleable do
46
+ # post 'toggle'
47
+ # end
48
+ # resources :posts, concerns: :toggleable
49
+ # resources :photos, concerns: :toggleable
50
+
51
+ # Example resource route within a namespace:
52
+ # namespace :admin do
53
+ # # Directs /admin/products/* to Admin::ProductsController
54
+ # # (app/controllers/admin/products_controller.rb)
55
+ # resources :products
56
+ # end
57
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: a677bb641b74dd664184c24d3a6cfaab985de414212239a503e2df901fa9a75e641d18062c88effc273ce3ed6b4e1f851a6ee2d60df4ae3b5657ce7ec12ec442
15
+
16
+ test:
17
+ secret_key_base: c90e129164ff6b985ef6dc6609e1ebef86484fce2d15399bdfebfbc7c05b42aef80a3ee27ac46935f46564a8957c5bf8dbe0f18189d0e81ae5f98acad299d822
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
@@ -0,0 +1,764 @@
1
+
2
+
3
+ Started GET "/entries" for ::1 at 2016-03-21 11:15:41 +0900
4
+
5
+ ActionController::RoutingError (No route matches [GET] "/entries"):
6
+ actionpack (4.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7
+ web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
8
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch'
9
+ web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
10
+ actionpack (4.2.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11
+ railties (4.2.6) lib/rails/rack/logger.rb:38:in `call_app'
12
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `block in call'
13
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
14
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:26:in `tagged'
15
+ activesupport (4.2.6) lib/active_support/tagged_logging.rb:68:in `tagged'
16
+ railties (4.2.6) lib/rails/rack/logger.rb:20:in `call'
17
+ actionpack (4.2.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
18
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
19
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
20
+ activesupport (4.2.6) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
21
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
22
+ actionpack (4.2.6) lib/action_dispatch/middleware/static.rb:120:in `call'
23
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
24
+ railties (4.2.6) lib/rails/engine.rb:518:in `call'
25
+ railties (4.2.6) lib/rails/application.rb:165:in `call'
26
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
27
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
28
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
29
+ /usr/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
30
+ /usr/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
31
+ /usr/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
32
+
33
+
34
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
35
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
36
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms)
37
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.2ms)
38
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.3ms)
39
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms)
40
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.3ms)
41
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.4ms)
42
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms)
43
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (24.9ms)
44
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms)
45
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms)
46
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (35.5ms)
47
+
48
+
49
+ Started GET "/posts?utf8=%E2%9C%93&query=a" for ::1 at 2016-03-21 11:15:50 +0900
50
+ Processing by PostsController#index as HTML
51
+ Parameters: {"utf8"=>"✓", "query"=>"a"}
52
+ Rendered posts/index.html.erb within layouts/application (3.2ms)
53
+ Completed 500 Internal Server Error in 39ms
54
+
55
+ ActionView::Template::Error (
56
+ message:
57
+ No configuration could be found for a client named 'default'.
58
+ summary:
59
+ When attempting to create the new client, Mongoid could not find a client configuration for the name: 'default'. This is necessary in order to know the host, port, and options needed to connect.
60
+ resolution:
61
+ Double check your mongoid.yml to make sure under the clients key that a configuration exists for 'default'. If you have set the configuration programatically, ensure that 'default' exists in the configuration hash.):
62
+ 12: </thead>
63
+ 13:
64
+ 14: <tbody>
65
+ 15: <% @posts.each do |post| %>
66
+ 16: <tr>
67
+ 17: <td><%= post.title %></td>
68
+ 18: <td><%= post.body %></td>
69
+ app/views/posts/index.html.erb:15:in `_app_views_posts_index_html_erb__1954450002102701357_29751640'
70
+
71
+
72
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms)
73
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
74
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
75
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.6ms)
76
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms)
77
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms)
78
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.1ms)
79
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms)
80
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (9.2ms)
81
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms)
82
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms)
83
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (18.5ms)
84
+
85
+
86
+ Started GET "/posts" for ::1 at 2016-03-21 11:15:53 +0900
87
+ Processing by PostsController#index as HTML
88
+ Rendered posts/index.html.erb within layouts/application (1.0ms)
89
+ Completed 500 Internal Server Error in 3ms
90
+
91
+ ActionView::Template::Error (
92
+ message:
93
+ No configuration could be found for a client named 'default'.
94
+ summary:
95
+ When attempting to create the new client, Mongoid could not find a client configuration for the name: 'default'. This is necessary in order to know the host, port, and options needed to connect.
96
+ resolution:
97
+ Double check your mongoid.yml to make sure under the clients key that a configuration exists for 'default'. If you have set the configuration programatically, ensure that 'default' exists in the configuration hash.):
98
+ 12: </thead>
99
+ 13:
100
+ 14: <tbody>
101
+ 15: <% @posts.each do |post| %>
102
+ 16: <tr>
103
+ 17: <td><%= post.title %></td>
104
+ 18: <td><%= post.body %></td>
105
+ app/views/posts/index.html.erb:15:in `_app_views_posts_index_html_erb__1954450002102701357_29751640'
106
+
107
+
108
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.3ms)
109
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
110
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.5ms)
111
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.7ms)
112
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms)
113
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms)
114
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms)
115
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms)
116
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (9.4ms)
117
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.1ms)
118
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms)
119
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (18.1ms)
120
+
121
+
122
+ Started GET "/posts" for ::1 at 2016-03-21 11:16:37 +0900
123
+ Processing by PostsController#index as HTML
124
+ Rendered posts/index.html.erb within layouts/application (1.7ms)
125
+ Completed 500 Internal Server Error in 3ms
126
+
127
+ ActionView::Template::Error (
128
+ message:
129
+ No configuration could be found for a client named 'default'.
130
+ summary:
131
+ When attempting to create the new client, Mongoid could not find a client configuration for the name: 'default'. This is necessary in order to know the host, port, and options needed to connect.
132
+ resolution:
133
+ Double check your mongoid.yml to make sure under the clients key that a configuration exists for 'default'. If you have set the configuration programatically, ensure that 'default' exists in the configuration hash.):
134
+ 12: </thead>
135
+ 13:
136
+ 14: <tbody>
137
+ 15: <% @posts.each do |post| %>
138
+ 16: <tr>
139
+ 17: <td><%= post.title %></td>
140
+ 18: <td><%= post.body %></td>
141
+ app/views/posts/index.html.erb:15:in `_app_views_posts_index_html_erb__1954450002102701357_29751640'
142
+
143
+
144
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.2ms)
145
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
146
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.5ms)
147
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.6ms)
148
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms)
149
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms)
150
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.1ms)
151
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms)
152
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (8.7ms)
153
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.1ms)
154
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms)
155
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (17.3ms)
156
+
157
+
158
+ Started GET "/posts" for ::1 at 2016-03-21 11:16:43 +0900
159
+ Processing by PostsController#index as HTML
160
+ MONGODB | Adding localhost:27017 to the cluster.
161
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
162
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000413264s
163
+ Rendered posts/index.html.erb within layouts/application (3.1ms)
164
+ Completed 200 OK in 938ms (Views: 927.5ms)
165
+
166
+
167
+ Started GET "/assets/posts.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for ::1 at 2016-03-21 11:16:44 +0900
168
+
169
+
170
+ Started GET "/assets/scaffolds.self-fcd4280e6508d4c0673450e9ca565c4fa237f0dacff6e1904e2acfbdd0ff939a.css?body=1" for ::1 at 2016-03-21 11:16:44 +0900
171
+
172
+
173
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-03-21 11:16:44 +0900
174
+
175
+
176
+ Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-03-21 11:16:44 +0900
177
+
178
+
179
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-03-21 11:16:44 +0900
180
+
181
+
182
+ Started GET "/assets/posts.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-03-21 11:16:44 +0900
183
+
184
+
185
+ Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-03-21 11:16:44 +0900
186
+
187
+
188
+ Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-03-21 11:16:44 +0900
189
+
190
+
191
+ Started GET "/posts/new" for ::1 at 2016-03-21 11:29:36 +0900
192
+ Processing by PostsController#new as HTML
193
+ Rendered posts/_form.html.erb (9.2ms)
194
+ Rendered posts/new.html.erb within layouts/application (15.2ms)
195
+ Completed 200 OK in 30ms (Views: 25.1ms)
196
+
197
+
198
+ Started POST "/posts" for ::1 at 2016-03-21 11:29:52 +0900
199
+ Processing by PostsController#create as HTML
200
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"SAj09uS1DBMksLWuXr26L4Tl+pp7OIt3ts9ZWKPG1gnv3uKLF7LrSIGkUAcu7U9BDSWZwaZmWkEh3LxpwMOFIg==", "post"=>{"title"=>"こんにちは!", "body"=>"これはとてもよい記事です!"}, "commit"=>"Create Post"}
201
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), "title"=>"こんにちは!", "body"=>"これはとてもよい記事です!"}], "ordered"=>true}
202
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.219541983s
203
+ Redirected to http://localhost:3000/posts/56ef5ca0c9fb3703ef2e2252
204
+ Completed 302 Found in 223ms
205
+
206
+
207
+ Started GET "/posts/56ef5ca0c9fb3703ef2e2252" for ::1 at 2016-03-21 11:29:52 +0900
208
+ Processing by PostsController#show as HTML
209
+ Parameters: {"id"=>"56ef5ca0c9fb3703ef2e2252"}
210
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
211
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000200628s
212
+ Rendered posts/show.html.erb within layouts/application (0.7ms)
213
+ Completed 200 OK in 12ms (Views: 9.9ms)
214
+
215
+
216
+ Started GET "/posts" for ::1 at 2016-03-21 11:29:55 +0900
217
+ Processing by PostsController#index as HTML
218
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
219
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000280995s
220
+ Rendered posts/index.html.erb within layouts/application (1.8ms)
221
+ Completed 200 OK in 11ms (Views: 10.4ms)
222
+
223
+
224
+ Started GET "/posts" for ::1 at 2016-03-21 11:43:59 +0900
225
+ Processing by PostsController#index as HTML
226
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
227
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000250491s
228
+ Rendered posts/index.html.erb within layouts/application (1.7ms)
229
+ Completed 200 OK in 12ms (Views: 11.2ms)
230
+
231
+
232
+ Started GET "/assets/posts.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for ::1 at 2016-03-21 11:43:59 +0900
233
+
234
+
235
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-03-21 11:43:59 +0900
236
+
237
+
238
+ Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-03-21 11:43:59 +0900
239
+
240
+
241
+ Started GET "/assets/posts.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-03-21 11:43:59 +0900
242
+
243
+
244
+ Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-03-21 11:43:59 +0900
245
+
246
+
247
+ Started GET "/assets/scaffolds.self-fcd4280e6508d4c0673450e9ca565c4fa237f0dacff6e1904e2acfbdd0ff939a.css?body=1" for ::1 at 2016-03-21 11:43:59 +0900
248
+
249
+
250
+ Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-03-21 11:43:59 +0900
251
+
252
+
253
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-03-21 11:43:59 +0900
254
+ MONGODB | Adding localhost:27017 to the cluster.
255
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
256
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0010180649999999999s
257
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}, "limit"=>-1}
258
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000630136s
259
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}, "limit"=>-1}
260
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000634693s
261
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}, "limit"=>-1}
262
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.003422166s
263
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}, "limit"=>-1}
264
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00063317s
265
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}, "limit"=>-1}
266
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000620076s
267
+
268
+
269
+ Started GET "/posts" for ::1 at 2016-03-21 12:03:26 +0900
270
+ Processing by PostsController#index as HTML
271
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
272
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00034840100000000003s
273
+ Rendered posts/index.html.erb within layouts/application (1.6ms)
274
+ Completed 200 OK in 17ms (Views: 12.3ms)
275
+
276
+
277
+ Started GET "/assets/posts.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for ::1 at 2016-03-21 12:03:27 +0900
278
+
279
+
280
+ Started GET "/assets/scaffolds.self-fcd4280e6508d4c0673450e9ca565c4fa237f0dacff6e1904e2acfbdd0ff939a.css?body=1" for ::1 at 2016-03-21 12:03:27 +0900
281
+
282
+
283
+ Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-03-21 12:03:27 +0900
284
+
285
+
286
+ Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-03-21 12:03:27 +0900
287
+
288
+
289
+ Started GET "/assets/posts.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-03-21 12:03:27 +0900
290
+
291
+
292
+ Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-03-21 12:03:27 +0900
293
+
294
+
295
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-03-21 12:03:27 +0900
296
+
297
+
298
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-03-21 12:03:27 +0900
299
+
300
+
301
+ Started GET "/posts" for ::1 at 2016-03-21 12:03:31 +0900
302
+ Processing by PostsController#index as HTML
303
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
304
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000259941s
305
+ Rendered posts/index.html.erb within layouts/application (1.1ms)
306
+ Completed 200 OK in 10ms (Views: 9.8ms)
307
+
308
+
309
+ Started GET "/assets/posts.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for ::1 at 2016-03-21 12:03:31 +0900
310
+
311
+
312
+ Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-03-21 12:03:31 +0900
313
+
314
+
315
+ Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-03-21 12:03:31 +0900
316
+
317
+
318
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-03-21 12:03:31 +0900
319
+
320
+
321
+ Started GET "/assets/scaffolds.self-fcd4280e6508d4c0673450e9ca565c4fa237f0dacff6e1904e2acfbdd0ff939a.css?body=1" for ::1 at 2016-03-21 12:03:31 +0900
322
+
323
+
324
+ Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-03-21 12:03:31 +0900
325
+
326
+
327
+ Started GET "/assets/posts.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-03-21 12:03:31 +0900
328
+
329
+
330
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-03-21 12:03:31 +0900
331
+
332
+
333
+ Started GET "/posts/56ef5ca0c9fb3703ef2e2252/edit" for ::1 at 2016-03-21 12:03:40 +0900
334
+ Processing by PostsController#edit as HTML
335
+ Parameters: {"id"=>"56ef5ca0c9fb3703ef2e2252"}
336
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
337
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000343899s
338
+ Rendered posts/_form.html.erb (1.3ms)
339
+ Rendered posts/edit.html.erb within layouts/application (2.2ms)
340
+ Completed 200 OK in 13ms (Views: 11.1ms)
341
+
342
+
343
+ Started PATCH "/posts/56ef5ca0c9fb3703ef2e2252" for ::1 at 2016-03-21 12:03:41 +0900
344
+ Processing by PostsController#update as HTML
345
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"vusu3DyMjf3p/KNrqoCi45XW9sjSboICsR3ahI+vb5QZPTihz4tqpkzoRsLa0FeNHBaVkw8wUzQmDj+17Ko8vw==", "post"=>{"title"=>"こんにちは!", "body"=>"これはとてもよい記事です!"}, "commit"=>"Update Post", "id"=>"56ef5ca0c9fb3703ef2e2252"}
346
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
347
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00018276599999999998s
348
+ Redirected to http://localhost:3000/posts/56ef5ca0c9fb3703ef2e2252
349
+ Completed 302 Found in 2ms
350
+
351
+
352
+ Started GET "/posts/56ef5ca0c9fb3703ef2e2252" for ::1 at 2016-03-21 12:03:41 +0900
353
+ Processing by PostsController#show as HTML
354
+ Parameters: {"id"=>"56ef5ca0c9fb3703ef2e2252"}
355
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
356
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000325763s
357
+ Rendered posts/show.html.erb within layouts/application (0.2ms)
358
+ Completed 200 OK in 9ms (Views: 8.0ms)
359
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}, "limit"=>-1}
360
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000653765s
361
+
362
+
363
+ Started GET "/posts/56ef5ca0c9fb3703ef2e2252/edit" for ::1 at 2016-03-21 12:04:27 +0900
364
+ Processing by PostsController#edit as HTML
365
+ Parameters: {"id"=>"56ef5ca0c9fb3703ef2e2252"}
366
+ MONGODB | Adding localhost:27017 to the cluster.
367
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
368
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000334012s
369
+ Rendered posts/_form.html.erb (16.2ms)
370
+ Rendered posts/edit.html.erb within layouts/application (20.1ms)
371
+ Completed 200 OK in 155ms (Views: 134.1ms)
372
+
373
+
374
+ Started GET "/assets/posts.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for ::1 at 2016-03-21 12:04:27 +0900
375
+
376
+
377
+ Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-03-21 12:04:27 +0900
378
+
379
+
380
+ Started GET "/assets/scaffolds.self-fcd4280e6508d4c0673450e9ca565c4fa237f0dacff6e1904e2acfbdd0ff939a.css?body=1" for ::1 at 2016-03-21 12:04:27 +0900
381
+
382
+
383
+ Started GET "/assets/posts.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-03-21 12:04:27 +0900
384
+
385
+
386
+ Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-03-21 12:04:27 +0900
387
+
388
+
389
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-03-21 12:04:27 +0900
390
+
391
+
392
+ Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-03-21 12:04:27 +0900
393
+
394
+
395
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-03-21 12:04:27 +0900
396
+
397
+
398
+ Started PATCH "/posts/56ef5ca0c9fb3703ef2e2252" for ::1 at 2016-03-21 12:04:37 +0900
399
+ Processing by PostsController#update as HTML
400
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"QGKd3Dcs/mX1r4LfmBtvOpXkrqo8z6dGJ7h0L0gJNTzntIuhxCsZPlC7Z3boS5pUHCTN8eGRdnCwq5EeKwxmFw==", "post"=>{"title"=>"こんにちは!", "body"=>"これはとてもよい記事です!"}, "commit"=>"Update Post", "id"=>"56ef5ca0c9fb3703ef2e2252"}
401
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
402
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000215029s
403
+ Redirected to http://localhost:3000/posts/56ef5ca0c9fb3703ef2e2252
404
+ Completed 302 Found in 2ms
405
+
406
+
407
+ Started GET "/posts/56ef5ca0c9fb3703ef2e2252" for ::1 at 2016-03-21 12:04:37 +0900
408
+ Processing by PostsController#show as HTML
409
+ Parameters: {"id"=>"56ef5ca0c9fb3703ef2e2252"}
410
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
411
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00018411599999999998s
412
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
413
+ Completed 200 OK in 10ms (Views: 8.5ms)
414
+ MONGODB | Adding localhost:27017 to the cluster.
415
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}, "limit"=>-1}
416
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000495888s
417
+
418
+
419
+ Started GET "/posts/56ef5ca0c9fb3703ef2e2252/edit" for ::1 at 2016-03-21 12:04:55 +0900
420
+ Processing by PostsController#edit as HTML
421
+ Parameters: {"id"=>"56ef5ca0c9fb3703ef2e2252"}
422
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
423
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000386582s
424
+ Rendered posts/_form.html.erb (1.8ms)
425
+ Rendered posts/edit.html.erb within layouts/application (2.9ms)
426
+ Completed 200 OK in 14ms (Views: 12.3ms)
427
+ MONGODB | Adding localhost:27017 to the cluster.
428
+ MONGODB | Adding localhost:27017 to the cluster.
429
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
430
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.12942801899999998s
431
+ MONGODB | Adding localhost:27017 to the cluster.
432
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
433
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000358918s
434
+ MONGODB | Adding localhost:27017 to the cluster.
435
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
436
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00035326700000000004s
437
+ MONGODB | Adding localhost:27017 to the cluster.
438
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
439
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000442553s
440
+ MONGODB | Adding localhost:27017 to the cluster.
441
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
442
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000392127s
443
+ MONGODB | Adding localhost:27017 to the cluster.
444
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
445
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0011866399999999999s
446
+ MONGODB | Adding localhost:27017 to the cluster.
447
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
448
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00101817s
449
+
450
+
451
+ Started GET "/posts/56ef5ca0c9fb3703ef2e2252" for ::1 at 2016-03-22 15:06:43 +0900
452
+ Processing by PostsController#show as HTML
453
+ Parameters: {"id"=>"56ef5ca0c9fb3703ef2e2252"}
454
+ MONGODB | Adding localhost:27017 to the cluster.
455
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
456
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000404861s
457
+ Rendered posts/show.html.erb within layouts/application (4.0ms)
458
+ Completed 200 OK in 297ms (Views: 254.5ms)
459
+
460
+
461
+ Started GET "/posts" for ::1 at 2016-03-22 15:06:45 +0900
462
+ Processing by PostsController#index as HTML
463
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
464
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0006783340000000001s
465
+ Rendered posts/index.html.erb within layouts/application (5.3ms)
466
+ Completed 200 OK in 25ms (Views: 24.3ms)
467
+
468
+
469
+ Started GET "/posts/new" for ::1 at 2016-03-22 15:06:47 +0900
470
+ Processing by PostsController#new as HTML
471
+ Rendered posts/_form.html.erb (75.1ms)
472
+ Rendered posts/new.html.erb within layouts/application (102.6ms)
473
+ Completed 200 OK in 126ms (Views: 124.0ms)
474
+
475
+
476
+ Started POST "/posts" for ::1 at 2016-03-22 15:07:00 +0900
477
+ Processing by PostsController#create as HTML
478
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1n0jL9LwLRsdJl1YpoPGk9bGuBB1UeH+I81U0PZ4I1pxqzVSIffKQLgyuPHW0zP9XwbbS6gPMMi03rHhlX1wcQ==", "post"=>{"title"=>"こんばんは!", "body"=>"どれどれ、ひとつ書いてみようかな。"}, "commit"=>"Create Post"}
479
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e104c9fb3731a402c161'), "title"=>"こんばんは!", "body"=>"どれどれ、ひとつ書いてみようかな。", "updated_at"=>2016-03-22 06:07:00 UTC, "created_at"=>2016-03-22 06:07:00 UTC}], "ordered"=>true}
480
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000349222s
481
+ Redirected to http://localhost:3000/posts/56f0e104c9fb3731a402c161
482
+ Completed 302 Found in 2ms
483
+
484
+
485
+ Started GET "/posts/56f0e104c9fb3731a402c161" for ::1 at 2016-03-22 15:07:00 +0900
486
+ Processing by PostsController#show as HTML
487
+ Parameters: {"id"=>"56f0e104c9fb3731a402c161"}
488
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e104c9fb3731a402c161')}}
489
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000317245s
490
+ Rendered posts/show.html.erb within layouts/application (0.8ms)
491
+ Completed 200 OK in 16ms (Views: 13.9ms)
492
+
493
+
494
+ Started GET "/posts" for ::1 at 2016-03-22 15:07:27 +0900
495
+ Processing by PostsController#index as HTML
496
+ MONGODB | Adding localhost:27017 to the cluster.
497
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
498
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000421356s
499
+ Rendered posts/index.html.erb within layouts/application (4.6ms)
500
+ Completed 200 OK in 185ms (Views: 171.1ms)
501
+
502
+
503
+ Started GET "/posts/new" for ::1 at 2016-03-22 15:07:29 +0900
504
+ Processing by PostsController#new as HTML
505
+ Rendered posts/_form.html.erb (14.9ms)
506
+ Rendered posts/new.html.erb within layouts/application (19.1ms)
507
+ Completed 200 OK in 34ms (Views: 33.1ms)
508
+
509
+
510
+ Started POST "/posts" for ::1 at 2016-03-22 15:07:42 +0900
511
+ Processing by PostsController#create as HTML
512
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"QA3zK3AZYFAcnLBu89uw0QS7dpM3XWkNx2siCFITBobn2+VWgx6HC7mIVceDi0W/jXsVyOoDuDtQeMc5MRZVrQ==", "post"=>{"title"=>"おはよう!", "body"=>"はろー!この記事は登録されるかな!"}, "commit"=>"Create Post"}
513
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e12ec9fb3731da37b074'), "title"=>"おはよう!", "body"=>"はろー!この記事は登録されるかな!", "updated_at"=>2016-03-22 06:07:42 UTC, "created_at"=>2016-03-22 06:07:42 UTC}], "ordered"=>true}
514
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.00032796999999999997s
515
+ Redirected to http://localhost:3000/posts/56f0e12ec9fb3731da37b074
516
+ Completed 302 Found in 2ms
517
+
518
+
519
+ Started GET "/posts/56f0e12ec9fb3731da37b074" for ::1 at 2016-03-22 15:07:42 +0900
520
+ Processing by PostsController#show as HTML
521
+ Parameters: {"id"=>"56f0e12ec9fb3731da37b074"}
522
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e12ec9fb3731da37b074')}}
523
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000226815s
524
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
525
+ Completed 200 OK in 11ms (Views: 9.9ms)
526
+
527
+
528
+ Started GET "/posts/56f0e12ec9fb3731da37b074" for ::1 at 2016-03-22 15:08:14 +0900
529
+ Processing by PostsController#show as HTML
530
+ Parameters: {"id"=>"56f0e12ec9fb3731da37b074"}
531
+ Completed 500 Internal Server Error in 10ms
532
+
533
+ NameError (uninitialized constant PostSearcher):
534
+ app/models/post.rb:8:in `<top (required)>'
535
+ app/controllers/posts_controller.rb:67:in `set_post'
536
+
537
+
538
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
539
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
540
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
541
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.4ms)
542
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.3ms)
543
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms)
544
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.2ms)
545
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms)
546
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (10.8ms)
547
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.2ms)
548
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.3ms)
549
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (27.7ms)
550
+
551
+
552
+ Started GET "/posts/56f0e12ec9fb3731da37b074" for ::1 at 2016-03-22 15:08:18 +0900
553
+ Processing by PostsController#show as HTML
554
+ Parameters: {"id"=>"56f0e12ec9fb3731da37b074"}
555
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e12ec9fb3731da37b074')}}
556
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000391089s
557
+ Rendered posts/show.html.erb within layouts/application (0.3ms)
558
+ Completed 200 OK in 26ms (Views: 17.6ms)
559
+
560
+
561
+ Started GET "/assets/posts.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for ::1 at 2016-03-22 15:08:18 +0900
562
+
563
+
564
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-03-22 15:08:18 +0900
565
+
566
+
567
+ Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-03-22 15:08:18 +0900
568
+
569
+
570
+ Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-03-22 15:08:18 +0900
571
+
572
+
573
+ Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-03-22 15:08:18 +0900
574
+
575
+
576
+ Started GET "/assets/scaffolds.self-fcd4280e6508d4c0673450e9ca565c4fa237f0dacff6e1904e2acfbdd0ff939a.css?body=1" for ::1 at 2016-03-22 15:08:18 +0900
577
+
578
+
579
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-03-22 15:08:18 +0900
580
+
581
+
582
+ Started GET "/assets/posts.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-03-22 15:08:18 +0900
583
+
584
+
585
+ Started GET "/posts" for ::1 at 2016-03-22 15:08:20 +0900
586
+ Processing by PostsController#index as HTML
587
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
588
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00038791s
589
+ Rendered posts/index.html.erb within layouts/application (2.7ms)
590
+ Completed 200 OK in 17ms (Views: 16.9ms)
591
+
592
+
593
+ Started GET "/posts/new" for ::1 at 2016-03-22 15:08:22 +0900
594
+ Processing by PostsController#new as HTML
595
+ Rendered posts/_form.html.erb (1.5ms)
596
+ Rendered posts/new.html.erb within layouts/application (2.4ms)
597
+ Completed 200 OK in 23ms (Views: 21.9ms)
598
+
599
+
600
+ Started POST "/posts" for ::1 at 2016-03-22 15:08:32 +0900
601
+ Processing by PostsController#create as HTML
602
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"sTTqtA+XtaWnbpQzTSHzSLNIp00a5K+1ob5ZpCC5ChkW4vzJ/JBS/gJ6cZo9cQYmOojEFse6foM2rbyVQ7xZMg==", "post"=>{"title"=>"へー", "body"=>"どれどれ、この記事はどう?"}, "commit"=>"Create Post"}
603
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e160c9fb3731da37b075'), "title"=>"へー", "body"=>"どれどれ、この記事はどう?", "updated_at"=>2016-03-22 06:08:32 UTC, "created_at"=>2016-03-22 06:08:32 UTC}], "ordered"=>true}
604
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000351306s
605
+ Completed 500 Internal Server Error in 6ms
606
+
607
+ NoMethodError (undefined method `create' for #<Post:0x007fdf6818a598>
608
+ Did you mean? created_at):
609
+ app/controllers/posts_controller.rb:30:in `block in create'
610
+ app/controllers/posts_controller.rb:29:in `create'
611
+
612
+
613
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.7ms)
614
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
615
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.5ms)
616
+ Rendered /var/lib/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (12.0ms)
617
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms)
618
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.1ms)
619
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.1ms)
620
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms)
621
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (8.8ms)
622
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.1ms)
623
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.2ms)
624
+ Rendered /var/lib/gems/2.3.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (17.4ms)
625
+ MONGODB | Adding localhost:27017 to the cluster.
626
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e244c9fb37325e9c2beb'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:12:20 UTC, "created_at"=>2016-03-22 06:12:20 UTC}], "ordered"=>true}
627
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000723406s
628
+ MONGODB | Adding localhost:27017 to the cluster.
629
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e253c9fb3732811ddb01'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:12:35 UTC, "created_at"=>2016-03-22 06:12:35 UTC}], "ordered"=>true}
630
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000420961s
631
+ MONGODB | Adding localhost:27017 to the cluster.
632
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e28dc9fb3732a3781a0c'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:13:33 UTC, "created_at"=>2016-03-22 06:13:33 UTC}], "ordered"=>true}
633
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.0005981459999999999s
634
+ MONGODB | Adding localhost:27017 to the cluster.
635
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e2a1c9fb3732c1427d21'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:13:53 UTC, "created_at"=>2016-03-22 06:13:53 UTC}], "ordered"=>true}
636
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.00046113s
637
+ MONGODB | Adding localhost:27017 to the cluster.
638
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e2aec9fb3732ddab3f06'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:14:06 UTC, "created_at"=>2016-03-22 06:14:06 UTC}], "ordered"=>true}
639
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.0010400379999999999s
640
+ MONGODB | Adding localhost:27017 to the cluster.
641
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e2c4c9fb3732fac20ca2'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:14:28 UTC, "created_at"=>2016-03-22 06:14:28 UTC}], "ordered"=>true}
642
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.00045713599999999997s
643
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e2e0c9fb3732fac20ca3'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:14:56 UTC, "created_at"=>2016-03-22 06:14:56 UTC}], "ordered"=>true}
644
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000806057s
645
+ MONGODB | Adding localhost:27017 to the cluster.
646
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e2f4c9fb373357650cf5'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:15:16 UTC, "created_at"=>2016-03-22 06:15:16 UTC}], "ordered"=>true}
647
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000699216s
648
+ MONGODB | Adding localhost:27017 to the cluster.
649
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e2f8c9fb373372991b7b'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:15:20 UTC, "created_at"=>2016-03-22 06:15:20 UTC}], "ordered"=>true}
650
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000354188s
651
+ MONGODB | Adding localhost:27017 to the cluster.
652
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e31dc9fb3733947c86c7'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:15:57 UTC, "created_at"=>2016-03-22 06:15:57 UTC}], "ordered"=>true}
653
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000446995s
654
+ MONGODB | Adding localhost:27017 to the cluster.
655
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e33bc9fb3733b4a1bc4a'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:16:27 UTC, "created_at"=>2016-03-22 06:16:27 UTC}], "ordered"=>true}
656
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.00044985399999999997s
657
+ MONGODB | Adding localhost:27017 to the cluster.
658
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e346c9fb3733d42604dc'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:16:38 UTC, "created_at"=>2016-03-22 06:16:38 UTC}], "ordered"=>true}
659
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.00047843800000000003s
660
+ MONGODB | Adding localhost:27017 to the cluster.
661
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e351c9fb3733f0c675f5'), "title"=>"Hello!", "body"=>"Body!!!", "updated_at"=>2016-03-22 06:16:49 UTC, "created_at"=>2016-03-22 06:16:49 UTC}], "ordered"=>true}
662
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.000440732s
663
+
664
+
665
+ Started POST "/posts" for ::1 at 2016-03-22 15:17:04 +0900
666
+ Processing by PostsController#create as HTML
667
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"sTTqtA+XtaWnbpQzTSHzSLNIp00a5K+1ob5ZpCC5ChkW4vzJ/JBS/gJ6cZo9cQYmOojEFse6foM2rbyVQ7xZMg==", "post"=>{"title"=>"へー", "body"=>"どれどれ、この記事はどう?"}, "commit"=>"Create Post"}
668
+ MONGODB | Adding localhost:27017 to the cluster.
669
+ MONGODB | localhost:27017 | blog_development.insert | STARTED | {"insert"=>"posts", "documents"=>[{"_id"=>BSON::ObjectId('56f0e360c9fb3734212fb5b1'), "title"=>"へー", "body"=>"どれどれ、この記事はどう?", "updated_at"=>2016-03-22 06:17:04 UTC, "created_at"=>2016-03-22 06:17:04 UTC}], "ordered"=>true}
670
+ MONGODB | localhost:27017 | blog_development.insert | SUCCEEDED | 0.00042214499999999996s
671
+ Redirected to http://localhost:3000/posts/56f0e360c9fb3734212fb5b1
672
+ Completed 302 Found in 25ms
673
+
674
+
675
+ Started GET "/posts/56f0e360c9fb3734212fb5b1" for ::1 at 2016-03-22 15:17:04 +0900
676
+ Processing by PostsController#show as HTML
677
+ Parameters: {"id"=>"56f0e360c9fb3734212fb5b1"}
678
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e360c9fb3734212fb5b1')}}
679
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000699345s
680
+ Rendered posts/show.html.erb within layouts/application (1.2ms)
681
+ Completed 200 OK in 183ms (Views: 179.4ms)
682
+
683
+
684
+ Started GET "/assets/posts.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for ::1 at 2016-03-22 15:17:04 +0900
685
+
686
+
687
+ Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for ::1 at 2016-03-22 15:17:04 +0900
688
+
689
+
690
+ Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for ::1 at 2016-03-22 15:17:04 +0900
691
+
692
+
693
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-03-22 15:17:04 +0900
694
+
695
+
696
+ Started GET "/assets/scaffolds.self-fcd4280e6508d4c0673450e9ca565c4fa237f0dacff6e1904e2acfbdd0ff939a.css?body=1" for ::1 at 2016-03-22 15:17:04 +0900
697
+
698
+
699
+ Started GET "/assets/posts.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for ::1 at 2016-03-22 15:17:04 +0900
700
+
701
+
702
+ Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for ::1 at 2016-03-22 15:17:04 +0900
703
+
704
+
705
+ Started GET "/assets/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for ::1 at 2016-03-22 15:17:04 +0900
706
+ MONGODB | Adding localhost:27017 to the cluster.
707
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
708
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.001716549s
709
+
710
+
711
+ Started GET "/posts" for ::1 at 2016-03-22 15:18:12 +0900
712
+ Processing by PostsController#index as HTML
713
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
714
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0009500859999999999s
715
+ Rendered posts/index.html.erb within layouts/application (7.3ms)
716
+ Completed 200 OK in 20ms (Views: 19.4ms)
717
+ MONGODB | Adding localhost:27017 to the cluster.
718
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
719
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0006643560000000001s
720
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e360c9fb3734212fb5b1')}}
721
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00024101599999999998s
722
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e12ec9fb3731da37b074')}}
723
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000143883s
724
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e160c9fb3731da37b075')}}
725
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00014654s
726
+ MONGODB | Adding localhost:27017 to the cluster.
727
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56ef5ca0c9fb3703ef2e2252')}}
728
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000667981s
729
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e360c9fb3734212fb5b1')}}
730
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000192045s
731
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e12ec9fb3731da37b074')}}
732
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.00022433700000000002s
733
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>BSON::ObjectId('56f0e160c9fb3731da37b075')}}
734
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000248464s
735
+ MONGODB | Adding localhost:27017 to the cluster.
736
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>{"$in"=>[BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), BSON::ObjectId('56f0e360c9fb3734212fb5b1'), BSON::ObjectId('56f0e12ec9fb3731da37b074'), BSON::ObjectId('56f0e160c9fb3731da37b075')]}}}
737
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0006984529999999999s
738
+ MONGODB | Adding localhost:27017 to the cluster.
739
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>{"$in"=>[BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), BSON::ObjectId('56f0e360c9fb3734212fb5b1'), BSON::ObjectId('56f0e12ec9fb3731da37b074'), BSON::ObjectId('56f0e160c9fb3731da37b075')]}}}
740
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000442724s
741
+ MONGODB | Adding localhost:27017 to the cluster.
742
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>{"$in"=>[BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), BSON::ObjectId('56f0e360c9fb3734212fb5b1'), BSON::ObjectId('56f0e12ec9fb3731da37b074'), BSON::ObjectId('56f0e160c9fb3731da37b075')]}}}
743
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0006966990000000001s
744
+ MONGODB | Adding localhost:27017 to the cluster.
745
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>{"$in"=>[BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), BSON::ObjectId('56f0e360c9fb3734212fb5b1'), BSON::ObjectId('56f0e12ec9fb3731da37b074'), BSON::ObjectId('56f0e160c9fb3731da37b075')]}}}
746
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000516177s
747
+ MONGODB | Adding localhost:27017 to the cluster.
748
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>{"$in"=>[BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), BSON::ObjectId('56f0e360c9fb3734212fb5b1'), BSON::ObjectId('56f0e12ec9fb3731da37b074'), BSON::ObjectId('56f0e160c9fb3731da37b075')]}}}
749
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000785993s
750
+ MONGODB | Adding localhost:27017 to the cluster.
751
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>{"$in"=>[BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), BSON::ObjectId('56f0e360c9fb3734212fb5b1'), BSON::ObjectId('56f0e12ec9fb3731da37b074'), BSON::ObjectId('56f0e160c9fb3731da37b075')]}}}
752
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0006819640000000001s
753
+ MONGODB | Adding localhost:27017 to the cluster.
754
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{"_id"=>{"$in"=>[BSON::ObjectId('56ef5ca0c9fb3703ef2e2252'), BSON::ObjectId('56f0e360c9fb3734212fb5b1'), BSON::ObjectId('56f0e12ec9fb3731da37b074'), BSON::ObjectId('56f0e160c9fb3731da37b075')]}}}
755
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0005023310000000001s
756
+ MONGODB | Adding localhost:27017 to the cluster.
757
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
758
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.0006069570000000001s
759
+ MONGODB | Adding localhost:27017 to the cluster.
760
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
761
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000610144s
762
+ MONGODB | Adding localhost:27017 to the cluster.
763
+ MONGODB | localhost:27017 | blog_development.find | STARTED | {"find"=>"posts", "filter"=>{}}
764
+ MONGODB | localhost:27017 | blog_development.find | SUCCEEDED | 0.000648652s