shoppy_cartus 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/shoppy_cartus/orders_controller.rb +7 -2
  3. data/app/models/shoppy_cartus/ability.rb +1 -1
  4. data/lib/shoppy_cartus/version.rb +1 -1
  5. data/spec/dummy/log/development.log +1782 -0
  6. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-4/-4RME3fAjim11QHaYL6NMzozxav8TkVRYsKmIAttZd8.cache +1 -0
  7. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-B/-BissvngiVxcKQ9rCbVPzZNxTi2PMwRg366eXEmQ3tw.cache +0 -0
  8. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/07/07Q0_nHhXIMys7oENSrLSzZS2svhBTTtqvcWcJtO-Dg.cache +0 -0
  9. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0i/0ijbbcSs1r8iwq-44IxG17IqAnaJPmpiuu2JuulHTs0.cache +0 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1U/1UCIAlZuTdM43117BM8GQhVHlpDN3CiR_276710pUbM.cache +1 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/34/34bY2RMcmpHvCsj85Di6sT97llHeJ7Mc8G0bPo3JP7g.cache +0 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/48/48snNYqt0Ho6R_axACxskhd0AfglJm8d9ZtYPdSBoV0.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6L/6LRMiU0X6FeF9vay2pce87LJM10v3eVMQ7TAay5j1wU.cache +0 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6Q/6Q-YCUzcOahcr6EEaxPQQW43KeIaiVM9WyedomA_YI8.cache +1 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6b/6bAQDbhwkvssJ5-gPIJ7UX0UyLNA88wmKS1b99ST1Yo.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6x/6xtzojj732DOpvj108nRbz43g6nLlVnKTHB6ZkCuBG0.cache +4 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7M/7MasxPttKNk3qw2NSWBcBqS-zxEKhfpseeAlsWme6NA.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7b/7bymAA2UNoApxJyvCePjjWMd3Hc_VQLlG1A1zEForus.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9B/9BDzoPrF_r3nlssSrMleZjTVDsOaVXSe8U3x68bVTgY.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9B/9BRW0gPXR4MQVJRU5-5Z0Q1TsERkl6YF0fsFVBAZEU0.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9d/9dU-PrQcM4e7zDrFT3toXwF0Sm1UNq1pEPeRG1-Zhw4.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AL/AL8IQLiS6423yDjfpracMP4BBegoTj9l5TJLi75bP6E.cache +1 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CK/CK5fmXPRaWoS_BKDk0LcSmwPFiFmVERpq6U60D1hkZQ.cache +0 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dh/DhdfJyE42GjzygK34XdV9OMflJvAIHhLeVAcRMEpg2E.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dz/DzWo_aks6e95eXtFKaolcqPU197kjdAYGVF83qvUxeo.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EJ/EJplQlQGddS2tcbFSW9ggwD5yq1ItoDBl1D4GbH8r0A.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EX/EXcReUrCxk7sE-E3FvsvJUGvbh-WfZDAIixsEZedVKg.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FN/FNz-V3EBsKWWoP0LNeFiQxzjh_cKm3kvgHu-FTaRDPA.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FQ/FQpdECUtMDs1uGX9EzOgkzJAlzQlnnSSFwWj_BWjcd4.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FT/FTVHqBhgTQVKB2iHI1Fb_Y-F-M-m68US3WdxFKHf7rA.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fo/Fo65Hanjmhq5tS_nLx9YSgSZVZrWNgldkhI0Y6DJvk0.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GP/GPXjyZhYP27J5fo0_RTRubAI8011K54v2bA1wCr2LRI.cache +3 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HG/HGjvtzK_9JbQKAIczgsrvYvDLi_ogiwLMK0qf156hRg.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/II/IItP-hGOwPXs7mSjTAvK_a9qGksUDCrY-ge48gwT-MA.cache +0 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ia/IaoUD0dsazc0G3WP9O6GXs6Un6ANn8Mnno_Xdz_rw3c.cache +3 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JC/JCc_5TY9wZJdB15_r2G6pcXqG7kHlTsPsAeSVF9keko.cache +1 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JJ/JJ5B1mKsfZgd0AQYJOFSpdmIe7BbInYm84fmTzee81g.cache +3 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JR/JRQprOvpSjsHeKdBhPy5XhChPGhEcozM48SjrYj9eTw.cache +1 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JV/JVOk9qwHQdHUja29S51fTQ1Jq8uTMnLYcRC_VViZ6AQ.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jl/JlE-0mtFMcYfUxGiWyLUs8rQuIuY9mQos_0F6m2Bi_U.cache +0 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jl/JlOSZRNRUXQ5yqrEQfDSl8BLcxgq2dwPLqDYdbhKXuw.cache +0 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jr/JrqHNaWaLTpVSCBXNjz4QGcORcGa0o-Afuj2_-X5RJ8.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jt/JtVIh1BF-M_u6pw4BVk1IctPWanc-c3G6sUuCC7oWto.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kb/KboMKtmGY15QzeOJcFLOhfRDllZsswn5eYTFOU0W1Ew.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsWYm0cNdMmMjQix68oLX3cK0w-gnYvnGJ-f0OrK3d8.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MF/MFhLjeFcroDosb7NxSm7dPypgiDkEYgqazu1SEG52p4.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NC/NCFD71AGSUlavwCZ-6A7d8_x7sZS_7d1oR_4tpNwPNg.cache +0 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NG/NGYOjEysz8e7AXzg4bDNGxQyp3ubn7cxw72ga4Cfxys.cache +4 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NR/NRt3bkyktPynevJCIw2ZMdAc3qWWGsEn_W2WTDuku3c.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ne/Ne8LV-K0ozoOKjlHYHP969v90KLT193qiv7mQq2jRA8.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/O4/O4IZVSi_GO63LjnGS0tjjFAWdJaWl9g_z9zHkwMxrcw.cache +0 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OM/OMcTYT_tUx8-wLDbMVFWz1sFQIY_RiRl_tSGb4BJ-ZU.cache +1 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Oc/OcTEh_CT4g6VhOcuWR1gROWrqe5WWEro9g8tFSJN2aQ.cache +0 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Of/Of46j-vnxBYZ9s07_fSzBe1L1Wh5tSEtK68hQCEWysw.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Or/OrBJqpDMixv9B6SfwZmMviLJvBO6L3yVo95eeKv7ZnQ.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P5/P5J9I4d4NtDZcb7NYBKpwp7xmAj1a4Mo0vPf63QTgjo.cache +0 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P6/P6doTPxyxFifPE8xIq8lATzs0O1GPosrIk4BtSOCFa0.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PB/PBLBVD3DDpJ-xb24xTZMK9xUCRNQsJYfz-3Z6kXo0qs.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PC/PCDAon1pjjiHZQdYGTVEFJrtqtO-KLlpmsibAT-0ry4.cache +4 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q0/Q0yQFwiEhEnl7U8SpgtDhBAerfuYXAXLQdHVfLNJns4.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QG/QGw-OszKpCiq5U5yiq03OicoNLOZA6W7tD2LKZBDTDk.cache +0 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S5/S5MPf4LLaX0-hSrj3vGZltWYjYrIUPsn8yvuhYMNcQ0.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S_/S_-jhIaFM3kTwmfJcAViQ1FTT2JE6rocRVo_2wyHFkY.cache +1 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sx/Sxn1Mr5gdbpLD_EmeY7hNIMA5iOSFjs4LGDRYMZ1Owg.cache +1 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TN/TNyWxR2I-Uzsiy7MeDw1TAsCM4Pc8mr6YxwjBHzN064.cache +3 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tc/Tc-vv4Lm1dHIlnfm9jHfRCLuYz4V1PHBvoyCxw3GfXc.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/To/ToO7Qr_Cq2KpXAwrOySARr_WYArCuzs3T4Nnw-Cx5G4.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UH/UHwtAXueOh-xy7mEOLL9N_NslOdnJJsuDPKZWGdmf3Q.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UI/UI7ut9pov1pHontvF2HhTrjuW6QsQHFX4HcURueVyPU.cache +1 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/US/USb-alrMTXXSPaloQ6wpBNrlgD6VFcdFeXbQh2LBjhs.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VE/VE4knnh4VnSSlVtr1ke0MdUCbNXQ33hM0yLViPQL1uc.cache +0 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vp/VpEcyq-cPMQjp8uPSU4U8JncRdMMPL2JJXNkiCCxIpY.cache +0 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/WE/WE1dMtnLcSO7RgngaSQO8iFu6h47zkgg7Hg5VLPi1Xk.cache +0 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/WW/WW9yBrRqCEFfmEmqDQVntGrNccKWFrzRPSmUAe-_i3o.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X0/X0Jm67PyhOqEzvwP498q5Vb0CltDP7edFjjvAbIYzOw.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xf/XfKZ0htcFPEk8m5c-swab6aqxd62TaCCi3u1652_2cc.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Y0/Y0ZUbSp66g9fAnLQYT60Lmh0HwPcDnFWKyfvNkRj2yI.cache +0 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YI/YInuDSPPGmxcrzlAoLK5uvpjlLTLsDYMQ4-LuKR8B1g.cache +1 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zk/Zkki15XlkKUF8ZqQN4kyt6FNhdlBeerXoZoiLMww-g8.cache +3 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zv/Zvew18Ex8k2Ktbik_mXCWELgP9xRk95XL7pdv-8ARbc.cache +1 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_C/_C8Oh3R1CUvLmYDNIxNFDQ1PBvQNwuiF2uc888z6MQ8.cache +1 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_s/_shiiJcKRWMecE-I4MrNmkm0uh1cSq90ah4iKjuKMyU.cache +0 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aR/aRc3qidq1rTmUSAkMkZ4USPi1efb9Z07UKD8RsMGCk4.cache +0 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +0 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cH/cHcOWdIxPMfJ-vyQ4QrDzRCLGCHhXgCOL3gLxI3EaWA.cache +1 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d7/d7eh9YP9q8iI0gql85R0xhS2d96b3eijEokW1wXuXXc.cache +0 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eV/eV54u3OUBNgSdtaTufQao-i0H8WMXU9ZWbtb8A09Vnk.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eY/eYidA11fGUjdL0tL5RO0duk53IGfyvo1a94kUz2sKAg.cache +0 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ev/evuIIUCeZFlwhyUyOcPrdT3LzzwSCYO2J6t8QllmkMg.cache +1 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f3/f3ifx81ZyEsCmuWLlt-70_eKGvF18AK46697j1UVDlk.cache +1 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f3/f3yIb-eRoJx98mvN_AGIBVDsqfhPQl9nJD5Yy1i6hec.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fp/fpcVN3qjZ_PH8_euyCZsjKOx45KyBKPINdxdxiuBHW0.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gW/gWLaFtqkhwoz2wTFE4aoPYwLmf_l0dxbA_o69DPNg1U.cache +0 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZPuBq3hw53kq8PC9hjcCLkYt0zsMJmp88Fln94ch34.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gh/ghHW5-3pQT0zdlf-PS0HXg1XigUVposwbF55rIv3x6g.cache +1 -0
  97. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i7/i7ijGZOWt2v9Ot7BKW_43J39X1QjtRCzti3TMxYtuJM.cache +0 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iA/iASzdQZwTR0LexyIJ4sMm68UMGUJc18aE3iGx4dYt-o.cache +0 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ki/kiu4kTIf-8N4EdOb07ZpjbKp8Z84DkSH4DewXN8LEFU.cache +1 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ks/ksEpdN_sPc53idxwX462o6skqqzkvGolyn6ywWJ7Gqw.cache +1 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qY/qYhokoCPw7NuZkgmJ49NmfBkSIsJgiNkuvOL34TP3Qw.cache +4 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qr/qrYjiA5PEVcZ-n0lYbw0cBStBe6EspGpWIklLRXl-Zg.cache +0 -0
  103. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r0/r0s4IerJ5_1Rgvp0c5-3P8ZeZRd75fHxlNadpr2BfE0.cache +0 -0
  104. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r8/r86Z3MlhRabawQAjW8O1ymSEU9m0u5BxFVNpj1YJebY.cache +0 -0
  105. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uF/uF6UAz_CypOwmqnPMbzI4rOo9sXMiiCuyxJhc55wZh8.cache +1 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uq/uqMEAyaU0xSPxHkPMk8g-93SNfdaae1T6FMRwgrCzzA.cache +1 -0
  107. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v2/v2JejS8rhksxbgOLAV-xoiS-1DsfMLS4oQ-FlpOuLZI.cache +0 -0
  108. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v3/v3d5w8xCabliguB4tcEMi_tReEcJi9z3lK80ZV9tJFs.cache +1 -0
  109. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vP/vP_TtfGYvrUzvfNd6djM6N5sCzatQzUIrhp4-lzw4EA.cache +0 -0
  110. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vS/vSBo4v6OHNvrQibOvjCTSd5TFKvssRL1XUQEhorT2Lw.cache +0 -0
  111. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wA/wANkIS2sa-UuD-32oxp4MOZO1OL-egr4MtF_VBcC35U.cache +1 -0
  112. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wN/wNoYH7G3WE32hW8fdHpa8b23uVsEywrvzKXpuZp7vx4.cache +0 -0
  113. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wV/wV9VSg-9nZW2x85_RqU-XEthqv5r2f7_aNwEEOCHY0Q.cache +1 -0
  114. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wZ/wZWxM9TPL5Hkm8Q2rPnZCxWTw9Yi7KiF-amgeVA3eGk.cache +4 -0
  115. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xM/xMWp0kc-Tpixjhj8vsq6E0raMTsSmjOVr0Clhty9pks.cache +0 -0
  116. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xM/xMsHCmLqMXB0tuqSAqbAsGSS_JPEz-c8h1R9y05TDkY.cache +0 -0
  117. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xm/xm6N8IB_9qhukONilGGdKsQ0HNvfPLjSWCFrs__R-Dw.cache +0 -0
  118. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xy/xyx-ge5H59r1ndRzT6LKG5R1_Ux9ySEGk8mHLjInrW0.cache +0 -0
  119. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yB/yBCracDbQoI6Nmx5KYUogQ7aPnFyi_-ZXLU_npxM9J0.cache +1 -0
  120. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yR/yRbAqv5Kmne301fhZu3fC_t1jc2v5kuFHfZJYyMSdqY.cache +0 -0
  121. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yr/yrjpMzgDici1ImWV24YafasaJH8B6JfJKYaujNmviiA.cache +0 -0
  122. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zT/zT9gXkJNctKv5d7OQMAKF9fU-3eBoTJSYYismKfSmxA.cache +1 -0
  123. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zl/zlZ_YbNEdXj2_5KKIo2JQ3C92xw3fidMxiEF-5Vncv4.cache +0 -0
  124. metadata +186 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1de43edd5a0ce79c35011021f6be947f58e34e38
4
- data.tar.gz: 0d98756400bb6f1f9812a66fba30d06f942eccfd
3
+ metadata.gz: f2917af8d10c5855ab2dabc1ef9f39c2002eee81
4
+ data.tar.gz: ac1f6b50b147a0a6f62f1bcd7185e5dfffa93425
5
5
  SHA512:
6
- metadata.gz: 0ce8251f9cf2259f363a444be526aed864e1aaf6dee6716bfe2b0c454249ee55910d4158e38317f051c9f7fe0f587c02f7e1314fc565f4710bd1c8ae3341abc0
7
- data.tar.gz: ac16c2b7b27e46ac105981709e7f4a9d448576cc77ef0451479fa062fe383977dc386b520679c84901928396979f913021eb7cf0878082db08380c7b93ba8988
6
+ metadata.gz: f018e7ad5c80a079ecd2625f952631dedc4af069d5b4e7acb1769eb0a71a2d1c744a5bcddbabc1a500d0860a2c8c0a4fca7181cd8efe8d0cd86eb3a7eab320bc
7
+ data.tar.gz: 6bfe41828030dbc4150ff7207d50ac035ca6f0529f8e4385a32fb4127026bb1379ecf32b0f400e72fce1a72e9dad145651f648f348b83da643e667a8fbe6e48d
@@ -1,23 +1,28 @@
1
1
  module ShoppyCartus
2
2
  class OrdersController < ApplicationController
3
+ before_action "authenticate_#{ShoppyCartus.user_class.downcase}!".to_sym
4
+ # authorize_resource class: 'ShoppyCartus::Order'
3
5
 
4
6
  def index
7
+ authorize! :index, ShoppyCartus::Order
5
8
  @orders = current_user.orders.executed
6
9
  @orders = @orders.by_state(params[:state].to_sym) if valid_state?
7
10
  end
8
11
 
9
12
  def show
10
13
  @_order = ShoppyCartus::Order.find_by(id: params[:id]).decorate
14
+ authorize! :show, @_order.object
11
15
  end
12
16
 
13
17
  def confirm
14
18
  order = ShoppyCartus::Order.find_by(id: params[:order_id])
15
19
  if order.confirmation_token == params[:token]
20
+ authorize! :confirm, order
16
21
  order.process
17
22
  order.save
18
- return redirect_to main_app.root_path, notice: t('order.confirmed')
23
+ return redirect_to order_items_path, notice: t('order.confirmed')
19
24
  end
20
- redirect_to main_app.root_path, alert: t('order.wrong_token')
25
+ redirect_to order_items_path, alert: t('order.wrong_token')
21
26
  end
22
27
 
23
28
  private
@@ -9,7 +9,7 @@ module ShoppyCartus
9
9
 
10
10
  can :manage, OrderItem, order_id: order.id
11
11
  can :manage, Coupon, order_id: order.id
12
- can :manage, Order, user_id: user.id
12
+ can %i[index show confirm], Order, user_id: user.id
13
13
  can %i[create update], CreditCard, user_id: user.id
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module ShoppyCartus
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
@@ -56501,3 +56501,1785 @@ Processing by ShoppyCartus::OrdersController#show as HTML
56501
56501
  Completed 200 OK in 298ms (Views: 147.7ms | ActiveRecord: 130.0ms)
56502
56502
 
56503
56503
 
56504
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-10 19:50:13 +0300
56505
+  (29.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
56506
+ Processing by ShoppyCartus::OrdersController#index as HTML
56507
+ ShoppyCartus::Order Load (59.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56508
+ User Load (2.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56509
+ ShoppyCartus::Order Load (12.9ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56510
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56511
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56512
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56513
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56514
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56515
+ Completed 500 Internal Server Error in 237ms (ActiveRecord: 99.5ms)
56516
+
56517
+
56518
+
56519
+ NoMethodError (undefined method `orders' for nil:NilClass):
56520
+
56521
+ /var/www/ruby/shoppy_cartus/app/controllers/shoppy_cartus/orders_controller.rb:5:in `index'
56522
+ actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
56523
+ actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action'
56524
+ actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
56525
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
56526
+ activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks'
56527
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
56528
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
56529
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
56530
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
56531
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
56532
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
56533
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
56534
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
56535
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
56536
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
56537
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
56538
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
56539
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
56540
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
56541
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
56542
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56543
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56544
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56545
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56546
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56547
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
56548
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
56549
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
56550
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
56551
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56552
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56553
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56554
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56555
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
56556
+ rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
56557
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
56558
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
56559
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
56560
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
56561
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
56562
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
56563
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
56564
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
56565
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56566
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
56567
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
56568
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
56569
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
56570
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
56571
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
56572
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
56573
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
56574
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
56575
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
56576
+ request_store (1.4.1) lib/request_store/middleware.rb:19:in `call'
56577
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
56578
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
56579
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
56580
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
56581
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56582
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
56583
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
56584
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56585
+ rack (2.0.4) lib/rack/handler/webrick.rb:86:in `service'
56586
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
56587
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
56588
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
56589
+ Started POST "/shoppy_cartus/order_items?order_items%5Bbook_id%5D=84&order_items%5Bprice%5D=46.6&order_items%5Bquantity%5D=1" for 127.0.0.1 at 2018-04-10 19:50:59 +0300
56590
+ Processing by ShoppyCartus::OrderItemsController#create as */*
56591
+ Parameters: {"order_items"=>{"book_id"=>"84", "price"=>"46.6", "quantity"=>"1"}}
56592
+ Can't verify CSRF token authenticity.
56593
+ Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)
56594
+
56595
+
56596
+
56597
+ ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
56598
+
56599
+ actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request'
56600
+ actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request'
56601
+ actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token'
56602
+ activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda'
56603
+ activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
56604
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
56605
+ activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting'
56606
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before'
56607
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each'
56608
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before'
56609
+ activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks'
56610
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
56611
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
56612
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
56613
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
56614
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
56615
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
56616
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
56617
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
56618
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
56619
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
56620
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
56621
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
56622
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
56623
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
56624
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
56625
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56626
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56627
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56628
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56629
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56630
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
56631
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
56632
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
56633
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
56634
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56635
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56636
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56637
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56638
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
56639
+ rack (2.0.4) lib/rack/conditional_get.rb:38:in `call'
56640
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
56641
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
56642
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
56643
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
56644
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
56645
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
56646
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
56647
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
56648
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56649
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
56650
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
56651
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
56652
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
56653
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
56654
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
56655
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
56656
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
56657
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
56658
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
56659
+ request_store (1.4.1) lib/request_store/middleware.rb:19:in `call'
56660
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
56661
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
56662
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
56663
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
56664
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56665
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
56666
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
56667
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56668
+ rack (2.0.4) lib/rack/handler/webrick.rb:86:in `service'
56669
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
56670
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
56671
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
56672
+ Started POST "/shoppy_cartus/order_items?order_items%5Bbook_id%5D=84&order_items%5Bprice%5D=46.6&order_items%5Bquantity%5D=1" for 127.0.0.1 at 2018-04-10 19:51:43 +0300
56673
+ Processing by ShoppyCartus::OrderItemsController#create as */*
56674
+ Parameters: {"order_items"=>{"book_id"=>"84", "price"=>"46.6", "quantity"=>"1"}}
56675
+ Can't verify CSRF token authenticity.
56676
+ Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)
56677
+
56678
+
56679
+
56680
+ ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
56681
+
56682
+ actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request'
56683
+ actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request'
56684
+ actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token'
56685
+ activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda'
56686
+ activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
56687
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
56688
+ activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting'
56689
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before'
56690
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each'
56691
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before'
56692
+ activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks'
56693
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
56694
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
56695
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
56696
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
56697
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
56698
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
56699
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
56700
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
56701
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
56702
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
56703
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
56704
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
56705
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
56706
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
56707
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
56708
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56709
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56710
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56711
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56712
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56713
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
56714
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
56715
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
56716
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
56717
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56718
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56719
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56720
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56721
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
56722
+ rack (2.0.4) lib/rack/conditional_get.rb:38:in `call'
56723
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
56724
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
56725
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
56726
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
56727
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
56728
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
56729
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
56730
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
56731
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56732
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
56733
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
56734
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
56735
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
56736
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
56737
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
56738
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
56739
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
56740
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
56741
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
56742
+ request_store (1.4.1) lib/request_store/middleware.rb:19:in `call'
56743
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
56744
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
56745
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
56746
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
56747
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56748
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
56749
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
56750
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56751
+ rack (2.0.4) lib/rack/handler/webrick.rb:86:in `service'
56752
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
56753
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
56754
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
56755
+ Started GET "/shoppy_cartus/" for 127.0.0.1 at 2018-04-10 19:56:56 +0300
56756
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
56757
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56758
+ User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56759
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56760
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56761
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56762
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56763
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56764
+ ShoppyCartus::OrderItem Exists (61.6ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56765
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
56766
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56767
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (22.2ms)
56768
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
56769
+ Completed 200 OK in 3983ms (Views: 3875.8ms | ActiveRecord: 72.7ms)
56770
+
56771
+
56772
+ Started GET "/" for 127.0.0.1 at 2018-04-14 11:35:38 +0300
56773
+  (28.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
56774
+ Processing by Rails::WelcomeController#index as HTML
56775
+ Rendering /home/dima/.rvm/gems/ruby-2.4.2/gems/railties-5.1.6/lib/rails/templates/rails/welcome/index.html.erb
56776
+ Rendered /home/dima/.rvm/gems/ruby-2.4.2/gems/railties-5.1.6/lib/rails/templates/rails/welcome/index.html.erb (4.7ms)
56777
+ Completed 200 OK in 44ms (Views: 10.2ms | ActiveRecord: 0.0ms)
56778
+
56779
+
56780
+ Started GET "/shoppy_cartus/" for 127.0.0.1 at 2018-04-14 11:35:43 +0300
56781
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
56782
+ ShoppyCartus::Order Load (102.9ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56783
+ User Load (29.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56784
+ ShoppyCartus::Order Load (3.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56785
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56786
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56787
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56788
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56789
+ ShoppyCartus::OrderItem Exists (52.1ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56790
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
56791
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56792
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (37.2ms)
56793
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.6ms)
56794
+ Completed 200 OK in 1157ms (Views: 732.7ms | ActiveRecord: 214.2ms)
56795
+
56796
+
56797
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:35:45 +0300
56798
+ Processing by ShoppyCartus::OrdersController#index as HTML
56799
+ ShoppyCartus::Order Load (0.8ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56800
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56801
+ ShoppyCartus::Order Load (0.8ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56802
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56803
+ CACHE ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56804
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56805
+ CACHE ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56806
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56807
+ Completed 500 Internal Server Error in 32ms (ActiveRecord: 2.6ms)
56808
+
56809
+
56810
+
56811
+ NoMethodError (undefined method `orders' for nil:NilClass):
56812
+
56813
+ /var/www/ruby/shoppy_cartus/app/controllers/shoppy_cartus/orders_controller.rb:5:in `index'
56814
+ actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
56815
+ actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action'
56816
+ actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
56817
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
56818
+ activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks'
56819
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
56820
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
56821
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
56822
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
56823
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
56824
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
56825
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
56826
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
56827
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
56828
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
56829
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
56830
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
56831
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
56832
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
56833
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
56834
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56835
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56836
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56837
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56838
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56839
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
56840
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
56841
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
56842
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
56843
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
56844
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
56845
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
56846
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
56847
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
56848
+ rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
56849
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
56850
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
56851
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
56852
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
56853
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
56854
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
56855
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
56856
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
56857
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56858
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
56859
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
56860
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
56861
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
56862
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
56863
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
56864
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
56865
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
56866
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
56867
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
56868
+ request_store (1.4.1) lib/request_store/middleware.rb:19:in `call'
56869
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
56870
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
56871
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
56872
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
56873
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
56874
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
56875
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
56876
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
56877
+ rack (2.0.4) lib/rack/handler/webrick.rb:86:in `service'
56878
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
56879
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
56880
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
56881
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:36:58 +0300
56882
+ Processing by ShoppyCartus::OrdersController#index as HTML
56883
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56884
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56885
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56886
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56887
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56888
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56889
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56890
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56891
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
56892
+ Filter chain halted as :authenticate_user! rendered or redirected
56893
+ Completed 302 Found in 60ms (ActiveRecord: 6.2ms)
56894
+
56895
+
56896
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:36:58 +0300
56897
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
56898
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56899
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56900
+ ShoppyCartus::Order Load (1.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56901
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56902
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56903
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56904
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56905
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56906
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
56907
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56908
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (13.1ms)
56909
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
56910
+ Completed 200 OK in 69ms (Views: 53.5ms | ActiveRecord: 3.2ms)
56911
+
56912
+
56913
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:37:54 +0300
56914
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
56915
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56916
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56917
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56918
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56919
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56920
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56921
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56922
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56923
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
56924
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56925
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (18.2ms)
56926
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (2.3ms)
56927
+ Completed 200 OK in 136ms (Views: 75.0ms | ActiveRecord: 7.9ms)
56928
+
56929
+
56930
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:37:57 +0300
56931
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
56932
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56933
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56934
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56935
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56936
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56937
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56938
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56939
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56940
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
56941
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 128], ["LIMIT", 1]]
56942
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (21.9ms)
56943
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (2.6ms)
56944
+ Completed 200 OK in 72ms (Views: 64.7ms | ActiveRecord: 1.0ms)
56945
+
56946
+
56947
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:38:03 +0300
56948
+ Processing by ShoppyCartus::OrdersController#index as HTML
56949
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56950
+ User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56951
+ ShoppyCartus::Order Load (1.9ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56952
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56953
+ CACHE ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56954
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56955
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56956
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:38:07 +0300
56957
+ Processing by ShoppyCartus::OrdersController#index as HTML
56958
+ ShoppyCartus::Order Load (1.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56959
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56960
+ ShoppyCartus::Order Load (0.8ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56961
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56962
+ CACHE ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56963
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56964
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" IS NULL AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56965
+ User Load (14.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
56966
+ User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
56967
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
56968
+ Completed 302 Found in 22034ms (ActiveRecord: 26.6ms)
56969
+
56970
+
56971
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:38:29 +0300
56972
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
56973
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56974
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
56975
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56976
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56977
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56978
+ ShoppyCartus::OrderItem Exists (1.2ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
56979
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
56980
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
56981
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (15.1ms)
56982
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
56983
+ Completed 200 OK in 81ms (Views: 68.3ms | ActiveRecord: 2.5ms)
56984
+
56985
+
56986
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:38:35 +0300
56987
+ Processing by ShoppyCartus::OrdersController#index as HTML
56988
+ ShoppyCartus::Order Load (1.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56989
+ User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
56990
+ ShoppyCartus::Order Load (0.7ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56991
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
56992
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
56993
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
56994
+ Completed 302 Found in 3390ms (ActiveRecord: 3.3ms)
56995
+
56996
+
56997
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:38:38 +0300
56998
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
56999
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57000
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57001
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57002
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57003
+ CACHE ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57004
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57005
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57006
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57007
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (15.4ms)
57008
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (9.8ms)
57009
+ Completed 200 OK in 85ms (Views: 70.7ms | ActiveRecord: 1.9ms)
57010
+
57011
+
57012
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:38:38 +0300
57013
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57014
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57015
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57016
+ ShoppyCartus::Order Load (1.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57017
+ CACHE ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57018
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57019
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57020
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57021
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57022
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (26.5ms)
57023
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (3.0ms)
57024
+ Completed 200 OK in 129ms (Views: 115.5ms | ActiveRecord: 2.5ms)
57025
+
57026
+
57027
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57028
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57029
+ Filter chain halted as :authenticate_user! rendered or redirected
57030
+ Completed 302 Found in 90977ms (ActiveRecord: 4.5ms)
57031
+
57032
+
57033
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:39:40 +0300
57034
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57035
+ Processing by ShoppyCartus::OrdersController#index as HTML
57036
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57037
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57038
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57039
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57040
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57041
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57042
+ Completed 302 Found in 68ms (ActiveRecord: 6.7ms)
57043
+
57044
+
57045
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:39:41 +0300
57046
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57047
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57048
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57049
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57050
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57051
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57052
+ ShoppyCartus::OrderItem Exists (0.5ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57053
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57054
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57055
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (15.8ms)
57056
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57057
+ Completed 200 OK in 245ms (Views: 229.6ms | ActiveRecord: 2.9ms)
57058
+
57059
+
57060
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:39:53 +0300
57061
+ Processing by ShoppyCartus::OrdersController#index as HTML
57062
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57063
+ User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57064
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57065
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57066
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57067
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57068
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57069
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (11.5ms)
57070
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57071
+ Completed 200 OK in 129ms (Views: 49.8ms | ActiveRecord: 8.9ms)
57072
+
57073
+
57074
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 11:39:57 +0300
57075
+ Processing by ShoppyCartus::OrdersController#show as HTML
57076
+ Parameters: {"id"=>"11"}
57077
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57078
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57079
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57080
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57081
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57082
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57083
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57084
+ Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
57085
+
57086
+
57087
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:39:57 +0300
57088
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57089
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57090
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57091
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57092
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57093
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57094
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57095
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57096
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57097
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (12.3ms)
57098
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57099
+ Completed 200 OK in 72ms (Views: 48.7ms | ActiveRecord: 3.0ms)
57100
+
57101
+
57102
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 11:40:40 +0300
57103
+ Processing by ShoppyCartus::OrdersController#show as HTML
57104
+ Parameters: {"id"=>"11"}
57105
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57106
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57107
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57108
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57109
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57110
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57111
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57112
+ Completed 302 Found in 76ms (ActiveRecord: 8.4ms)
57113
+
57114
+
57115
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:40:40 +0300
57116
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57117
+ ShoppyCartus::Order Load (1.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57118
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57119
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57120
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57121
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57122
+ ShoppyCartus::OrderItem Exists (1.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57123
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57124
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57125
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (16.8ms)
57126
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57127
+ Completed 200 OK in 97ms (Views: 79.3ms | ActiveRecord: 4.8ms)
57128
+
57129
+
57130
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:40:42 +0300
57131
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57132
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57133
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57134
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57135
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57136
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57137
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57138
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57139
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57140
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (19.8ms)
57141
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.4ms)
57142
+ Completed 200 OK in 91ms (Views: 78.6ms | ActiveRecord: 1.8ms)
57143
+
57144
+
57145
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 11:40:52 +0300
57146
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57147
+ Processing by ShoppyCartus::OrdersController#show as HTML
57148
+ Parameters: {"id"=>"11"}
57149
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57150
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57151
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57152
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57153
+ ShoppyCartus::Order Load (1.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57154
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57155
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57156
+ Completed 302 Found in 102ms (ActiveRecord: 11.2ms)
57157
+
57158
+
57159
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:40:53 +0300
57160
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57161
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57162
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57163
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57164
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57165
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57166
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57167
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57168
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57169
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (24.4ms)
57170
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (2.0ms)
57171
+ Completed 200 OK in 343ms (Views: 290.9ms | ActiveRecord: 2.9ms)
57172
+
57173
+
57174
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 11:42:22 +0300
57175
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57176
+ Processing by ShoppyCartus::OrdersController#show as HTML
57177
+ Parameters: {"id"=>"11"}
57178
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57179
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57180
+ ShoppyCartus::Order Load (1.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57181
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57182
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57183
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57184
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57185
+ Completed 302 Found in 95ms (ActiveRecord: 9.9ms)
57186
+
57187
+
57188
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:42:22 +0300
57189
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57190
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57191
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57192
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57193
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57194
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57195
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57196
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57197
+ CACHE ShoppyCartus::OrderItem Exists (0.1ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57198
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (21.2ms)
57199
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (2.2ms)
57200
+ Completed 200 OK in 345ms (Views: 318.6ms | ActiveRecord: 2.8ms)
57201
+
57202
+
57203
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:43:50 +0300
57204
+ Processing by ShoppyCartus::OrdersController#index as HTML
57205
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57206
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57207
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57208
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57209
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57210
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57211
+ Completed 302 Found in 53ms (ActiveRecord: 5.8ms)
57212
+
57213
+
57214
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:43:50 +0300
57215
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57216
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57217
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57218
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57219
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57220
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57221
+ ShoppyCartus::OrderItem Exists (0.2ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57222
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57223
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57224
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (12.3ms)
57225
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57226
+ Completed 200 OK in 70ms (Views: 61.8ms | ActiveRecord: 1.8ms)
57227
+
57228
+
57229
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 11:43:54 +0300
57230
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57231
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57232
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57233
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57234
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57235
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57236
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57237
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57238
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57239
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (11.5ms)
57240
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57241
+ Completed 200 OK in 114ms (Views: 55.2ms | ActiveRecord: 6.0ms)
57242
+
57243
+
57244
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 11:43:57 +0300
57245
+ Processing by ShoppyCartus::OrdersController#index as HTML
57246
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57247
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57248
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57249
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57250
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57251
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57252
+ ShoppyCartus::Order Load (1.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57253
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (31.0ms)
57254
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (2.0ms)
57255
+ Completed 200 OK in 98ms (Views: 89.6ms | ActiveRecord: 2.3ms)
57256
+
57257
+
57258
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 11:44:08 +0300
57259
+ Processing by ShoppyCartus::OrdersController#show as HTML
57260
+ Parameters: {"id"=>"11"}
57261
+ ShoppyCartus::Order Load (1.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57262
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57263
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57264
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57265
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57266
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57267
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application
57268
+ ShoppyCartus::Address Load (45.1ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 [["addressable_id", 11], ["addressable_type", "ShoppyCartus::Order"]]
57269
+ ShoppyCartus::Delivery Load (7.2ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57270
+ ShoppyCartus::CreditCard Load (2.6ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57271
+ ShoppyCartus::OrderItem Load (0.9ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 11]]
57272
+ Book Load (9.6ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57273
+ ShoppyCartus::Coupon Load (21.9ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 11], ["LIMIT", 1]]
57274
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application (334.1ms)
57275
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (3.6ms)
57276
+ Completed 200 OK in 517ms (Views: 306.9ms | ActiveRecord: 128.0ms)
57277
+
57278
+
57279
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
57280
+ User Load (0.9ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
57281
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 LIMIT $2 [["user_id", 11], ["LIMIT", 11]]
57282
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 12:00:24 +0300
57283
+ Processing by ShoppyCartus::OrdersController#index as HTML
57284
+ ShoppyCartus::Order Load (0.8ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57285
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57286
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57287
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57288
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57289
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57290
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57291
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (9.7ms)
57292
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.8ms)
57293
+ Completed 200 OK in 125ms (Views: 56.1ms | ActiveRecord: 6.0ms)
57294
+
57295
+
57296
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 12:00:38 +0300
57297
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57298
+ Processing by ShoppyCartus::OrdersController#index as HTML
57299
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57300
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57301
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57302
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57303
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57304
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57305
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57306
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (18.1ms)
57307
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.1ms)
57308
+ Completed 200 OK in 339ms (Views: 264.5ms | ActiveRecord: 7.4ms)
57309
+
57310
+
57311
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 12:00:39 +0300
57312
+ Processing by ShoppyCartus::OrdersController#index as HTML
57313
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57314
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57315
+ ShoppyCartus::Order Load (0.9ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57316
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57317
+ CACHE ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57318
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57319
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57320
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (15.4ms)
57321
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (2.3ms)
57322
+ Completed 200 OK in 77ms (Views: 61.3ms | ActiveRecord: 2.5ms)
57323
+
57324
+
57325
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 12:00:40 +0300
57326
+ Processing by ShoppyCartus::OrdersController#index as HTML
57327
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57328
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57329
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57330
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57331
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57332
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57333
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57334
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (18.5ms)
57335
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57336
+ Completed 200 OK in 80ms (Views: 70.8ms | ActiveRecord: 1.7ms)
57337
+
57338
+
57339
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 12:01:20 +0300
57340
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57341
+ Processing by ShoppyCartus::OrdersController#show as HTML
57342
+ Parameters: {"id"=>"11"}
57343
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57344
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57345
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57346
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57347
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57348
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57349
+ Completed 302 Found in 66ms (ActiveRecord: 6.9ms)
57350
+
57351
+
57352
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 12:01:20 +0300
57353
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57354
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57355
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57356
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57357
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57358
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57359
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57360
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57361
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57362
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (13.7ms)
57363
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.1ms)
57364
+ Completed 200 OK in 273ms (Views: 255.6ms | ActiveRecord: 2.0ms)
57365
+
57366
+
57367
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 12:01:55 +0300
57368
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57369
+ Processing by ShoppyCartus::OrdersController#index as HTML
57370
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57371
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57372
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57373
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57374
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57375
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57376
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57377
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (11.7ms)
57378
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57379
+ Completed 200 OK in 300ms (Views: 228.7ms | ActiveRecord: 7.0ms)
57380
+
57381
+
57382
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 12:01:58 +0300
57383
+ Processing by ShoppyCartus::OrdersController#show as HTML
57384
+ Parameters: {"id"=>"11"}
57385
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57386
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57387
+ ShoppyCartus::Order Load (0.7ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57388
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57389
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57390
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57391
+ Completed 302 Found in 16ms (ActiveRecord: 1.7ms)
57392
+
57393
+
57394
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 12:01:58 +0300
57395
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57396
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57397
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57398
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57399
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57400
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57401
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57402
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57403
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57404
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (12.1ms)
57405
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.6ms)
57406
+ Completed 200 OK in 59ms (Views: 44.0ms | ActiveRecord: 2.8ms)
57407
+
57408
+
57409
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 14:53:12 +0300
57410
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57411
+ Processing by ShoppyCartus::OrdersController#index as HTML
57412
+ ShoppyCartus::Order Load (0.9ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57413
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57414
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57415
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57416
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57417
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57418
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57419
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (16.3ms)
57420
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57421
+ Completed 200 OK in 342ms (Views: 264.9ms | ActiveRecord: 7.7ms)
57422
+
57423
+
57424
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 14:53:20 +0300
57425
+ Processing by ShoppyCartus::OrdersController#show as HTML
57426
+ Parameters: {"id"=>"11"}
57427
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57428
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57429
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57430
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57431
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57432
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57433
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 14:54:20 +0300
57434
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57435
+ Completed 302 Found in 61620ms (ActiveRecord: 6.9ms)
57436
+
57437
+
57438
+ Processing by ShoppyCartus::OrdersController#show as HTML
57439
+ Parameters: {"id"=>"11"}
57440
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57441
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57442
+ ShoppyCartus::Order Load (0.8ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57443
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57444
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57445
+ ShoppyCartus::Order Load (0.8ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57446
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57447
+ Completed 302 Found in 1436ms (ActiveRecord: 8.3ms)
57448
+
57449
+
57450
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 14:54:23 +0300
57451
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57452
+ ShoppyCartus::Order Load (0.7ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57453
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57454
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57455
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57456
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57457
+ ShoppyCartus::OrderItem Exists (0.5ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57458
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57459
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57460
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (15.9ms)
57461
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (4.6ms)
57462
+ Completed 200 OK in 88ms (Views: 70.0ms | ActiveRecord: 3.6ms)
57463
+
57464
+
57465
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 14:54:46 +0300
57466
+ Processing by ShoppyCartus::OrdersController#index as HTML
57467
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57468
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57469
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57470
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57471
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57472
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57473
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57474
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (14.5ms)
57475
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57476
+ Completed 200 OK in 130ms (Views: 61.4ms | ActiveRecord: 7.8ms)
57477
+
57478
+
57479
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 14:54:49 +0300
57480
+ Processing by ShoppyCartus::OrdersController#show as HTML
57481
+ Parameters: {"id"=>"11"}
57482
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57483
+ User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57484
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57485
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57486
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57487
+ ShoppyCartus::Order Load (2.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57488
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application
57489
+ ShoppyCartus::Address Load (0.3ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 [["addressable_id", 11], ["addressable_type", "ShoppyCartus::Order"]]
57490
+ ShoppyCartus::Delivery Load (0.4ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57491
+ ShoppyCartus::CreditCard Load (0.3ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57492
+ ShoppyCartus::OrderItem Load (0.2ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 11]]
57493
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57494
+ ShoppyCartus::Coupon Load (0.6ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 11], ["LIMIT", 1]]
57495
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application (74.0ms)
57496
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57497
+ Completed 200 OK in 142ms (Views: 106.8ms | ActiveRecord: 16.2ms)
57498
+
57499
+
57500
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 14:54:58 +0300
57501
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57502
+ Processing by ShoppyCartus::OrdersController#show as HTML
57503
+ Parameters: {"id"=>"11"}
57504
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57505
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57506
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57507
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57508
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57509
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57510
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application
57511
+ ShoppyCartus::Address Load (0.4ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 [["addressable_id", 11], ["addressable_type", "ShoppyCartus::Order"]]
57512
+ ShoppyCartus::Delivery Load (0.3ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57513
+ ShoppyCartus::CreditCard Load (0.3ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57514
+ ShoppyCartus::OrderItem Load (0.3ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 11]]
57515
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57516
+ ShoppyCartus::Coupon Load (0.3ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 11], ["LIMIT", 1]]
57517
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application (117.3ms)
57518
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.1ms)
57519
+ Completed 200 OK in 416ms (Views: 330.1ms | ActiveRecord: 24.0ms)
57520
+
57521
+
57522
+ Started GET "/shoppy_cartus/orders/11" for 127.0.0.1 at 2018-04-14 14:56:28 +0300
57523
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57524
+ Processing by ShoppyCartus::OrdersController#show as HTML
57525
+ Parameters: {"id"=>"11"}
57526
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57527
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57528
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57529
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57530
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57531
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57532
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application
57533
+ ShoppyCartus::Address Load (0.3ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 [["addressable_id", 11], ["addressable_type", "ShoppyCartus::Order"]]
57534
+ ShoppyCartus::Delivery Load (0.2ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57535
+ ShoppyCartus::CreditCard Load (0.7ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57536
+ ShoppyCartus::OrderItem Load (0.2ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 11]]
57537
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57538
+ ShoppyCartus::Coupon Load (0.3ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 11], ["LIMIT", 1]]
57539
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/show.html.haml within layouts/shoppy_cartus/application (92.7ms)
57540
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57541
+ Completed 200 OK in 410ms (Views: 299.0ms | ActiveRecord: 21.6ms)
57542
+
57543
+
57544
+ User Load (0.7ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
57545
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 LIMIT $2 [["user_id", 11], ["LIMIT", 11]]
57546
+ Started GET "/shoppy_cartus/orders" for 127.0.0.1 at 2018-04-14 14:57:53 +0300
57547
+ Processing by ShoppyCartus::OrdersController#index as HTML
57548
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57549
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57550
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57551
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application
57552
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = $1 AND ("shoppy_cartus_orders"."state" != $2) [["user_id", 11], ["state", "filling"]]
57553
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/orders/index.html.haml within layouts/shoppy_cartus/application (24.0ms)
57554
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57555
+ Completed 200 OK in 139ms (Views: 99.4ms | ActiveRecord: 1.2ms)
57556
+
57557
+
57558
+ Started GET "/shoppy_cartus/" for 127.0.0.1 at 2018-04-14 14:57:54 +0300
57559
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57560
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57561
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57562
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57563
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57564
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57565
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57566
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (13.4ms)
57567
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.7ms)
57568
+ Completed 200 OK in 69ms (Views: 56.2ms | ActiveRecord: 3.3ms)
57569
+
57570
+
57571
+ Started GET "/shoppy_cartus/" for 127.0.0.1 at 2018-04-14 14:57:57 +0300
57572
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57573
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57574
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57575
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57576
+ ShoppyCartus::OrderItem Exists (0.5ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57577
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57578
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57579
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (39.8ms)
57580
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57581
+ Completed 200 OK in 110ms (Views: 101.7ms | ActiveRecord: 1.2ms)
57582
+
57583
+
57584
+ Started GET "/shoppy_cartus/" for 127.0.0.1 at 2018-04-14 14:58:58 +0300
57585
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57586
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57587
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57588
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57589
+ ShoppyCartus::OrderItem Exists (0.7ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57590
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57591
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57592
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (12.2ms)
57593
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.5ms)
57594
+ Completed 200 OK in 11504ms (Views: 72.6ms | ActiveRecord: 1.7ms)
57595
+
57596
+
57597
+ Book Load (0.3ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT $1 [["LIMIT", 1]]
57598
+  (0.1ms) BEGIN
57599
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57600
+ SQL (18.0ms) INSERT INTO "shoppy_cartus_order_items" ("price", "quantity", "product_id", "order_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["price", "10.0"], ["quantity", 1], ["product_id", 21], ["order_id", 108], ["created_at", "2018-04-14 12:00:20.807316"], ["updated_at", "2018-04-14 12:00:20.807316"]]
57601
+  (27.2ms) COMMIT
57602
+ Started GET "/shoppy_cartus/" for 127.0.0.1 at 2018-04-14 15:00:24 +0300
57603
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57604
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57605
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57606
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57607
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57608
+ ShoppyCartus::OrderItem Load (0.2ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57609
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57610
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57611
+ ShoppyCartus::Coupon Load (0.1ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57612
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (41.3ms)
57613
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57614
+ Completed 200 OK in 138ms (Views: 89.3ms | ActiveRecord: 1.4ms)
57615
+
57616
+
57617
+ Started POST "/shoppy_cartus/coupons" for 127.0.0.1 at 2018-04-14 15:00:29 +0300
57618
+ Processing by ShoppyCartus::CouponsController#create as HTML
57619
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ikAVPY/vccdu4kGyLeJssf8OiEO3BIXR6TFG+E4WdRiYS3Q+g23VWx6LdQbWzfzWbG7H3VavQxcZJ2o8aHQt0A==", "coupon"=>{"code"=>"test"}, "commit"=>"Apply Coupon"}
57620
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57621
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57622
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57623
+ ShoppyCartus::Coupon Load (62.6ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."code" = $1 LIMIT $2 [["code", "test"], ["LIMIT", 1]]
57624
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57625
+ Completed 302 Found in 82ms (ActiveRecord: 63.5ms)
57626
+
57627
+
57628
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 15:00:29 +0300
57629
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57630
+ ShoppyCartus::Order Load (0.7ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57631
+ User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57632
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57633
+ ShoppyCartus::OrderItem Exists (0.7ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57634
+ ShoppyCartus::OrderItem Load (0.5ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57635
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57636
+ Book Load (1.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57637
+ ShoppyCartus::Coupon Load (0.3ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57638
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (32.9ms)
57639
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57640
+ Completed 200 OK in 102ms (Views: 81.5ms | ActiveRecord: 4.7ms)
57641
+
57642
+
57643
+  (0.2ms) BEGIN
57644
+ SQL (22.4ms) INSERT INTO "shoppy_cartus_coupons" ("code", "sale") VALUES ($1, $2) RETURNING "id" [["code", "test1"], ["sale", "2.0"]]
57645
+  (15.9ms) COMMIT
57646
+ Started POST "/shoppy_cartus/coupons" for 127.0.0.1 at 2018-04-14 15:01:03 +0300
57647
+ Processing by ShoppyCartus::CouponsController#create as HTML
57648
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"IdKg+cS/mtbrkrEKLtWJbPlG6zH9oGw7IYw5aDU03Swz2cH6yD0+Spv7hb7V+hkLaiakrxwLqv3RmhWsE1aF5A==", "coupon"=>{"code"=>"test1"}, "commit"=>"Apply Coupon"}
57649
+ ShoppyCartus::Order Load (0.7ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57650
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57651
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57652
+ ShoppyCartus::Coupon Load (0.9ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."code" = $1 LIMIT $2 [["code", "test1"], ["LIMIT", 1]]
57653
+  (0.4ms) BEGIN
57654
+ ShoppyCartus::Coupon Load (0.7ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57655
+ SQL (0.7ms) UPDATE "shoppy_cartus_coupons" SET "order_id" = $1 WHERE "shoppy_cartus_coupons"."id" = $2 [["order_id", 108], ["id", 16]]
57656
+  (57.3ms) COMMIT
57657
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
57658
+ Completed 302 Found in 121ms (ActiveRecord: 68.5ms)
57659
+
57660
+
57661
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 15:01:03 +0300
57662
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
57663
+ ShoppyCartus::Order Load (0.7ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57664
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57665
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57666
+ ShoppyCartus::OrderItem Exists (0.8ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57667
+ ShoppyCartus::OrderItem Load (1.0ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57668
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
57669
+ Book Load (0.7ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57670
+ ShoppyCartus::Coupon Load (0.6ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57671
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (46.8ms)
57672
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.5ms)
57673
+ Completed 200 OK in 126ms (Views: 105.4ms | ActiveRecord: 4.3ms)
57674
+
57675
+
57676
+ Started GET "/shoppy_cartus/order_steps" for 127.0.0.1 at 2018-04-14 15:01:05 +0300
57677
+ Processing by ShoppyCartus::OrderStepsController#index as HTML
57678
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57679
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57680
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57681
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57682
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57683
+ ShoppyCartus::Address Load (0.9ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57684
+ ShoppyCartus::Address Load (0.5ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57685
+ ShoppyCartus::CreditCard Load (0.6ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57686
+ Redirected to http://localhost:3000/shoppy_cartus/order_steps/address
57687
+ Completed 302 Found in 129ms (ActiveRecord: 10.6ms)
57688
+
57689
+
57690
+ Started GET "/shoppy_cartus/order_steps/address" for 127.0.0.1 at 2018-04-14 15:01:05 +0300
57691
+ Processing by ShoppyCartus::OrderStepsController#show as HTML
57692
+ Parameters: {"id"=>"address"}
57693
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57694
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57695
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57696
+ ShoppyCartus::OrderItem Exists (0.2ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57697
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57698
+ ShoppyCartus::Address Load (0.2ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57699
+ ShoppyCartus::Address Load (0.2ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57700
+ ShoppyCartus::CreditCard Load (0.3ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57701
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/address.html.haml within layouts/shoppy_cartus/application
57702
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/_status.html.haml (5.3ms)
57703
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_address_form.html.haml (111.5ms)
57704
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_address_form.html.haml (16.6ms)
57705
+ ShoppyCartus::OrderItem Load (0.2ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57706
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57707
+ ShoppyCartus::Coupon Load (0.1ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57708
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/address.html.haml within layouts/shoppy_cartus/application (172.0ms)
57709
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57710
+ Completed 200 OK in 239ms (Views: 232.4ms | ActiveRecord: 1.7ms)
57711
+
57712
+
57713
+ Started PUT "/shoppy_cartus/order_steps/address" for 127.0.0.1 at 2018-04-14 15:01:09 +0300
57714
+ Processing by ShoppyCartus::OrderStepsController#update as HTML
57715
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"+Ek3Os+p5W0sNuprjEPHip2FJxX21JkOAzAAm1Fty0C7EX5VpO8NPfDgRy+ejaVdfgJAjikh9PLuot2NiBe0fg==", "billing_address"=>{"kind"=>"billing", "first_name"=>"", "last_name"=>"", "address"=>"", "city"=>"", "zip"=>"", "country"=>"", "phone"=>""}, "shipping_address"=>{"kind"=>"shipping", "first_name"=>"", "last_name"=>"", "address"=>"", "city"=>"", "zip"=>"", "country"=>"", "phone"=>""}, "use_billing"=>"true", "commit"=>"Save and Continue", "id"=>"address"}
57716
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57717
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57718
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57719
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57720
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57721
+ ShoppyCartus::Address Load (0.5ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57722
+ ShoppyCartus::Address Load (0.7ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57723
+ ShoppyCartus::CreditCard Load (0.3ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57724
+ Unpermitted parameters: :utf8, :_method, :authenticity_token, :commit, :id
57725
+  (0.1ms) BEGIN
57726
+ SQL (36.0ms) UPDATE "shoppy_cartus_orders" SET "use_billing" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["use_billing", "t"], ["updated_at", "2018-04-14 12:01:09.749117"], ["id", 108]]
57727
+  (25.4ms) COMMIT
57728
+ ShoppyCartus::Address Load (0.4ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57729
+  (0.1ms) BEGIN
57730
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57731
+  (0.1ms) COMMIT
57732
+ ShoppyCartus::Address Load (0.2ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57733
+  (0.1ms) BEGIN
57734
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57735
+  (0.1ms) COMMIT
57736
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/address.html.haml within layouts/shoppy_cartus/application
57737
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/_status.html.haml (6.8ms)
57738
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_address_form.html.haml (49.3ms)
57739
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_address_form.html.haml (21.9ms)
57740
+ ShoppyCartus::OrderItem Load (0.2ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57741
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57742
+ ShoppyCartus::Coupon Load (0.1ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57743
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/address.html.haml within layouts/shoppy_cartus/application (107.4ms)
57744
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57745
+ Completed 200 OK in 268ms (Views: 150.5ms | ActiveRecord: 66.8ms)
57746
+
57747
+
57748
+ Started PUT "/shoppy_cartus/order_steps/address" for 127.0.0.1 at 2018-04-14 15:01:15 +0300
57749
+ Processing by ShoppyCartus::OrderStepsController#update as HTML
57750
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"HtI/w462J8jqDvQnIwp1BPqM+T8/Y3/bSNkuinbKx0oM2V7AgjSDVJpnwJPYJeVjaey2od7IuR24zwJOUKifgg==", "billing_address"=>{"kind"=>"billing", "first_name"=>"admin", "last_name"=>"adminovicj", "address"=>"admi st.12", "city"=>"Admin cityq", "zip"=>"12332", "country"=>"AT", "phone"=>"01231532"}, "shipping_address"=>{"kind"=>"shipping", "first_name"=>"", "last_name"=>"", "address"=>"", "city"=>"", "zip"=>"", "country"=>"AT", "phone"=>""}, "use_billing"=>"true", "commit"=>"Save and Continue", "id"=>"address"}
57751
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57752
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57753
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57754
+ ShoppyCartus::OrderItem Exists (0.5ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57755
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57756
+ ShoppyCartus::Address Load (0.4ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57757
+ ShoppyCartus::Address Load (0.3ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57758
+ ShoppyCartus::CreditCard Load (0.2ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57759
+ Unpermitted parameters: :utf8, :_method, :authenticity_token, :commit, :id
57760
+  (0.1ms) BEGIN
57761
+  (0.1ms) COMMIT
57762
+ CACHE ShoppyCartus::Address Load (0.0ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57763
+  (0.1ms) BEGIN
57764
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57765
+ SQL (29.4ms) INSERT INTO "shoppy_cartus_addresses" ("first_name", "last_name", "address", "city", "zip", "country", "phone", "kind", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["first_name", "admin"], ["last_name", "adminovicj"], ["address", "admi st.12"], ["city", "Admin cityq"], ["zip", "12332"], ["country", "AT"], ["phone", "01231532"], ["kind", 0], ["addressable_type", "ShoppyCartus::Order"], ["addressable_id", 108], ["created_at", "2018-04-14 12:01:15.767815"], ["updated_at", "2018-04-14 12:01:15.767815"]]
57766
+  (24.2ms) COMMIT
57767
+ ShoppyCartus::Address Load (0.3ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57768
+  (0.1ms) BEGIN
57769
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57770
+ SQL (0.2ms) INSERT INTO "shoppy_cartus_addresses" ("first_name", "last_name", "address", "city", "zip", "country", "phone", "kind", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["first_name", "admin"], ["last_name", "adminovicj"], ["address", "admi st.12"], ["city", "Admin cityq"], ["zip", "12332"], ["country", "AT"], ["phone", "01231532"], ["kind", 1], ["addressable_type", "ShoppyCartus::Order"], ["addressable_id", 108], ["created_at", "2018-04-14 12:01:15.826185"], ["updated_at", "2018-04-14 12:01:15.826185"]]
57771
+  (70.4ms) COMMIT
57772
+ Redirected to http://localhost:3000/shoppy_cartus/order_steps/delivery
57773
+ Completed 302 Found in 152ms (ActiveRecord: 127.1ms)
57774
+
57775
+
57776
+ Started GET "/shoppy_cartus/order_steps/delivery" for 127.0.0.1 at 2018-04-14 15:01:15 +0300
57777
+ Processing by ShoppyCartus::OrderStepsController#show as HTML
57778
+ Parameters: {"id"=>"delivery"}
57779
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57780
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57781
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57782
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57783
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57784
+ ShoppyCartus::Address Load (1.2ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57785
+ ShoppyCartus::Address Load (0.3ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57786
+ ShoppyCartus::CreditCard Load (0.2ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57787
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57788
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57789
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/delivery.html.haml within layouts/shoppy_cartus/application
57790
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/_status.html.haml (2.9ms)
57791
+ ShoppyCartus::Delivery Load (20.2ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."active" = $1 [["active", "t"]]
57792
+ ShoppyCartus::OrderItem Load (0.3ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57793
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57794
+ ShoppyCartus::Coupon Load (0.3ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57795
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/delivery.html.haml within layouts/shoppy_cartus/application (74.0ms)
57796
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.4ms)
57797
+ Completed 200 OK in 175ms (Views: 133.6ms | ActiveRecord: 26.5ms)
57798
+
57799
+
57800
+ Started PUT "/shoppy_cartus/order_steps/delivery" for 127.0.0.1 at 2018-04-14 15:01:24 +0300
57801
+ Processing by ShoppyCartus::OrderStepsController#update as HTML
57802
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LolqdwbVNuNptUXF+Z9yRqeM4OO2Bb2HxkVUgBzBqTw8ggt0CleSfxnccXECsOIhNOyvfVeue0E2U3hEOqPx9A==", "delivery"=>"11", "commit"=>"Save and Continue", "id"=>"delivery"}
57803
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57804
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57805
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57806
+ ShoppyCartus::OrderItem Exists (0.2ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57807
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57808
+ ShoppyCartus::Address Load (1.5ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57809
+ ShoppyCartus::Address Load (0.3ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57810
+ ShoppyCartus::CreditCard Load (0.4ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57811
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57812
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57813
+ Unpermitted parameters: :utf8, :_method, :authenticity_token, :commit, :id
57814
+  (0.1ms) BEGIN
57815
+ SQL (0.3ms) UPDATE "shoppy_cartus_orders" SET "delivery_id" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["delivery_id", 11], ["updated_at", "2018-04-14 12:01:24.154042"], ["id", 108]]
57816
+  (23.3ms) COMMIT
57817
+ Redirected to http://localhost:3000/shoppy_cartus/order_steps/payment
57818
+ Completed 302 Found in 42ms (ActiveRecord: 26.5ms)
57819
+
57820
+
57821
+ Started GET "/shoppy_cartus/order_steps/payment" for 127.0.0.1 at 2018-04-14 15:01:24 +0300
57822
+ Processing by ShoppyCartus::OrderStepsController#show as HTML
57823
+ Parameters: {"id"=>"payment"}
57824
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57825
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57826
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57827
+ ShoppyCartus::OrderItem Exists (0.5ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57828
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57829
+ ShoppyCartus::Address Load (0.7ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57830
+ ShoppyCartus::Address Load (0.6ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57831
+ ShoppyCartus::CreditCard Load (0.6ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57832
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57833
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57834
+ ShoppyCartus::Delivery Load (0.3ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57835
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/payment.html.haml within layouts/shoppy_cartus/application
57836
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/_status.html.haml (5.3ms)
57837
+ ShoppyCartus::OrderItem Load (0.5ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57838
+ Book Load (0.6ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57839
+ ShoppyCartus::Coupon Load (0.4ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57840
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/payment.html.haml within layouts/shoppy_cartus/application (35.6ms)
57841
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57842
+ Completed 200 OK in 108ms (Views: 82.2ms | ActiveRecord: 5.2ms)
57843
+
57844
+
57845
+ Started PUT "/shoppy_cartus/order_steps/payment" for 127.0.0.1 at 2018-04-14 15:01:27 +0300
57846
+ Processing by ShoppyCartus::OrderStepsController#update as HTML
57847
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DWcI2K7JYi7N2mml+WIIwm01wVU50Py3q7x12IUKNUUfbGnbokvGsr2zXRECTZil/lWOy9h7OnFbqlkco2htjQ==", "credit_card"=>{"number"=>"1234123412341234", "card_name"=>"universe", "expiration_date"=>"12/12", "cvv"=>"123"}, "commit"=>"Save and Continue", "id"=>"payment"}
57848
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57849
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57850
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57851
+ ShoppyCartus::OrderItem Exists (1.1ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57852
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57853
+ ShoppyCartus::Address Load (0.4ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57854
+ ShoppyCartus::Address Load (0.4ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57855
+ ShoppyCartus::CreditCard Load (0.3ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."user_id" = $1 ORDER BY "shoppy_cartus_credit_cards"."id" DESC LIMIT $2 [["user_id", 11], ["LIMIT", 1]]
57856
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57857
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57858
+ ShoppyCartus::Delivery Load (0.1ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57859
+ Unpermitted parameters: :utf8, :_method, :authenticity_token, :commit, :id
57860
+  (0.1ms) BEGIN
57861
+  (0.1ms) COMMIT
57862
+  (0.1ms) BEGIN
57863
+ SQL (0.2ms) UPDATE "shoppy_cartus_orders" SET "credit_card_id" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["credit_card_id", 11], ["updated_at", "2018-04-14 12:01:27.489366"], ["id", 108]]
57864
+  (21.6ms) COMMIT
57865
+ Redirected to http://localhost:3000/shoppy_cartus/order_steps/confirm
57866
+ Completed 302 Found in 43ms (ActiveRecord: 24.9ms)
57867
+
57868
+
57869
+ Started GET "/shoppy_cartus/order_steps/confirm" for 127.0.0.1 at 2018-04-14 15:01:27 +0300
57870
+ Processing by ShoppyCartus::OrderStepsController#show as HTML
57871
+ Parameters: {"id"=>"confirm"}
57872
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57873
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57874
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57875
+ ShoppyCartus::OrderItem Exists (0.4ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57876
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57877
+ ShoppyCartus::Address Load (0.6ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57878
+ ShoppyCartus::Address Load (0.4ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57879
+ ShoppyCartus::CreditCard Load (0.3ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57880
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57881
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57882
+ ShoppyCartus::Delivery Load (0.4ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57883
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57884
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/confirm.html.haml within layouts/shoppy_cartus/application
57885
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/_status.html.haml (2.2ms)
57886
+ ShoppyCartus::Address Load (0.2ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"]]
57887
+ ShoppyCartus::OrderItem Load (0.3ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57888
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57889
+ ShoppyCartus::Coupon Load (0.1ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57890
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/confirm.html.haml within layouts/shoppy_cartus/application (20.5ms)
57891
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.3ms)
57892
+ Completed 200 OK in 97ms (Views: 75.6ms | ActiveRecord: 3.5ms)
57893
+
57894
+
57895
+ Started PUT "/shoppy_cartus/order_steps/confirm" for 127.0.0.1 at 2018-04-14 15:01:29 +0300
57896
+ Processing by ShoppyCartus::OrderStepsController#update as HTML
57897
+ Parameters: {"authenticity_token"=>"gimjrQai8aKiAGXw+4lR3TNZh87iOEJjG0etrv0sFECQIsKuCiBVPtJpUUQApsG6oDnIUAOThKXrUYFq205MiA==", "id"=>"confirm"}
57898
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57899
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57900
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57901
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57902
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57903
+ ShoppyCartus::Address Load (0.3ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57904
+ ShoppyCartus::Address Load (0.2ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57905
+ ShoppyCartus::CreditCard Load (0.5ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57906
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57907
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57908
+ ShoppyCartus::Delivery Load (0.2ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57909
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57910
+ Unpermitted parameters: :_method, :authenticity_token, :id
57911
+ ShoppyCartus::OrderItem Load (0.2ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57912
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57913
+ ShoppyCartus::Coupon Load (0.1ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57914
+  (0.1ms) BEGIN
57915
+ SQL (0.2ms) UPDATE "shoppy_cartus_orders" SET "total_price" = $1, "confirmation_token" = $2, "track_number" = $3, "updated_at" = $4 WHERE "shoppy_cartus_orders"."id" = $5 [["total_price", "51.0"], ["confirmation_token", "67580d915c7d16e970e2d7ef0170bd51"], ["track_number", "R140418150129"], ["updated_at", "2018-04-14 12:01:29.768950"], ["id", 108]]
57916
+  (30.6ms) COMMIT
57917
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_mailer/confirm_order.html.haml within layouts/mailer
57918
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_mailer/confirm_order.html.haml within layouts/mailer (3.7ms)
57919
+ ShoppyCartus::OrderMailer#confirm_order: processed outbound mail in 410.7ms
57920
+ Sent mail to test@test.com (16.9ms)
57921
+ Date: Sat, 14 Apr 2018 15:01:30 +0300
57922
+ From: from@example.com
57923
+ To: test@test.com
57924
+ Message-ID: <5ad1ed9ac123e_3c513663b7428d8@dima-Inspiron-5567.mail>
57925
+ Subject: Confirm your order
57926
+ Mime-Version: 1.0
57927
+ Content-Type: text/html;
57928
+ charset=UTF-8
57929
+ Content-Transfer-Encoding: 7bit
57930
+
57931
+ <!DOCTYPE html>
57932
+ <html>
57933
+ <head>
57934
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
57935
+ <style>
57936
+ /* Email styles need to be inline */
57937
+ </style>
57938
+ </head>
57939
+
57940
+ <body>
57941
+ <h1>Confirm your order</h1>
57942
+ <p>
57943
+ To confirm your order, just follow this link:
57944
+ <a href="http://localhost:3000/shoppy_cartus/orders/108/confirm/67580d915c7d16e970e2d7ef0170bd51">Confirm order</a>
57945
+ </p>
57946
+ <p>Have a great day!</p>
57947
+
57948
+ </body>
57949
+ </html>
57950
+
57951
+  (0.4ms) BEGIN
57952
+ SQL (0.3ms) UPDATE "shoppy_cartus_orders" SET "state" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["state", "in_confirmation"], ["updated_at", "2018-04-14 12:01:30.796891"], ["id", 108]]
57953
+  (13.9ms) COMMIT
57954
+ Redirected to http://localhost:3000/shoppy_cartus/order_steps/complete
57955
+ Completed 302 Found in 1062ms (ActiveRecord: 47.9ms)
57956
+
57957
+
57958
+ Started GET "/shoppy_cartus/order_steps/complete" for 127.0.0.1 at 2018-04-14 15:01:30 +0300
57959
+ Processing by ShoppyCartus::OrderStepsController#show as HTML
57960
+ Parameters: {"id"=>"complete"}
57961
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57962
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57963
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57964
+ ShoppyCartus::OrderItem Exists (0.6ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = 108 LIMIT $1 [["LIMIT", 1]]
57965
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57966
+ ShoppyCartus::Address Load (0.6ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 0], ["LIMIT", 1]]
57967
+ ShoppyCartus::Address Load (1.2ms) SELECT "shoppy_cartus_addresses".* FROM "shoppy_cartus_addresses" WHERE "shoppy_cartus_addresses"."addressable_id" = $1 AND "shoppy_cartus_addresses"."addressable_type" = $2 AND "shoppy_cartus_addresses"."kind" = $3 LIMIT $4 [["addressable_id", 108], ["addressable_type", "ShoppyCartus::Order"], ["kind", 1], ["LIMIT", 1]]
57968
+ ShoppyCartus::CreditCard Load (0.3ms) SELECT "shoppy_cartus_credit_cards".* FROM "shoppy_cartus_credit_cards" WHERE "shoppy_cartus_credit_cards"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57969
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57970
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57971
+ ShoppyCartus::Delivery Load (0.2ms) SELECT "shoppy_cartus_deliveries".* FROM "shoppy_cartus_deliveries" WHERE "shoppy_cartus_deliveries"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57972
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57973
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/complete.html.haml within layouts/shoppy_cartus/application
57974
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/_status.html.haml (2.5ms)
57975
+ ShoppyCartus::OrderItem Load (0.7ms) SELECT "shoppy_cartus_order_items".* FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 [["order_id", 108]]
57976
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]]
57977
+ ShoppyCartus::Coupon Load (1.2ms) SELECT "shoppy_cartus_coupons".* FROM "shoppy_cartus_coupons" WHERE "shoppy_cartus_coupons"."order_id" = $1 LIMIT $2 [["order_id", 108], ["LIMIT", 1]]
57978
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_steps/complete.html.haml within layouts/shoppy_cartus/application (24.1ms)
57979
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.2ms)
57980
+ Completed 200 OK in 113ms (Views: 83.9ms | ActiveRecord: 5.9ms)
57981
+
57982
+
57983
+ Started GET "/shoppy_cartus/orders/108/confirm/67580d915c7d16e970e2d7ef0170bd51" for 127.0.0.1 at 2018-04-14 15:01:39 +0300
57984
+ Processing by ShoppyCartus::OrdersController#confirm as HTML
57985
+ Parameters: {"order_id"=>"108", "token"=>"67580d915c7d16e970e2d7ef0170bd51"}
57986
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
57987
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
57988
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
57989
+  (0.1ms) BEGIN
57990
+ SQL (24.6ms) INSERT INTO "shoppy_cartus_orders" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 11], ["created_at", "2018-04-14 12:01:39.224178"], ["updated_at", "2018-04-14 12:01:39.224178"]]
57991
+  (16.4ms) COMMIT
57992
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 195], ["LIMIT", 1]]
57993
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
57994
+  (0.1ms) BEGIN
57995
+ SQL (0.5ms) UPDATE "shoppy_cartus_orders" SET "state" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["state", "in_processing"], ["updated_at", "2018-04-14 12:01:39.274909"], ["id", 108]]
57996
+  (45.8ms) COMMIT
57997
+ Completed 500 Internal Server Error in 133ms (ActiveRecord: 89.7ms)
57998
+
57999
+
58000
+
58001
+ NoMethodError (undefined method `root_path' for #<ActionDispatch::Routing::RoutesProxy:0x00007f0cfb3fc898>):
58002
+
58003
+ actionpack (5.1.6) lib/action_dispatch/routing/routes_proxy.rb:47:in `method_missing'
58004
+ /var/www/ruby/shoppy_cartus/app/controllers/shoppy_cartus/orders_controller.rb:23:in `confirm'
58005
+ actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
58006
+ actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action'
58007
+ actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
58008
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
58009
+ activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks'
58010
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
58011
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
58012
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
58013
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
58014
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
58015
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
58016
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
58017
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
58018
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
58019
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
58020
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
58021
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
58022
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
58023
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
58024
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
58025
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
58026
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
58027
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
58028
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
58029
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
58030
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
58031
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
58032
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
58033
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
58034
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
58035
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
58036
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
58037
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
58038
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
58039
+ rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
58040
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
58041
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
58042
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
58043
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
58044
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
58045
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
58046
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
58047
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
58048
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
58049
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
58050
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
58051
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
58052
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
58053
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
58054
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
58055
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
58056
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
58057
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
58058
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
58059
+ request_store (1.4.1) lib/request_store/middleware.rb:19:in `call'
58060
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
58061
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
58062
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
58063
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
58064
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
58065
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
58066
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
58067
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
58068
+ rack (2.0.4) lib/rack/handler/webrick.rb:86:in `service'
58069
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
58070
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
58071
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
58072
+ Started GET "/shoppy_cartus/orders/108/confirm/67580d915c7d16e970e2d7ef0170bd51" for 127.0.0.1 at 2018-04-14 15:02:46 +0300
58073
+ Processing by ShoppyCartus::OrdersController#confirm as HTML
58074
+ Parameters: {"order_id"=>"108", "token"=>"67580d915c7d16e970e2d7ef0170bd51"}
58075
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58076
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
58077
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58078
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58079
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58080
+ ShoppyCartus::Order Load (0.6ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
58081
+ Completed 500 Internal Server Error in 50ms (ActiveRecord: 1.5ms)
58082
+
58083
+
58084
+
58085
+ AASM::InvalidTransition (Event 'process' cannot transition from 'in_processing'. ):
58086
+
58087
+ aasm (4.12.3) lib/aasm/aasm.rb:199:in `aasm_failed'
58088
+ aasm (4.12.3) lib/aasm/aasm.rb:127:in `aasm_fire_event'
58089
+ aasm (4.12.3) lib/aasm/persistence/orm.rb:144:in `aasm_fire_event'
58090
+ aasm (4.12.3) lib/aasm/base.rb:134:in `block in event'
58091
+ /var/www/ruby/shoppy_cartus/app/controllers/shoppy_cartus/orders_controller.rb:21:in `confirm'
58092
+ actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
58093
+ actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action'
58094
+ actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
58095
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
58096
+ activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks'
58097
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
58098
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
58099
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
58100
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
58101
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
58102
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
58103
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
58104
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
58105
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
58106
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
58107
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
58108
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
58109
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
58110
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
58111
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
58112
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
58113
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
58114
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
58115
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
58116
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
58117
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
58118
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
58119
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
58120
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
58121
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
58122
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
58123
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
58124
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
58125
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
58126
+ rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
58127
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
58128
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
58129
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
58130
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
58131
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
58132
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
58133
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
58134
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
58135
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
58136
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
58137
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
58138
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
58139
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
58140
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
58141
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
58142
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
58143
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
58144
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
58145
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
58146
+ request_store (1.4.1) lib/request_store/middleware.rb:19:in `call'
58147
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
58148
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
58149
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
58150
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
58151
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
58152
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
58153
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
58154
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
58155
+ rack (2.0.4) lib/rack/handler/webrick.rb:86:in `service'
58156
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
58157
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
58158
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
58159
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
58160
+ ShoppyCartus::Order Load (0.5ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
58161
+  (0.1ms) BEGIN
58162
+ SQL (0.4ms) UPDATE "shoppy_cartus_orders" SET "state" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["state", "filling"], ["updated_at", "2018-04-14 12:03:35.654586"], ["id", 108]]
58163
+  (24.0ms) COMMIT
58164
+ Started GET "/shoppy_cartus/orders/108/confirm/67580d915c7d16e970e2d7ef0170bd51" for 127.0.0.1 at 2018-04-14 15:03:39 +0300
58165
+ Processing by ShoppyCartus::OrdersController#confirm as HTML
58166
+ Parameters: {"order_id"=>"108", "token"=>"67580d915c7d16e970e2d7ef0170bd51"}
58167
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58168
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
58169
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58170
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58171
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58172
+ ShoppyCartus::Order Load (0.1ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
58173
+ Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.2ms)
58174
+
58175
+
58176
+
58177
+ AASM::InvalidTransition (Event 'process' cannot transition from 'filling'. ):
58178
+
58179
+ aasm (4.12.3) lib/aasm/aasm.rb:199:in `aasm_failed'
58180
+ aasm (4.12.3) lib/aasm/aasm.rb:127:in `aasm_fire_event'
58181
+ aasm (4.12.3) lib/aasm/persistence/orm.rb:144:in `aasm_fire_event'
58182
+ aasm (4.12.3) lib/aasm/base.rb:134:in `block in event'
58183
+ /var/www/ruby/shoppy_cartus/app/controllers/shoppy_cartus/orders_controller.rb:21:in `confirm'
58184
+ actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
58185
+ actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action'
58186
+ actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
58187
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
58188
+ activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks'
58189
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
58190
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
58191
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
58192
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
58193
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
58194
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
58195
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
58196
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
58197
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
58198
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
58199
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
58200
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
58201
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
58202
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
58203
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
58204
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
58205
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
58206
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
58207
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
58208
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
58209
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
58210
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
58211
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
58212
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
58213
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
58214
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
58215
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
58216
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
58217
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
58218
+ rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
58219
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
58220
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
58221
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
58222
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
58223
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
58224
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
58225
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
58226
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
58227
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
58228
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
58229
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
58230
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
58231
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
58232
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
58233
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
58234
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
58235
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
58236
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
58237
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
58238
+ request_store (1.4.1) lib/request_store/middleware.rb:19:in `call'
58239
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
58240
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
58241
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
58242
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
58243
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
58244
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
58245
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
58246
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
58247
+ rack (2.0.4) lib/rack/handler/webrick.rb:86:in `service'
58248
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
58249
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
58250
+ /home/dima/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
58251
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
58252
+  (0.2ms) BEGIN
58253
+ SQL (0.3ms) UPDATE "shoppy_cartus_orders" SET "state" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["state", "in_confirmation"], ["updated_at", "2018-04-14 12:04:11.231155"], ["id", 108]]
58254
+  (15.5ms) COMMIT
58255
+ Started GET "/shoppy_cartus/orders/108/confirm/67580d915c7d16e970e2d7ef0170bd51" for 127.0.0.1 at 2018-04-14 15:05:26 +0300
58256
+ Processing by ShoppyCartus::OrdersController#confirm as HTML
58257
+ Parameters: {"order_id"=>"108", "token"=>"67580d915c7d16e970e2d7ef0170bd51"}
58258
+ ShoppyCartus::Order Load (0.4ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58259
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
58260
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58261
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58262
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58263
+ ShoppyCartus::Order Load (0.2ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
58264
+  (0.1ms) BEGIN
58265
+ SQL (0.4ms) UPDATE "shoppy_cartus_orders" SET "state" = $1, "updated_at" = $2 WHERE "shoppy_cartus_orders"."id" = $3 [["state", "in_processing"], ["updated_at", "2018-04-14 12:05:26.371375"], ["id", 108]]
58266
+  (9.8ms) COMMIT
58267
+ Redirected to http://localhost:3000/shoppy_cartus/order_items
58268
+ Completed 302 Found in 21ms (ActiveRecord: 11.4ms)
58269
+
58270
+
58271
+ Started GET "/shoppy_cartus/order_items" for 127.0.0.1 at 2018-04-14 15:05:26 +0300
58272
+ Processing by ShoppyCartus::OrderItemsController#index as HTML
58273
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58274
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]]
58275
+ ShoppyCartus::Order Load (0.3ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58276
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."id" IS NULL LIMIT $1 [["LIMIT", 1]]
58277
+ CACHE ShoppyCartus::Order Load (0.0ms) SELECT "shoppy_cartus_orders".* FROM "shoppy_cartus_orders" WHERE "shoppy_cartus_orders"."user_id" = 11 AND "shoppy_cartus_orders"."state" = $1 LIMIT $2 [["state", "filling"], ["LIMIT", 1]]
58278
+ ShoppyCartus::OrderItem Exists (0.3ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 195], ["LIMIT", 1]]
58279
+ Rendering /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application
58280
+ CACHE ShoppyCartus::OrderItem Exists (0.0ms) SELECT 1 AS one FROM "shoppy_cartus_order_items" WHERE "shoppy_cartus_order_items"."order_id" = $1 LIMIT $2 [["order_id", 195], ["LIMIT", 1]]
58281
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/order_items/index.html.haml within layouts/shoppy_cartus/application (11.3ms)
58282
+ Rendered /var/www/ruby/shoppy_cartus/app/views/shoppy_cartus/partials/_flash_messages.html.haml (1.5ms)
58283
+ Completed 200 OK in 59ms (Views: 49.1ms | ActiveRecord: 2.0ms)
58284
+
58285
+