token_field 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +142 -84
  3. data/Rakefile +11 -19
  4. data/lib/token_field/capybara/dsl.rb +2 -1
  5. data/lib/token_field/engine.rb +0 -4
  6. data/lib/token_field/form_builder.rb +18 -20
  7. data/lib/token_field/simple_form/token_input.rb +9 -2
  8. data/lib/token_field/version.rb +1 -1
  9. data/spec/dummy/app/controllers/categories_controller.rb +13 -4
  10. data/spec/dummy/app/controllers/items_controller.rb +8 -2
  11. data/spec/dummy/app/controllers/products_controller.rb +8 -2
  12. data/spec/dummy/app/models/category.rb +2 -3
  13. data/spec/dummy/app/models/item.rb +0 -2
  14. data/spec/dummy/app/models/product.rb +0 -1
  15. data/spec/dummy/app/models/product_has_category.rb +0 -2
  16. data/spec/dummy/config/application.rb +2 -6
  17. data/spec/dummy/config/boot.rb +1 -1
  18. data/spec/dummy/config/environments/development.rb +3 -7
  19. data/spec/dummy/config/environments/production.rb +4 -5
  20. data/spec/dummy/config/environments/test.rb +4 -4
  21. data/spec/dummy/config/initializers/strong_parameters.rb +5 -0
  22. data/spec/dummy/db/test.sqlite3 +0 -0
  23. data/spec/dummy/log/development.log +1084 -0
  24. data/spec/dummy/log/test.log +33351 -0
  25. data/spec/dummy/tmp/cache/assets/C4F/BA0/sprockets%2F5b842030b744954247b274d6b0d93f82 +0 -0
  26. data/spec/dummy/tmp/cache/assets/C50/830/sprockets%2Fc2b655a6a30432b76933792e517f5291 +0 -0
  27. data/spec/dummy/tmp/cache/assets/C68/F70/sprockets%2F03000591510dc6784ee531c103e66a7a +0 -0
  28. data/spec/dummy/tmp/cache/assets/C82/490/sprockets%2F2cea86012965b76f28b56b4522099f12 +0 -0
  29. data/spec/dummy/tmp/cache/assets/CCB/5D0/sprockets%2F2b021b5261218f4183021778bade6ddd +0 -0
  30. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  31. data/spec/dummy/tmp/cache/assets/CE1/B10/sprockets%2Fdced6804c57d3153294a01249ef867d0 +0 -0
  32. data/spec/dummy/tmp/cache/assets/CE4/CC0/sprockets%2F8c39c0da3443b6824828ee0e2297f2e3 +0 -0
  33. data/spec/dummy/tmp/cache/assets/D0F/700/sprockets%2Fb728373cb12011fa141dfc9a8386ef89 +0 -0
  34. data/spec/dummy/tmp/cache/assets/D10/FF0/sprockets%2F47a90636516eb46fc041d91c9be84b0f +0 -0
  35. data/spec/dummy/tmp/cache/assets/D2B/9F0/sprockets%2F573dcce95926d7e95dc3e7486716e41d +0 -0
  36. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D3E/1E0/sprockets%2Fd3e4a0e0e469d4f2099f2991fc52bd10 +0 -0
  38. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  39. data/spec/dummy/tmp/cache/assets/D56/E40/sprockets%2F55ac91700fc21cbc019fea2d206a16c8 +0 -0
  40. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  41. data/spec/dummy/tmp/cache/assets/D7F/9E0/sprockets%2Fd984f45a60778c3cf14f1df92b0d9e6d +0 -0
  42. data/spec/dummy/tmp/cache/assets/DA5/100/sprockets%2F7d657d1d3bce59d08ee0cf74f16086ba +0 -0
  43. data/spec/dummy/tmp/cache/assets/DAC/370/sprockets%2F03a081dc7732cd2c4cbb10a57caa43ec +0 -0
  44. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  45. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  46. data/spec/dummy/tmp/cache/assets/E08/1C0/sprockets%2F686aa3aefb69a744730f9dfebc0d4c9e +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2rD-NbfxL41ovM9Xofx6JQnSfJ1YMdzIYmeSGzqgjMk.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/32VeAROUnaUkDhGuqKLXloInm3fe9_fjTbooXOx57XM.cache +2 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3DagTfgMVVb9JxBG4iLcliCa_kH0l9M0SAhzNCCBfQQ.cache +1 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/48sb06ouBRT3bY-BupXDnd5qXrQrJYYYbAXkTBuI0a8.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6JDNR9zD4DtjzFf1hyPiiEon9u_4q-kv2hKkbSTOKoY.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8ULBNlT8C1Gc_sDisSvQ-cQOaOTmLgEyaB8uM_W6WoI.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/A3QwKX3xKGHDk5tMn8k9HI6cyc18PVR9gvMxTQOb1tw.cache +1 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Ag-9zUKUAUzhaNKuJhbaGtA_BfsCD3h7HW9F4G3AYi0.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/B5fzn4fNu7aOnX-IAVTHav_uDU0JusddQ-66VHDOGeg.cache +2 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CWvkNWfDB2V38zgTquIZJL8Qe5lp6vIOTe0_z8Xl3Q4.cache +1 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FYBkOwqnWjX-yaysXWh-8IkF6LTmhwYOrDYeeLZ3dlk.cache +1 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JNp79x7ZpgHwaunFoF4dv1sGIguB6wRd_6RQcnmz8kY.cache +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Jx6P6ixJ_j1uk3Mj1icIc2tQT073xzCvTOBu2q8m-Sc.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KaajLDBcc-77MXLcThHHyjT1-4IPpcPOLAxDIsFxjXs.cache +2 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Lzl9vE-V9xIya_3axcQHEWd3YNq2Tf3koCy3y_9o_yw.cache +1 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OYgl4AqQ-q2VErerOAM-WigjIi7rpYZ3MIxuFIgTmF4.cache +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QsXmO1yQTZpNDvaQmVHJhkzFQN0bM_28ON1GzOZgWec.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UlxRCT-rTDSEhDN3bfyQBAXSFrQWp2mlKCAS2HETcIY.cache +1 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W6sszOgRxSPAvmmgpsGDb-u0a5nk32xyj0W2gqOhd3U.cache +1 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Zkt3DLZYJaicRAFL-gICpW-tE8alGfVTEhe4OmjBd3A.cache +1 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/aAnvmFAGZ3EbIQ5RM4YXGC2n0HP0ybnC_hGd0UibKbw.cache +2 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/be--I6jKQ0Nsi2htKCIeLqZBsqeaikSH8RLYEi-8llw.cache +2 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dmWSoZsO41NE0U2TnvucsI2YyZKB8o-jPThRqMEJMsg.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/goT7oX_iTMYkLM8D6LO1Mj46F1lISf0rJuMJY5znOuk.cache +2 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/h75lgYw3sFnumOyzgDrK-WX10Th4yBYJqCXBwGj0GA8.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hRrID95UB4TJT_Z-tKyRJ5jYrSctS4WbIBZkhvsNOo4.cache +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/j42cv3HfgjE2xpgLWPrunf0JpnhuKPU0clTz23NaJ6k.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kIfchbDHQ-q7DjXik59-hTJYMz_O29qF1HBFlVtGAA4.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/meuB_4gO5MG7zPbC47L7yqCtIqklHCfG3fi7Lo_t-2o.cache +1 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nXwLVMSlsDyxT8qBnI-l7x3NuzvPWEvgzojgTq7jBlU.cache +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qNUdz8c1b-Cgrs8NvON97j03sHMBVU303Px6rDpiD9A.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sL_zwz1wD0XfLf6_S6xDQ-YYWy-siUXYn-WqDXTr-5Q.cache +1 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sqQDYCJgpbWaWVr_MSpR67txLpocCgsxgPlY3bfe78A.cache +2 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ttSzee3NzEUw4fJR-DaDHgNxB9C5v-_P7DU-5q0nWzQ.cache +2 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/v_r4UTYyOGjrLPeuR9ijVULXPblSQMoj2RQxKELv7II.cache +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wgWNzf34hNQnH2QVgzgiToG1jjRb_EOggi4OynuhCxI.cache +2 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2PMsEYFiByU7O0WmCBT5MwPvBGqqwjTp4cPl0H5nhxM.cache +1 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2UxrjR9247T7qS95VDzg3c5sSbIiryheK5DziZR-ELk.cache +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/32VeAROUnaUkDhGuqKLXloInm3fe9_fjTbooXOx57XM.cache +2 -0
  86. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/3mg5tYlAiRxcpn2BaYYF1ROG4QCC0zz8Ez9HwzO3seA.cache +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/43Set6DYc8L9p5CNe35jGApTwPdGroBNxx8awVyt34I.cache +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4aPukUfFkHfe-7F4cKKjqmfYDhZPj8Twr3ldCu-DmSY.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5FxT8u1nIWZlRwoew30GlRbPyfZWPemYw7O2I2E2eVQ.cache +1 -0
  90. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7OWybKVj7HP-Ps-XPg9VskDwhFJ0mV_r2wBbYiV9OTY.cache +1 -0
  91. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8wogN7wms9kD7qD5mXzaJWSJpEuKuQfic3jUCiWyYek.cache +2 -0
  92. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/A3QwKX3xKGHDk5tMn8k9HI6cyc18PVR9gvMxTQOb1tw.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AC7B_I-E6IcUjDVdXrkVJpQVQAtlAflyODbpJAQa254.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AEJzHztdSFs3riKL1JWyf4TxdTBMj76hIcSMJ4e5zFM.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Ag-9zUKUAUzhaNKuJhbaGtA_BfsCD3h7HW9F4G3AYi0.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/B5fzn4fNu7aOnX-IAVTHav_uDU0JusddQ-66VHDOGeg.cache +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BydltyRa-wg1QS0OmxXH3GWdgM5RGsKykkz85aj09Ew.cache +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CWvkNWfDB2V38zgTquIZJL8Qe5lp6vIOTe0_z8Xl3Q4.cache +1 -0
  99. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CXPSxI0dfV9CRI7CJvyA9LMofi3oHiZOxgZZTJArK9U.cache +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ClXeNs3e0mcYEcldY5k8ovzFSdWgt2bgjfrr59nMV3k.cache +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Dwo1k_n7pePnttDEp_W216_MJ-PY_DcIBTiK3gPzGyA.cache +1 -0
  102. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/DwuHLwTCZWGEMcda-ZFA545ebYglTK19r5DLbcI1_Ww.cache +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EGoWVjwvSBGioUIVwMBewFuXzQnWnyGjLL93eLYAijw.cache +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EkAATpfUxLtE5hjmldaQ9AXgSGnL6IxPWRXbVArpi0Y.cache +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/GubZLYRhsFZialV6g37NwU0IfZlR5XRZM70_tyadOg4.cache +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HVas6MQEkZ21ydsdrXDmhQj0OVfkjKmejJaHrsMhQWw.cache +1 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HZPH02ZLOslpuEko2k_loExL33bs6Vv8LYTAPoyywSA.cache +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HzkJchCHtrEDvV4HRAbhXNcotyTfszQF4bj5Tg5bLcM.cache +1 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/JNp79x7ZpgHwaunFoF4dv1sGIguB6wRd_6RQcnmz8kY.cache +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/K8u_E6ZeuVnfBagZmruN-vp6yT-ZslaJg0ij9koiVOI.cache +1 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KaajLDBcc-77MXLcThHHyjT1-4IPpcPOLAxDIsFxjXs.cache +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LdIdja4QFlpJrJouR0TKiGxJ44PPf5bg73S3AyolZPs.cache +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LiXd-XkCu_zzxEM56rf9Tr8dWsCeDRk3OmRoGQeztw0.cache +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M4Yukv2yPTqN-q2g7qzwnEDxm1tiTB8tfRZdJd2BUBg.cache +1 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Mm3pl51V8EAzi1XRMY2rloMi51uz9q33A-d7HzrS_v4.cache +2 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/N2PqLZf6dTvu4ZEqGt7DLGKDRluBNkFOx7HE521Nk08.cache +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/OPHQPCVybpmyrpG-qH8wPxv_X_CxCxaA-uduQnP2Qqo.cache +1 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/OYgl4AqQ-q2VErerOAM-WigjIi7rpYZ3MIxuFIgTmF4.cache +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/QWoJs1ubrNrl9naTIounYhByDHKv1-AgVElHHE_lub0.cache +1 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/RyrOK8FHFiMxv1_D4AvoDkfOw513w40PrpCIbykzPq4.cache +1 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/T5FQV1xkXT1_yF34lXEaKxtrSdheHZXPRAxEFXf_ybE.cache +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TAYZad6l_w-rKQ3uxMyxc0PXle0z7gmzIZbDVCc38O0.cache +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UlxRCT-rTDSEhDN3bfyQBAXSFrQWp2mlKCAS2HETcIY.cache +1 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/V8zrq2aOTP1USFMzzIfa-7X8A7pMMxnXi7Mdt0d6o74.cache +1 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Vw4XMLemXAmeIx3RCtgaN7yXWNH4yekzKWOu_VcPMAM.cache +1 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/W6sszOgRxSPAvmmgpsGDb-u0a5nk32xyj0W2gqOhd3U.cache +1 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/WWhV6lUpBbGKFSV0E5wFdw1ayVmUQFdy_KxMHGitEjY.cache +2 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XOXNsmXWsjJ675b5V1iSWZx4187tmf9RqxTN9tE45Bo.cache +1 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/YIZHJwrc-9zZmINXA816ubMYjdZCxRfsZnpRsuLM2GI.cache +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/YxupSbcbuQFGIa6MGDoIvdUqXCInXU9ZnhUKvVYvwKk.cache +1 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Zkt3DLZYJaicRAFL-gICpW-tE8alGfVTEhe4OmjBd3A.cache +1 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aAnvmFAGZ3EbIQ5RM4YXGC2n0HP0ybnC_hGd0UibKbw.cache +2 -0
  133. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aHNenO26RH5TedeJ8cSwhjt7YWUUuV9hNcUdGoTqy5U.cache +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/be--I6jKQ0Nsi2htKCIeLqZBsqeaikSH8RLYEi-8llw.cache +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bmfw2RlM0hIII1Gvi2yb07QSsJPoqEXgIg33WkLHQY8.cache +2 -0
  136. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/eL-vrfG91Ydi3fR839qe-lWT_hrBWyuxdzxI7dhCcmk.cache +1 -0
  137. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/f8sxFWJgp6Xd20Cj46d-G3mwN0C8vTlj-1zAqEHRHJ8.cache +1 -0
  138. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fQ9ydxpe64IJbz3ydey8tLbjp3f4iT6vgK86lBwWe-s.cache +1 -0
  139. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fwtBCtx_UmYLfGGrwgp-_yl-E2-wgILUxrwNz7XM3JY.cache +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/goT7oX_iTMYkLM8D6LO1Mj46F1lISf0rJuMJY5znOuk.cache +2 -0
  141. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hieVI5ID_7eMb50UwPqU41g4ADkOfSQud-4v5WpgMzc.cache +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hnR1_z83xbWxBMga6Yao6j0KCRgaZrHLufPbjvnVdrE.cache +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jcGhU0vX4q_sSH7WOyz6pyHxhhGjnFKzS_1hT-1eoRo.cache +1 -0
  144. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jeP79U5A28hI_vDlJyUVGpScO8TEyNL3ANAo_uW4ptc.cache +1 -0
  145. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jeo26N1rjV-rDuEwlRMZSes7MZEMWdFCLlojdIXN9MU.cache +2 -0
  146. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kIfchbDHQ-q7DjXik59-hTJYMz_O29qF1HBFlVtGAA4.cache +1 -0
  147. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kV7VF9y8TRSd9d572M-Tiwiw16GFV9x0R-GPvO8CuPk.cache +1 -0
  148. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lIVfvNIkxhqH3uVqxOvlAWVD3LrXUaHBJrL1x9S-H9g.cache +1 -0
  149. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lqUuCfH_d0qAJYApx4ch5ki8aidJdqnbMN-eta6oF0Q.cache +2 -0
  150. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/mFCuIJ6CIqrcHKR4XKbMYSJVIzVfs9wTJcHaqKleKNM.cache +2 -0
  151. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/meuB_4gO5MG7zPbC47L7yqCtIqklHCfG3fi7Lo_t-2o.cache +1 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/oH2yaWEGCOt43TtW97pxSIJ3rB4uV4yFTEjCSICgtG8.cache +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/omFfQ9zfC-WU5He9thtS1nVjTVQdk2FG6Nvc7OZKcBM.cache +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/oqoQKM8yw6sfaEkFPxPiZC74VHANhE-f9l06ZCvcHR0.cache +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/oui3rMLHEUREhi2LbR_K4eneGSjXZdKE5jH5hKDS5qs.cache +1 -0
  156. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/pdcXUpKtx6BpMd8kf8J6X9pIa_XsDIqFFubJ9S0ld4s.cache +1 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ptuiOsXyfG474j_ZodR7t3jt3BYbWRVqByZkRtEPFrM.cache +1 -0
  158. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qNUdz8c1b-Cgrs8NvON97j03sHMBVU303Px6rDpiD9A.cache +1 -0
  159. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/r5-UvyLJv7fQE_19swNC46TzvUqvwAGfh0NrTY30_VI.cache +1 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/sqQDYCJgpbWaWVr_MSpR67txLpocCgsxgPlY3bfe78A.cache +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tQHmCY8zL5xURDpa6cDTUotPaBTg48qDNMdTwzGtUt4.cache +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ttSzee3NzEUw4fJR-DaDHgNxB9C5v-_P7DU-5q0nWzQ.cache +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/u66nNDkNs8kGRDmtNPvbV-4edJoJz6yRw1lNkHRH4Wg.cache +1 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wgWNzf34hNQnH2QVgzgiToG1jjRb_EOggi4OynuhCxI.cache +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xeO4Rpi3GSrsOKh8uvFUKcYjX1mMA5gkndFWZ9y20dg.cache +1 -0
  166. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zUWIWAVmcgFqyoBjWyZGGFeglj5Js5lak_QfkdA_HmQ.cache +0 -0
  167. data/spec/dummy/tmp/capybara/capybara-201510261620025225892473.png +0 -0
  168. data/spec/dummy/tmp/capybara/capybara-201510261622495083432261.html +23 -0
  169. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-16-21-35.090.html +12 -0
  170. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-16-21-35.090.png +0 -0
  171. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-16-21-41.161.html +12 -0
  172. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-16-21-41.161.png +0 -0
  173. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-16-42-07.798.html +20 -0
  174. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-17-02-58.538.html +24 -0
  175. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-17-04-27.286.html +35 -0
  176. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-17-04-27.286.png +0 -0
  177. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-17-04-30.457.html +35 -0
  178. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-17-04-30.457.png +0 -0
  179. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-27.943.html +36 -0
  180. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-28.006.html +36 -0
  181. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-30.707.html +12 -0
  182. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-30.707.png +0 -0
  183. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-31.872.html +12 -0
  184. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-31.872.png +0 -0
  185. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-33.006.html +12 -0
  186. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-33.006.png +0 -0
  187. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-34.147.html +12 -0
  188. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-34.147.png +0 -0
  189. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-34.197.html +42 -0
  190. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-34.224.html +42 -0
  191. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-34.290.html +42 -0
  192. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-34.364.html +42 -0
  193. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-36.528.html +12 -0
  194. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-36.528.png +0 -0
  195. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-48.062.html +42 -0
  196. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-48.105.html +42 -0
  197. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-50.648.html +12 -0
  198. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-50.648.png +0 -0
  199. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-51.843.html +12 -0
  200. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-51.843.png +0 -0
  201. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-42-00.500.html +42 -0
  202. data/spec/dummy/tmp/capybara/screenshot_2015-10-26-19-43-20.297.html +42 -0
  203. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-02.547.html +12 -0
  204. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-02.547.png +0 -0
  205. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-04.728.html +12 -0
  206. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-04.728.png +0 -0
  207. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-04.800.html +42 -0
  208. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-04.841.html +42 -0
  209. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-04.934.html +12 -0
  210. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-04.934.png +0 -0
  211. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-05.025.html +12 -0
  212. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-05.025.png +0 -0
  213. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-05.088.html +0 -0
  214. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-05.130.html +0 -0
  215. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-06.269.html +12 -0
  216. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-06.269.png +0 -0
  217. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-07.413.html +12 -0
  218. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-07.413.png +0 -0
  219. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-07.472.html +42 -0
  220. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-00-07.504.html +42 -0
  221. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-02.626.html +0 -0
  222. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-02.690.html +0 -0
  223. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-04.519.html +12 -0
  224. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-04.519.png +0 -0
  225. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-04.598.html +12 -0
  226. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-04.598.png +0 -0
  227. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-11.531.html +12 -0
  228. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-11.531.png +0 -0
  229. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-05-11.636.html +42 -0
  230. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-06-04.435.html +12 -0
  231. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-06-04.435.png +0 -0
  232. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-06-04.521.html +12 -0
  233. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-06-04.521.png +0 -0
  234. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-06-04.583.html +0 -0
  235. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-06-04.615.html +0 -0
  236. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-09-02.245.html +12 -0
  237. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-09-02.245.png +0 -0
  238. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-09-03.056.html +12 -0
  239. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-09-03.056.png +0 -0
  240. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-09-03.545.html +0 -0
  241. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-09-03.991.html +0 -0
  242. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-12-45.485.html +12 -0
  243. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-12-45.485.png +0 -0
  244. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-12-46.689.html +12 -0
  245. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-12-46.689.png +0 -0
  246. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-12-47.220.html +0 -0
  247. data/spec/dummy/tmp/capybara/screenshot_2015-10-27-15-12-47.688.html +0 -0
  248. data/spec/features/autocomplete_with_dynamic_url_spec.rb +65 -0
  249. data/spec/features/many_to_many_tree_structore_spec.rb +68 -0
  250. data/spec/features/model_with_static_token_url_spec.rb +66 -0
  251. data/spec/spec_helper.rb +7 -2
  252. metadata +492 -38
  253. data/spec/requests/categories_spec.rb +0 -68
  254. data/spec/requests/items_spec.rb +0 -68
  255. data/spec/requests/products_spec.rb +0 -70
@@ -7,7 +7,14 @@ class TokenInput < SimpleForm::Inputs::Base
7
7
  #
8
8
  # many:
9
9
  # <%= f.input :category_ids, :as => :token %>
10
- def input
11
- @builder.token_field(attribute_name, options)
10
+ def input(wrapper_options=nil)
11
+ if respond_to?(:merge_wrapper_options)
12
+ merged_input_options = merge_wrapper_options(input_html_options, wrapper_options).
13
+ merge(input_options)
14
+ else
15
+ merged_input_options = input_html_options.merge(input_options)
16
+ end
17
+
18
+ @builder.token_field(attribute_name, merged_input_options)
12
19
  end
13
20
  end
@@ -1,3 +1,3 @@
1
1
  module TokenField
2
- VERSION = "1.1.0"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -1,4 +1,5 @@
1
1
  class CategoriesController < ApplicationController
2
+
2
3
  def index
3
4
  @categories = Category.all
4
5
  end
@@ -8,7 +9,7 @@ class CategoriesController < ApplicationController
8
9
  end
9
10
 
10
11
  def create
11
- @category = Category.new(params[:category])
12
+ @category = Category.new(category_params)
12
13
  if @category.save
13
14
  redirect_to categories_path
14
15
  else
@@ -22,7 +23,7 @@ class CategoriesController < ApplicationController
22
23
 
23
24
  def update
24
25
  @category = Category.find(params[:id])
25
- if @category.update_attributes(params[:category])
26
+ if @category.update_attributes(category_params)
26
27
  redirect_to categories_path
27
28
  else
28
29
  render :edit
@@ -30,9 +31,17 @@ class CategoriesController < ApplicationController
30
31
  end
31
32
 
32
33
  def token
33
- @categories = Category.where("categories.name like ?", "%#{params[:q]}%")
34
+ categories = Category.where("categories.name like ?", "%#{params[:q]}%")
35
+
34
36
  respond_to do |format|
35
- format.json { render :json => Category.token_json(@categories) }
37
+ format.json { render :json => categories.map(&:to_token) }
36
38
  end
37
39
  end
40
+
41
+ private
42
+
43
+ def category_params
44
+ params.require(:category).permit!
45
+ end
46
+
38
47
  end
@@ -8,7 +8,7 @@ class ItemsController < ApplicationController
8
8
  end
9
9
 
10
10
  def create
11
- @item = Item.new(params[:item])
11
+ @item = Item.new(items_params)
12
12
  if @item.save
13
13
  redirect_to items_path
14
14
  else
@@ -22,10 +22,16 @@ class ItemsController < ApplicationController
22
22
 
23
23
  def update
24
24
  @item = Item.find(params[:id])
25
- if @item.update_attributes(params[:item])
25
+ if @item.update_attributes(items_params)
26
26
  redirect_to items_path
27
27
  else
28
28
  render :edit
29
29
  end
30
30
  end
31
+
32
+ private
33
+
34
+ def items_params
35
+ params.require(:item).permit!
36
+ end
31
37
  end
@@ -8,7 +8,7 @@ class ProductsController < ApplicationController
8
8
  end
9
9
 
10
10
  def create
11
- @product = Product.new(params[:product])
11
+ @product = Product.new(product_params)
12
12
  if @product.save
13
13
  redirect_to products_path
14
14
  else
@@ -22,10 +22,16 @@ class ProductsController < ApplicationController
22
22
 
23
23
  def update
24
24
  @product = Product.find(params[:id])
25
- if @product.update_attributes(params[:product])
25
+ if @product.update_attributes(product_params)
26
26
  redirect_to products_path
27
27
  else
28
28
  render :edit
29
29
  end
30
30
  end
31
+
32
+ private
33
+
34
+ def product_params
35
+ params.require(:product).permit!
36
+ end
31
37
  end
@@ -1,10 +1,9 @@
1
1
  class Category < ActiveRecord::Base
2
- attr_accessible :name, :parent_id
3
2
 
4
3
  has_many :categories, :foreign_key => :parent_id
5
4
  belongs_to :parent, :foreign_key => :parent_id, :class_name => "Category"
6
5
 
7
- def self.token_json(items)
8
- items.map{|i| {:id => i.id, :name => i.name} }
6
+ def to_token
7
+ {:id => id, :name => name}
9
8
  end
10
9
  end
@@ -1,5 +1,3 @@
1
1
  class Item < ActiveRecord::Base
2
- attr_accessible :category_id, :name
3
-
4
2
  belongs_to :category
5
3
  end
@@ -1,5 +1,4 @@
1
1
  class Product < ActiveRecord::Base
2
- attr_accessible :name, :category_ids
3
2
 
4
3
  has_many :product_has_categories
5
4
  has_many :categories, :through => :product_has_categories
@@ -1,6 +1,4 @@
1
1
  class ProductHasCategory < ActiveRecord::Base
2
- attr_accessible :category_id, :product_id
3
-
4
2
  belongs_to :category
5
3
  belongs_to :product
6
4
  end
@@ -43,17 +43,13 @@ module Dummy
43
43
  # like if you have constraints or database-specific column types
44
44
  # config.active_record.schema_format = :sql
45
45
 
46
- # Enforce whitelist mode for mass assignment.
47
- # This will create an empty whitelist of attributes available for mass-assignment for all models
48
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
49
- # parameters by using an attr_accessible or attr_protected declaration.
50
- config.active_record.whitelist_attributes = true
51
-
52
46
  # Enable the asset pipeline
53
47
  config.assets.enabled = true
54
48
 
55
49
  # Version of your assets, change this if you want to expire all your assets
56
50
  config.assets.version = '1.0'
51
+
52
+ config.secret_key_base = '0123456789012345678901234567890'
57
53
  end
58
54
  end
59
55
 
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
3
 
4
4
  if File.exist?(gemfile)
5
- ENV['BUNDLE_GEMFILE'] = gemfile
5
+ ENV['BUNDLE_GEMFILE'] ||= gemfile
6
6
  require 'bundler'
7
7
  Bundler.setup
8
8
  end
@@ -6,6 +6,9 @@ Dummy::Application.configure do
6
6
  # since you don't have to restart the web server when you make code changes.
7
7
  config.cache_classes = false
8
8
 
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
+
9
12
  # Log error messages when you accidentally call methods on nil.
10
13
  config.whiny_nils = true
11
14
 
@@ -22,13 +25,6 @@ Dummy::Application.configure do
22
25
  # Only use best-standards-support built into browsers
23
26
  config.action_dispatch.best_standards_support = :builtin
24
27
 
25
- # Raise exception on mass assignment protection for Active Record models
26
- config.active_record.mass_assignment_sanitizer = :strict
27
-
28
- # Log the query plan for queries taking more than this (works
29
- # with SQLite, MySQL, and PostgreSQL)
30
- config.active_record.auto_explain_threshold_in_seconds = 0.5
31
-
32
28
  # Do not compress assets
33
29
  config.assets.compress = false
34
30
 
@@ -4,12 +4,15 @@ Dummy::Application.configure do
4
4
  # Code is not reloaded between requests
5
5
  config.cache_classes = true
6
6
 
7
+ # Do not eager load code on boot.
8
+ config.eager_load = true
9
+
7
10
  # Full error reports are disabled and caching is turned on
8
11
  config.consider_all_requests_local = false
9
12
  config.action_controller.perform_caching = true
10
13
 
11
14
  # Disable Rails's static asset server (Apache or nginx will already do this)
12
- config.serve_static_assets = false
15
+ config.serve_static_files = false
13
16
 
14
17
  # Compress JavaScripts and CSS
15
18
  config.assets.compress = true
@@ -60,8 +63,4 @@ Dummy::Application.configure do
60
63
 
61
64
  # Send deprecation notices to registered listeners
62
65
  config.active_support.deprecation = :notify
63
-
64
- # Log the query plan for queries taking more than this (works
65
- # with SQLite, MySQL, and PostgreSQL)
66
- # config.active_record.auto_explain_threshold_in_seconds = 0.5
67
66
  end
@@ -7,8 +7,11 @@ Dummy::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
+ # Do not eager load code on boot.
11
+ config.eager_load = false
12
+
10
13
  # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
14
+ config.serve_static_files = true
12
15
  config.static_cache_control = "public, max-age=3600"
13
16
 
14
17
  # Log error messages when you accidentally call methods on nil
@@ -29,9 +32,6 @@ Dummy::Application.configure do
29
32
  # ActionMailer::Base.deliveries array.
30
33
  config.action_mailer.delivery_method = :test
31
34
 
32
- # Raise exception on mass assignment protection for Active Record models
33
- config.active_record.mass_assignment_sanitizer = :strict
34
-
35
35
  # Print deprecation notices to the stderr
36
36
  config.active_support.deprecation = :stderr
37
37
  end
@@ -0,0 +1,5 @@
1
+ if Rails::VERSION::MAJOR < 4
2
+ ActiveRecord::Base.class_eval do
3
+ include ActiveModel::ForbiddenAttributesProtection
4
+ end
5
+ end
Binary file
@@ -3127,3 +3127,1087 @@ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2012-10-13 23
3127
3127
  Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3128
3128
  Connecting to database specified by database.yml
3129
3129
  Connecting to database specified by database.yml
3130
+
3131
+
3132
+ Started GET "/" for 127.0.0.1 at 2015-10-26 17:08:05 +0100
3133
+ Connecting to database specified by database.yml
3134
+ Processing by CategoriesController#index as HTML
3135
+ Category Load (2.0ms) SELECT "categories".* FROM "categories" 
3136
+ Rendered categories/index.html.erb within layouts/application (4.6ms)
3137
+ Compiled token-input-facebook.css (0ms) (pid 34408)
3138
+ Compiled application.css (23ms) (pid 34408)
3139
+ Compiled jquery.js (3ms) (pid 34408)
3140
+ Compiled jquery_ujs.js (0ms) (pid 34408)
3141
+ Compiled jquery.tokeninput.js (0ms) (pid 34408)
3142
+ Compiled application.js (22ms) (pid 34408)
3143
+ Completed 200 OK in 143ms (Views: 99.5ms | ActiveRecord: 4.5ms)
3144
+
3145
+
3146
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:08:06 +0100
3147
+ Served asset /application.css - 200 OK (5ms)
3148
+
3149
+
3150
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:08:06 +0100
3151
+ Served asset /token-input-facebook.css - 200 OK (2ms)
3152
+
3153
+
3154
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:08:06 +0100
3155
+ Served asset /jquery.js - 200 OK (3ms)
3156
+
3157
+
3158
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:08:06 +0100
3159
+ Served asset /jquery_ujs.js - 200 OK (5ms)
3160
+
3161
+
3162
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:08:06 +0100
3163
+ Served asset /jquery.tokeninput.js - 200 OK (2ms)
3164
+
3165
+
3166
+ Started GET "/categories/1/edit" for 127.0.0.1 at 2015-10-26 17:08:11 +0100
3167
+ Processing by CategoriesController#edit as HTML
3168
+ Parameters: {"id"=>"1"}
3169
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
3170
+ Rendered categories/_form.html.erb (104.8ms)
3171
+ Rendered categories/edit.html.erb within layouts/application (108.3ms)
3172
+ Completed 200 OK in 113ms (Views: 111.6ms | ActiveRecord: 0.2ms)
3173
+
3174
+
3175
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:08:15 +0100
3176
+ Processing by CategoriesController#edit as HTML
3177
+ Parameters: {"id"=>"2"}
3178
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3179
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3180
+ Rendered categories/_form.html.erb (30.3ms)
3181
+ Rendered categories/edit.html.erb within layouts/application (30.9ms)
3182
+ Completed 200 OK in 35ms (Views: 33.9ms | ActiveRecord: 0.3ms)
3183
+
3184
+
3185
+ Started GET "/items" for 127.0.0.1 at 2015-10-26 17:08:23 +0100
3186
+ Processing by ItemsController#index as HTML
3187
+ Item Load (0.5ms) SELECT "items".* FROM "items" 
3188
+ Rendered items/index.html.erb within layouts/application (2.0ms)
3189
+ Completed 200 OK in 13ms (Views: 6.2ms | ActiveRecord: 0.8ms)
3190
+
3191
+
3192
+ Started GET "/items/1/edit" for 127.0.0.1 at 2015-10-26 17:08:24 +0100
3193
+ Processing by ItemsController#edit as HTML
3194
+ Parameters: {"id"=>"1"}
3195
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "1"]]
3196
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3197
+ Rendered items/_form.html.erb (51.8ms)
3198
+ Rendered items/edit.html.erb within layouts/application (53.4ms)
3199
+ Completed 200 OK in 61ms (Views: 59.6ms | ActiveRecord: 0.4ms)
3200
+
3201
+
3202
+ Started GET "/categories/token?q=no" for 127.0.0.1 at 2015-10-26 17:08:31 +0100
3203
+ Processing by CategoriesController#token as JSON
3204
+ Parameters: {"q"=>"no"}
3205
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%no%')
3206
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3207
+
3208
+
3209
+ Started GET "/categories/token?q=nov" for 127.0.0.1 at 2015-10-26 17:08:31 +0100
3210
+ Processing by CategoriesController#token as JSON
3211
+ Parameters: {"q"=>"nov"}
3212
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%nov%')
3213
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
3214
+
3215
+
3216
+ Started PUT "/items/1" for 127.0.0.1 at 2015-10-26 17:08:34 +0100
3217
+ Processing by ItemsController#update as HTML
3218
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"c/RSjplDoV6tWDKSy/iTKrU5aUpXTufbeq8HXnXhMU0=", "item"=>{"name"=>"polozka", "category_id"=>"1"}, "commit"=>"Update Item", "id"=>"1"}
3219
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "1"]]
3220
+  (0.1ms) begin transaction
3221
+  (0.1ms) commit transaction
3222
+ Redirected to http://localhost:3000/items
3223
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
3224
+
3225
+
3226
+ Started GET "/items" for 127.0.0.1 at 2015-10-26 17:08:34 +0100
3227
+ Processing by ItemsController#index as HTML
3228
+ Item Load (0.1ms) SELECT "items".* FROM "items" 
3229
+ Rendered items/index.html.erb within layouts/application (0.8ms)
3230
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
3231
+
3232
+
3233
+ Started GET "/products" for 127.0.0.1 at 2015-10-26 17:08:38 +0100
3234
+ Processing by ProductsController#index as HTML
3235
+ Product Load (0.4ms) SELECT "products".* FROM "products"
3236
+  (0.1ms) SELECT "categories".id FROM "categories" INNER JOIN "product_has_categories" ON "categories"."id" = "product_has_categories"."category_id" WHERE "product_has_categories"."product_id" = 1
3237
+  (0.1ms) SELECT "categories".id FROM "categories" INNER JOIN "product_has_categories" ON "categories"."id" = "product_has_categories"."category_id" WHERE "product_has_categories"."product_id" = 2
3238
+ Rendered products/index.html.erb within layouts/application (52.8ms)
3239
+ Completed 200 OK in 63ms (Views: 56.2ms | ActiveRecord: 1.0ms)
3240
+
3241
+
3242
+ Started GET "/products/1/edit" for 127.0.0.1 at 2015-10-26 17:08:40 +0100
3243
+ Processing by ProductsController#edit as HTML
3244
+ Parameters: {"id"=>"1"}
3245
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", "1"]]
3246
+  (0.2ms) SELECT "categories".id FROM "categories" INNER JOIN "product_has_categories" ON "categories"."id" = "product_has_categories"."category_id" WHERE "product_has_categories"."product_id" = 1
3247
+  (0.1ms) SELECT COUNT(*) FROM "categories" INNER JOIN "product_has_categories" ON "categories"."id" = "product_has_categories"."category_id" WHERE "product_has_categories"."product_id" = 1
3248
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" INNER JOIN "product_has_categories" ON "categories"."id" = "product_has_categories"."category_id" WHERE "product_has_categories"."product_id" = 1
3249
+ Rendered products/_form.html.erb (6.3ms)
3250
+ Rendered products/edit.html.erb within layouts/application (7.6ms)
3251
+ Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.6ms)
3252
+
3253
+
3254
+ Started GET "/categories/token?q=n" for 127.0.0.1 at 2015-10-26 17:10:22 +0100
3255
+ Processing by CategoriesController#token as JSON
3256
+ Parameters: {"q"=>"n"}
3257
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%n%')
3258
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
3259
+
3260
+
3261
+ Started GET "/categories/token?q=no" for 127.0.0.1 at 2015-10-26 17:10:22 +0100
3262
+ Processing by CategoriesController#token as JSON
3263
+ Parameters: {"q"=>"no"}
3264
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%no%')
3265
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
3266
+
3267
+
3268
+ Started GET "/categories/token?q=s" for 127.0.0.1 at 2015-10-26 17:10:25 +0100
3269
+ Processing by CategoriesController#token as JSON
3270
+ Parameters: {"q"=>"s"}
3271
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%s%')
3272
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
3273
+
3274
+
3275
+ Started GET "/categories/token?q=su" for 127.0.0.1 at 2015-10-26 17:10:25 +0100
3276
+ Processing by CategoriesController#token as JSON
3277
+ Parameters: {"q"=>"su"}
3278
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%su%')
3279
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
3280
+
3281
+
3282
+ Started GET "/products" for 127.0.0.1 at 2015-10-26 17:10:29 +0100
3283
+ Processing by ProductsController#index as HTML
3284
+ Product Load (0.2ms) SELECT "products".* FROM "products" 
3285
+  (0.2ms) SELECT "categories".id FROM "categories" INNER JOIN "product_has_categories" ON "categories"."id" = "product_has_categories"."category_id" WHERE "product_has_categories"."product_id" = 1
3286
+  (0.2ms) SELECT "categories".id FROM "categories" INNER JOIN "product_has_categories" ON "categories"."id" = "product_has_categories"."category_id" WHERE "product_has_categories"."product_id" = 2
3287
+ Rendered products/index.html.erb within layouts/application (3.9ms)
3288
+ Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.5ms)
3289
+
3290
+
3291
+ Started GET "/items" for 127.0.0.1 at 2015-10-26 17:10:31 +0100
3292
+ Processing by ItemsController#index as HTML
3293
+ Item Load (0.2ms) SELECT "items".* FROM "items"
3294
+ Rendered items/index.html.erb within layouts/application (1.1ms)
3295
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
3296
+
3297
+
3298
+ Started GET "/items/1/edit" for 127.0.0.1 at 2015-10-26 17:10:33 +0100
3299
+ Processing by ItemsController#edit as HTML
3300
+ Parameters: {"id"=>"1"}
3301
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "1"]]
3302
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3303
+ Rendered items/_form.html.erb (6.6ms)
3304
+ Rendered items/edit.html.erb within layouts/application (7.2ms)
3305
+ Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.3ms)
3306
+
3307
+
3308
+ Started GET "/categories/token?q=su" for 127.0.0.1 at 2015-10-26 17:10:37 +0100
3309
+ Processing by CategoriesController#token as JSON
3310
+ Parameters: {"q"=>"su"}
3311
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%su%')
3312
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
3313
+
3314
+
3315
+ Started GET "/categories/token?q=sub" for 127.0.0.1 at 2015-10-26 17:10:37 +0100
3316
+ Processing by CategoriesController#token as JSON
3317
+ Parameters: {"q"=>"sub"}
3318
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%sub%')
3319
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3320
+
3321
+
3322
+ Started GET "/categories/token?q=s" for 127.0.0.1 at 2015-10-26 17:10:38 +0100
3323
+ Processing by CategoriesController#token as JSON
3324
+ Parameters: {"q"=>"s"}
3325
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%s%')
3326
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3327
+
3328
+
3329
+ Started GET "/categories" for 127.0.0.1 at 2015-10-26 17:10:42 +0100
3330
+ Processing by CategoriesController#index as HTML
3331
+ Category Load (0.2ms) SELECT "categories".* FROM "categories"
3332
+ Rendered categories/index.html.erb within layouts/application (2.7ms)
3333
+ Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.2ms)
3334
+
3335
+
3336
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:10:44 +0100
3337
+ Processing by CategoriesController#edit as HTML
3338
+ Parameters: {"id"=>"2"}
3339
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3340
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3341
+ Rendered categories/_form.html.erb (3.3ms)
3342
+ Rendered categories/edit.html.erb within layouts/application (3.7ms)
3343
+ Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.2ms)
3344
+
3345
+
3346
+ Started GET "/categories/token?q=su" for 127.0.0.1 at 2015-10-26 17:10:48 +0100
3347
+ Processing by CategoriesController#token as JSON
3348
+ Parameters: {"q"=>"su"}
3349
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%su%')
3350
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3351
+
3352
+
3353
+ Started GET "/categories/token?q=sub" for 127.0.0.1 at 2015-10-26 17:10:49 +0100
3354
+ Processing by CategoriesController#token as JSON
3355
+ Parameters: {"q"=>"sub"}
3356
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE (categories.name like '%sub%')
3357
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3358
+
3359
+
3360
+ Started GET "/" for 127.0.0.1 at 2015-10-26 17:43:27 +0100
3361
+ Processing by CategoriesController#index as HTML
3362
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" 
3363
+ Rendered categories/index.html.erb within layouts/application (2.2ms)
3364
+ Completed 200 OK in 16ms (Views: 7.3ms | ActiveRecord: 0.8ms)
3365
+
3366
+
3367
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:27 +0100
3368
+ Served asset /token-input-facebook.css - 200 OK (0ms)
3369
+
3370
+
3371
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:27 +0100
3372
+ Served asset /jquery.js - 200 OK (0ms)
3373
+
3374
+
3375
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:27 +0100
3376
+ Served asset /jquery_ujs.js - 200 OK (0ms)
3377
+
3378
+
3379
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:27 +0100
3380
+ Compiled jquery.js (5ms) (pid 34408)
3381
+ Compiled jquery_ujs.js (0ms) (pid 34408)
3382
+ Compiled jquery.tokeninput.js (0ms) (pid 34408)
3383
+ Compiled application.js (61ms) (pid 34408)
3384
+ Served asset /application.js - 200 OK (68ms)
3385
+
3386
+
3387
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:27 +0100
3388
+ Served asset /jquery.tokeninput.js - 200 OK (0ms)
3389
+
3390
+
3391
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:27 +0100
3392
+ Served asset /application.css - 200 OK (0ms)
3393
+
3394
+
3395
+ Started GET "/categories/1/edit" for 127.0.0.1 at 2015-10-26 17:43:29 +0100
3396
+ Processing by CategoriesController#edit as HTML
3397
+ Parameters: {"id"=>"1"}
3398
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
3399
+ Rendered categories/_form.html.erb (3.2ms)
3400
+ Rendered categories/edit.html.erb within layouts/application (4.0ms)
3401
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.2ms)
3402
+
3403
+
3404
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:29 +0100
3405
+ Served asset /application.css - 200 OK (0ms)
3406
+
3407
+
3408
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:29 +0100
3409
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3410
+
3411
+
3412
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:29 +0100
3413
+ Served asset /jquery.js - 304 Not Modified (0ms)
3414
+
3415
+
3416
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:29 +0100
3417
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3418
+
3419
+
3420
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:29 +0100
3421
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3422
+
3423
+
3424
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:29 +0100
3425
+ Served asset /application.js - 200 OK (0ms)
3426
+
3427
+
3428
+ Started GET "/categories" for 127.0.0.1 at 2015-10-26 17:43:30 +0100
3429
+ Processing by CategoriesController#index as HTML
3430
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" 
3431
+ Rendered categories/index.html.erb within layouts/application (1.6ms)
3432
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
3433
+
3434
+
3435
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:30 +0100
3436
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3437
+
3438
+
3439
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:30 +0100
3440
+ Served asset /jquery.js - 304 Not Modified (0ms)
3441
+
3442
+
3443
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:30 +0100
3444
+ Served asset /application.css - 304 Not Modified (0ms)
3445
+
3446
+
3447
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:30 +0100
3448
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3449
+
3450
+
3451
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:30 +0100
3452
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3453
+
3454
+
3455
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:31 +0100
3456
+ Served asset /application.js - 304 Not Modified (0ms)
3457
+
3458
+
3459
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:43:31 +0100
3460
+ Processing by CategoriesController#edit as HTML
3461
+ Parameters: {"id"=>"2"}
3462
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3463
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3464
+ Rendered categories/_form.html.erb (16.0ms)
3465
+ Rendered categories/edit.html.erb within layouts/application (16.9ms)
3466
+ Completed 500 Internal Server Error in 20ms
3467
+
3468
+ ActionView::Template::Error (undefined method `token_json' for #<Class:0x007ffe37610340>):
3469
+ 5: </p>
3470
+ 6: <p>
3471
+ 7: <%= f.label :parent_id %>
3472
+ 8: <%= f.token_field :parent_id, :model => :category, :token_url => token_categories_path %>
3473
+ 9: </p>
3474
+ 10: <%= f.submit %>
3475
+ 11: <% end %>
3476
+ app/views/categories/_form.html.erb:8:in `block in _app_views_categories__form_html_erb__1115790777164960122_70364913326800'
3477
+ app/views/categories/_form.html.erb:1:in `_app_views_categories__form_html_erb__1115790777164960122_70364913326800'
3478
+ app/views/categories/edit.html.erb:2:in `_app_views_categories_edit_html_erb__736796483781219419_70364884472540'
3479
+
3480
+
3481
+ Rendered /Users/mirrec/.rvm/gems/ruby-1.9.3-head@wowbox/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
3482
+ Rendered /Users/mirrec/.rvm/gems/ruby-1.9.3-head@wowbox/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
3483
+ Rendered /Users/mirrec/.rvm/gems/ruby-1.9.3-head@wowbox/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.1ms)
3484
+
3485
+
3486
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:43:44 +0100
3487
+ Connecting to database specified by database.yml
3488
+ Processing by CategoriesController#edit as HTML
3489
+ Parameters: {"id"=>"2"}
3490
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3491
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3492
+ Rendered categories/_form.html.erb (132.0ms)
3493
+ Rendered categories/edit.html.erb within layouts/application (138.0ms)
3494
+ Compiled token-input-facebook.css (0ms) (pid 35072)
3495
+ Compiled application.css (4ms) (pid 35072)
3496
+ Completed 200 OK in 249ms (Views: 195.6ms | ActiveRecord: 22.9ms)
3497
+
3498
+
3499
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:45 +0100
3500
+ Served asset /application.css - 304 Not Modified (4ms)
3501
+
3502
+
3503
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:43:45 +0100
3504
+ Served asset /token-input-facebook.css - 304 Not Modified (2ms)
3505
+
3506
+
3507
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:45 +0100
3508
+ Served asset /jquery.js - 304 Not Modified (2ms)
3509
+
3510
+
3511
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:45 +0100
3512
+ Served asset /jquery.tokeninput.js - 304 Not Modified (2ms)
3513
+
3514
+
3515
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:45 +0100
3516
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
3517
+
3518
+
3519
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:43:45 +0100
3520
+ Served asset /application.js - 304 Not Modified (6ms)
3521
+
3522
+
3523
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:44:52 +0100
3524
+ Processing by CategoriesController#edit as HTML
3525
+ Parameters: {"id"=>"2"}
3526
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3527
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3528
+ Rendered categories/_form.html.erb (9.8ms)
3529
+ Rendered categories/edit.html.erb within layouts/application (10.4ms)
3530
+ Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.3ms)
3531
+
3532
+
3533
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:44:53 +0100
3534
+ Processing by CategoriesController#edit as HTML
3535
+ Parameters: {"id"=>"2"}
3536
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3537
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3538
+ Rendered categories/_form.html.erb (4.7ms)
3539
+ Rendered categories/edit.html.erb within layouts/application (5.4ms)
3540
+ Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.3ms)
3541
+
3542
+
3543
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:44:53 +0100
3544
+ Served asset /application.css - 304 Not Modified (0ms)
3545
+
3546
+
3547
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:44:53 +0100
3548
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3549
+
3550
+
3551
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:44:53 +0100
3552
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3553
+
3554
+
3555
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:44:53 +0100
3556
+ Served asset /jquery.js - 304 Not Modified (0ms)
3557
+
3558
+
3559
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:44:53 +0100
3560
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3561
+
3562
+
3563
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:44:53 +0100
3564
+ Served asset /application.js - 304 Not Modified (0ms)
3565
+
3566
+
3567
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:44:59 +0100
3568
+ Connecting to database specified by database.yml
3569
+ Processing by CategoriesController#edit as HTML
3570
+ Parameters: {"id"=>"2"}
3571
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3572
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3573
+ Rendered categories/_form.html.erb (139.3ms)
3574
+ Rendered categories/edit.html.erb within layouts/application (144.6ms)
3575
+ Completed 500 Internal Server Error in 201ms
3576
+
3577
+ ActionView::Template::Error (undefined method `map' for "[{\"id\":1,\"name\":\"nova\"}]":String):
3578
+ 5: </p>
3579
+ 6: <p>
3580
+ 7: <%= f.label :parent_id %>
3581
+ 8: <%= f.token_field :parent_id, :model => :category, :token_url => token_categories_path %>
3582
+ 9: </p>
3583
+ 10: <%= f.submit %>
3584
+ 11: <% end %>
3585
+ app/views/categories/_form.html.erb:8:in `block in _app_views_categories__form_html_erb___3309664555696985273_70226908886980'
3586
+ app/views/categories/_form.html.erb:1:in `_app_views_categories__form_html_erb___3309664555696985273_70226908886980'
3587
+ app/views/categories/edit.html.erb:2:in `_app_views_categories_edit_html_erb___1827947886513484723_70226908630160'
3588
+
3589
+
3590
+ Rendered /Users/mirrec/.rvm/gems/ruby-1.9.3-head@wowbox/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
3591
+ Rendered /Users/mirrec/.rvm/gems/ruby-1.9.3-head@wowbox/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
3592
+ Rendered /Users/mirrec/.rvm/gems/ruby-1.9.3-head@wowbox/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.2ms)
3593
+
3594
+
3595
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2015-10-26 17:45:23 +0100
3596
+ Connecting to database specified by database.yml
3597
+ Processing by CategoriesController#edit as HTML
3598
+ Parameters: {"id"=>"2"}
3599
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3600
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3601
+ Rendered categories/_form.html.erb (110.7ms)
3602
+ Rendered categories/edit.html.erb within layouts/application (116.3ms)
3603
+ Completed 200 OK in 205ms (Views: 159.0ms | ActiveRecord: 19.3ms)
3604
+
3605
+
3606
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:24 +0100
3607
+ Served asset /application.css - 304 Not Modified (7ms)
3608
+
3609
+
3610
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:24 +0100
3611
+ Served asset /token-input-facebook.css - 304 Not Modified (3ms)
3612
+
3613
+
3614
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:24 +0100
3615
+ Served asset /jquery.js - 304 Not Modified (3ms)
3616
+
3617
+
3618
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:24 +0100
3619
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
3620
+
3621
+
3622
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:24 +0100
3623
+ Served asset /jquery.tokeninput.js - 304 Not Modified (2ms)
3624
+
3625
+
3626
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:24 +0100
3627
+ Served asset /application.js - 304 Not Modified (42ms)
3628
+
3629
+
3630
+ Started PUT "/categories/2" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3631
+ Processing by CategoriesController#update as HTML
3632
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qUvOWnNKVcs+tuQzWQx3KoA8LNUX7dIY9OY+CMWvRIg=", "category"=>{"name"=>"sub", "parent_id"=>"1"}, "commit"=>"Update Category", "id"=>"2"}
3633
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
3634
+  (0.1ms) begin transaction
3635
+  (0.0ms) commit transaction
3636
+ Redirected to http://localhost:3000/categories
3637
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
3638
+
3639
+
3640
+ Started GET "/categories" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3641
+ Processing by CategoriesController#index as HTML
3642
+ Category Load (0.2ms) SELECT "categories".* FROM "categories"
3643
+ Rendered categories/index.html.erb within layouts/application (2.8ms)
3644
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.2ms)
3645
+
3646
+
3647
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3648
+ Served asset /application.css - 304 Not Modified (0ms)
3649
+
3650
+
3651
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3652
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3653
+
3654
+
3655
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3656
+ Served asset /application.js - 304 Not Modified (0ms)
3657
+
3658
+
3659
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3660
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3661
+
3662
+
3663
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3664
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3665
+
3666
+
3667
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:26 +0100
3668
+ Served asset /jquery.js - 304 Not Modified (0ms)
3669
+
3670
+
3671
+ Started GET "/categories/3/edit" for 127.0.0.1 at 2015-10-26 17:45:28 +0100
3672
+ Processing by CategoriesController#edit as HTML
3673
+ Parameters: {"id"=>"3"}
3674
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]]
3675
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 2 LIMIT 1
3676
+ Rendered categories/_form.html.erb (4.5ms)
3677
+ Rendered categories/edit.html.erb within layouts/application (5.4ms)
3678
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
3679
+
3680
+
3681
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:28 +0100
3682
+ Served asset /application.css - 304 Not Modified (0ms)
3683
+
3684
+
3685
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:28 +0100
3686
+ Served asset /jquery.js - 304 Not Modified (0ms)
3687
+
3688
+
3689
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:28 +0100
3690
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3691
+
3692
+
3693
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:28 +0100
3694
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3695
+
3696
+
3697
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:28 +0100
3698
+ Served asset /application.js - 304 Not Modified (0ms)
3699
+
3700
+
3701
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:28 +0100
3702
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3703
+
3704
+
3705
+ Started PUT "/categories/3" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3706
+ Processing by CategoriesController#update as HTML
3707
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qUvOWnNKVcs+tuQzWQx3KoA8LNUX7dIY9OY+CMWvRIg=", "category"=>{"name"=>"sub sub", "parent_id"=>"2"}, "commit"=>"Update Category", "id"=>"3"}
3708
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]]
3709
+  (0.1ms) begin transaction
3710
+  (0.0ms) commit transaction
3711
+ Redirected to http://localhost:3000/categories
3712
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
3713
+
3714
+
3715
+ Started GET "/categories" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3716
+ Processing by CategoriesController#index as HTML
3717
+ Category Load (0.1ms) SELECT "categories".* FROM "categories"
3718
+ Rendered categories/index.html.erb within layouts/application (1.4ms)
3719
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
3720
+
3721
+
3722
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3723
+ Served asset /application.css - 304 Not Modified (0ms)
3724
+
3725
+
3726
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3727
+ Served asset /jquery.js - 304 Not Modified (0ms)
3728
+
3729
+
3730
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3731
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3732
+
3733
+
3734
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3735
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3736
+
3737
+
3738
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3739
+ Served asset /application.js - 304 Not Modified (0ms)
3740
+
3741
+
3742
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:29 +0100
3743
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3744
+
3745
+
3746
+ Started GET "/categories/3/edit" for 127.0.0.1 at 2015-10-26 17:45:30 +0100
3747
+ Processing by CategoriesController#edit as HTML
3748
+ Parameters: {"id"=>"3"}
3749
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]]
3750
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 2 LIMIT 1
3751
+ Rendered categories/_form.html.erb (3.4ms)
3752
+ Rendered categories/edit.html.erb within layouts/application (4.1ms)
3753
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.3ms)
3754
+
3755
+
3756
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:30 +0100
3757
+ Served asset /application.css - 304 Not Modified (0ms)
3758
+
3759
+
3760
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:30 +0100
3761
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3762
+
3763
+
3764
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:30 +0100
3765
+ Served asset /jquery.js - 304 Not Modified (0ms)
3766
+
3767
+
3768
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:30 +0100
3769
+ Served asset /application.js - 304 Not Modified (0ms)
3770
+
3771
+
3772
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:30 +0100
3773
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3774
+
3775
+
3776
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:30 +0100
3777
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3778
+
3779
+
3780
+ Started GET "/categories" for 127.0.0.1 at 2015-10-26 17:45:44 +0100
3781
+ Processing by CategoriesController#index as HTML
3782
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" 
3783
+ Rendered categories/index.html.erb within layouts/application (2.7ms)
3784
+ Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.2ms)
3785
+
3786
+
3787
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:45 +0100
3788
+ Served asset /application.css - 304 Not Modified (0ms)
3789
+
3790
+
3791
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:45 +0100
3792
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3793
+
3794
+
3795
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:45 +0100
3796
+ Served asset /jquery.js - 304 Not Modified (0ms)
3797
+
3798
+
3799
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:45 +0100
3800
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3801
+
3802
+
3803
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:45 +0100
3804
+ Served asset /application.js - 304 Not Modified (0ms)
3805
+
3806
+
3807
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:45 +0100
3808
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3809
+
3810
+
3811
+ Started GET "/items" for 127.0.0.1 at 2015-10-26 17:45:48 +0100
3812
+ Processing by ItemsController#index as HTML
3813
+ Item Load (0.1ms) SELECT "items".* FROM "items"
3814
+ Rendered items/index.html.erb within layouts/application (1.9ms)
3815
+ Completed 200 OK in 13ms (Views: 5.9ms | ActiveRecord: 0.4ms)
3816
+
3817
+
3818
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:48 +0100
3819
+ Served asset /application.css - 304 Not Modified (0ms)
3820
+
3821
+
3822
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:48 +0100
3823
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3824
+
3825
+
3826
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:48 +0100
3827
+ Served asset /jquery.js - 304 Not Modified (0ms)
3828
+
3829
+
3830
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:48 +0100
3831
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3832
+
3833
+
3834
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:48 +0100
3835
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3836
+
3837
+
3838
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:48 +0100
3839
+ Served asset /application.js - 304 Not Modified (0ms)
3840
+
3841
+
3842
+ Started GET "/items/1/edit" for 127.0.0.1 at 2015-10-26 17:45:50 +0100
3843
+ Processing by ItemsController#edit as HTML
3844
+ Parameters: {"id"=>"1"}
3845
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "1"]]
3846
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
3847
+ Rendered items/_form.html.erb (65.4ms)
3848
+ Rendered items/edit.html.erb within layouts/application (66.5ms)
3849
+ Completed 200 OK in 72ms (Views: 70.4ms | ActiveRecord: 0.3ms)
3850
+
3851
+
3852
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:50 +0100
3853
+ Served asset /application.css - 304 Not Modified (0ms)
3854
+
3855
+
3856
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:50 +0100
3857
+ Served asset /jquery.js - 304 Not Modified (0ms)
3858
+
3859
+
3860
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:50 +0100
3861
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3862
+
3863
+
3864
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:50 +0100
3865
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3866
+
3867
+
3868
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:50 +0100
3869
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3870
+
3871
+
3872
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:50 +0100
3873
+ Served asset /application.js - 304 Not Modified (0ms)
3874
+
3875
+
3876
+ Started PUT "/items/1" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3877
+ Processing by ItemsController#update as HTML
3878
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qUvOWnNKVcs+tuQzWQx3KoA8LNUX7dIY9OY+CMWvRIg=", "item"=>{"name"=>"polozka", "category_id"=>"1"}, "commit"=>"Update Item", "id"=>"1"}
3879
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "1"]]
3880
+  (0.1ms) begin transaction
3881
+  (0.1ms) commit transaction
3882
+ Redirected to http://localhost:3000/items
3883
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
3884
+
3885
+
3886
+ Started GET "/items" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3887
+ Processing by ItemsController#index as HTML
3888
+ Item Load (0.1ms) SELECT "items".* FROM "items"
3889
+ Rendered items/index.html.erb within layouts/application (0.6ms)
3890
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
3891
+
3892
+
3893
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3894
+ Served asset /application.css - 304 Not Modified (0ms)
3895
+
3896
+
3897
+ Started GET "/assets/token-input-facebook.css?body=1" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3898
+ Served asset /token-input-facebook.css - 304 Not Modified (0ms)
3899
+
3900
+
3901
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3902
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3903
+
3904
+
3905
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3906
+ Served asset /jquery.js - 304 Not Modified (0ms)
3907
+
3908
+
3909
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3910
+ Served asset /application.js - 304 Not Modified (0ms)
3911
+
3912
+
3913
+ Started GET "/assets/jquery.tokeninput.js?body=1" for 127.0.0.1 at 2015-10-26 17:45:52 +0100
3914
+ Served asset /jquery.tokeninput.js - 304 Not Modified (0ms)
3915
+ DEPRECATION WARNING: You didn't set `secret_key_base`. Read the upgrade documentation to learn more about this new config option. (called from service at /Users/mirrec/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138)
3916
+
3917
+
3918
+ Started GET "/" for ::1 at 2015-10-27 12:52:29 +0100
3919
+
3920
+ NoMethodError (undefined method `auto_explain_threshold_in_seconds=' for #<Class:0x007fa020f6eb78>):
3921
+ activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:26:in `method_missing'
3922
+ activerecord (4.2.4) lib/active_record/railtie.rb:108:in `block (3 levels) in <class:Railtie>'
3923
+ activerecord (4.2.4) lib/active_record/railtie.rb:107:in `each'
3924
+ activerecord (4.2.4) lib/active_record/railtie.rb:107:in `block (2 levels) in <class:Railtie>'
3925
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
3926
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
3927
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
3928
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:44:in `each'
3929
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
3930
+ activerecord (4.2.4) lib/active_record/base.rb:315:in `<module:ActiveRecord>'
3931
+ activerecord (4.2.4) lib/active_record/base.rb:26:in `<top (required)>'
3932
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:660:in `rescue in call'
3933
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:651:in `call'
3934
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3935
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
3936
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
3937
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
3938
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3939
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
3940
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
3941
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3942
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3943
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
3944
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
3945
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3946
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
3947
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
3948
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
3949
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3950
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
3951
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
3952
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3953
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
3954
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
3955
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
3956
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
3957
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
3958
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
3959
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
3960
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
3961
+ /Users/mirrec/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
3962
+ /Users/mirrec/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
3963
+ /Users/mirrec/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
3964
+
3965
+
3966
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
3967
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
3968
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
3969
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.4ms)
3970
+
3971
+
3972
+ Started GET "/" for ::1 at 2015-10-27 12:53:15 +0100
3973
+
3974
+ NoMethodError (undefined method `auto_explain_threshold_in_seconds=' for #<Class:0x007fa020f6eb78>):
3975
+ activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:26:in `method_missing'
3976
+ activerecord (4.2.4) lib/active_record/railtie.rb:108:in `block (3 levels) in <class:Railtie>'
3977
+ activerecord (4.2.4) lib/active_record/railtie.rb:107:in `each'
3978
+ activerecord (4.2.4) lib/active_record/railtie.rb:107:in `block (2 levels) in <class:Railtie>'
3979
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
3980
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
3981
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
3982
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:44:in `each'
3983
+ activesupport (4.2.4) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
3984
+ activerecord (4.2.4) lib/active_record/base.rb:315:in `<module:ActiveRecord>'
3985
+ activerecord (4.2.4) lib/active_record/base.rb:26:in `<top (required)>'
3986
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:660:in `rescue in call'
3987
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:651:in `call'
3988
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3989
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
3990
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
3991
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
3992
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3993
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
3994
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
3995
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3996
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3997
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
3998
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
3999
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
4000
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
4001
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
4002
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
4003
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
4004
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
4005
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
4006
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
4007
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
4008
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
4009
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
4010
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
4011
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
4012
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
4013
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
4014
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
4015
+ /Users/mirrec/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
4016
+ /Users/mirrec/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
4017
+ /Users/mirrec/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
4018
+
4019
+
4020
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms)
4021
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
4022
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
4023
+ Rendered /Users/mirrec/.rvm/gems/ruby-2.2.2@token_field/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.0ms)
4024
+
4025
+
4026
+ Started GET "/" for ::1 at 2015-10-27 12:58:03 +0100
4027
+ Processing by CategoriesController#index as HTML
4028
+ Category Load (2.5ms) SELECT "categories".* FROM "categories"
4029
+ Rendered categories/index.html.erb within layouts/application (36.1ms)
4030
+ Completed 200 OK in 458ms (Views: 419.2ms | ActiveRecord: 2.8ms)
4031
+
4032
+
4033
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-27 12:58:04 +0100
4034
+
4035
+
4036
+ Started GET "/assets/token-input-facebook.self.css?body=1" for ::1 at 2015-10-27 12:58:04 +0100
4037
+
4038
+
4039
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-27 12:58:04 +0100
4040
+
4041
+
4042
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-27 12:58:04 +0100
4043
+
4044
+
4045
+ Started GET "/assets/jquery.tokeninput.self.js?body=1" for ::1 at 2015-10-27 12:58:04 +0100
4046
+
4047
+
4048
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-27 12:58:04 +0100
4049
+
4050
+
4051
+ Started GET "/categories/1/edit" for ::1 at 2015-10-27 12:58:06 +0100
4052
+ Processing by CategoriesController#edit as HTML
4053
+ Parameters: {"id"=>"1"}
4054
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
4055
+ Rendered categories/_form.html.erb (165.3ms)
4056
+ Rendered categories/edit.html.erb within layouts/application (172.3ms)
4057
+ Completed 200 OK in 209ms (Views: 196.6ms | ActiveRecord: 0.2ms)
4058
+
4059
+
4060
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-10-27 12:58:06 +0100
4061
+
4062
+
4063
+ Started GET "/assets/token-input-facebook.self.css?body=1" for ::1 at 2015-10-27 12:58:06 +0100
4064
+
4065
+
4066
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-10-27 12:58:06 +0100
4067
+
4068
+
4069
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-10-27 12:58:06 +0100
4070
+
4071
+
4072
+ Started GET "/assets/jquery.tokeninput.self.js?body=1" for ::1 at 2015-10-27 12:58:06 +0100
4073
+
4074
+
4075
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-10-27 12:58:06 +0100
4076
+
4077
+
4078
+ Started GET "/items" for 127.0.0.1 at 2015-10-27 12:58:44 +0100
4079
+ Processing by ItemsController#index as HTML
4080
+ Item Load (1.9ms) SELECT "items".* FROM "items"
4081
+ Rendered items/index.html.erb within layouts/application (28.9ms)
4082
+ Completed 200 OK in 297ms (Views: 260.1ms | ActiveRecord: 2.3ms)
4083
+
4084
+
4085
+ Started GET "/assets/token-input-facebook.self.css?body=1" for 127.0.0.1 at 2015-10-27 12:58:45 +0100
4086
+
4087
+
4088
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:58:45 +0100
4089
+
4090
+
4091
+ Started GET "/assets/jquery.tokeninput.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:58:45 +0100
4092
+
4093
+
4094
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:58:45 +0100
4095
+
4096
+
4097
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:58:45 +0100
4098
+
4099
+
4100
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-10-27 12:58:45 +0100
4101
+
4102
+
4103
+ Started GET "/items/1/edit" for 127.0.0.1 at 2015-10-27 12:58:46 +0100
4104
+ Processing by ItemsController#edit as HTML
4105
+ Parameters: {"id"=>"1"}
4106
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 1]]
4107
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
4108
+ Rendered items/_form.html.erb (33808.3ms)
4109
+ Rendered items/edit.html.erb within layouts/application (33815.1ms)
4110
+ Completed 200 OK in 33853ms (Views: 33840.5ms | ActiveRecord: 0.9ms)
4111
+
4112
+
4113
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-10-27 12:59:20 +0100
4114
+
4115
+
4116
+ Started GET "/assets/token-input-facebook.self.css?body=1" for 127.0.0.1 at 2015-10-27 12:59:20 +0100
4117
+
4118
+
4119
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:59:20 +0100
4120
+
4121
+
4122
+ Started GET "/assets/jquery.tokeninput.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:59:20 +0100
4123
+
4124
+
4125
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:59:20 +0100
4126
+
4127
+
4128
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-10-27 12:59:20 +0100
4129
+
4130
+
4131
+ Started GET "/items/1/edit" for 127.0.0.1 at 2015-10-27 13:05:30 +0100
4132
+ Processing by ItemsController#edit as HTML
4133
+ Parameters: {"id"=>"1"}
4134
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 1]]
4135
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
4136
+ Rendered items/_form.html.erb (152928.6ms)
4137
+ Rendered items/edit.html.erb within layouts/application (152930.3ms)
4138
+ Completed 200 OK in 152980ms (Views: 152981.5ms | ActiveRecord: 0.3ms)
4139
+
4140
+
4141
+ Started GET "/assets/token-input-facebook.self.css?body=1" for 127.0.0.1 at 2015-10-27 13:08:03 +0100
4142
+
4143
+
4144
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:03 +0100
4145
+
4146
+
4147
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:03 +0100
4148
+
4149
+
4150
+ Started GET "/assets/jquery.tokeninput.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:03 +0100
4151
+
4152
+
4153
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:03 +0100
4154
+
4155
+
4156
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-10-27 13:08:03 +0100
4157
+
4158
+
4159
+ Started GET "/items/1/edit" for 127.0.0.1 at 2015-10-27 13:08:11 +0100
4160
+ Processing by ItemsController#edit as HTML
4161
+ Parameters: {"id"=>"1"}
4162
+ Item Load (0.5ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 1]]
4163
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
4164
+ Rendered items/_form.html.erb (195.1ms)
4165
+ Rendered items/edit.html.erb within layouts/application (202.0ms)
4166
+ Completed 200 OK in 463ms (Views: 393.4ms | ActiveRecord: 4.0ms)
4167
+
4168
+
4169
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-10-27 13:08:12 +0100
4170
+
4171
+
4172
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:12 +0100
4173
+
4174
+
4175
+ Started GET "/assets/token-input-facebook.self.css?body=1" for 127.0.0.1 at 2015-10-27 13:08:12 +0100
4176
+
4177
+
4178
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:12 +0100
4179
+
4180
+
4181
+ Started GET "/assets/jquery.tokeninput.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:12 +0100
4182
+
4183
+
4184
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:12 +0100
4185
+
4186
+
4187
+ Started GET "/items/1/edit" for 127.0.0.1 at 2015-10-27 13:08:30 +0100
4188
+ Processing by ItemsController#edit as HTML
4189
+ Parameters: {"id"=>"1"}
4190
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 1]]
4191
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
4192
+ Rendered items/_form.html.erb (25600.6ms)
4193
+ Rendered items/edit.html.erb within layouts/application (25605.5ms)
4194
+ Completed 200 OK in 25842ms (Views: 25783.5ms | ActiveRecord: 2.7ms)
4195
+
4196
+
4197
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-10-27 13:08:56 +0100
4198
+
4199
+
4200
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:56 +0100
4201
+
4202
+
4203
+ Started GET "/assets/token-input-facebook.self.css?body=1" for 127.0.0.1 at 2015-10-27 13:08:56 +0100
4204
+
4205
+
4206
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:56 +0100
4207
+
4208
+
4209
+ Started GET "/assets/jquery.tokeninput.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:56 +0100
4210
+
4211
+
4212
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-10-27 13:08:56 +0100
4213
+ Connecting to database specified by database.yml