rails_workflow 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/app/concerns/rails_workflow/operations/default_runner.rb +1 -0
  3. data/app/concerns/rails_workflow/status.rb +9 -9
  4. data/app/controllers/rails_workflow/application_controller.rb +0 -7
  5. data/app/serializers/rails_workflow/operation_template_serializer.rb +4 -3
  6. data/app/serializers/rails_workflow/process_template_serializer.rb +11 -2
  7. data/app/services/rails_workflow/process_importer.rb +12 -3
  8. data/app/views/rails_workflow/processes/show.html.slim +1 -1
  9. data/lib/rails_workflow/engine.rb +6 -0
  10. data/lib/rails_workflow/version.rb +1 -1
  11. data/spec/dummy/db/schema.rb +41 -41
  12. data/spec/dummy/log/development.log +3383 -0
  13. data/spec/dummy/log/test.log +41425 -0
  14. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-0t26-30Y7Ljymed7SIGiZpyPSVUM9FKsF2-Q6Zj3K0.cache +2 -0
  15. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0WjRBgdQgIwpHLTDqsiED3t7210m3LN7Vaze0qrhpBQ.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0ZEBdKzM1DndZ-KW3RRqACDue_3xQWru84HtDputzb8.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0bdAexKHZxJz1mclGY_huZGmLcIm-oH6CPdO4Swf05M.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1_FZjqjBq8VkZI6lKUfi_ql38TKGElBqT4lA7y8J_k4.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1rzeAh8IcBUyQIjRwljAL-fxXIFM8gz2t7HI1RCdMgo.cache +2 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2HHjPwYhRbyzFWvW1YYYO5XQpIWg4O6dGiPCdCOpMAA.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2OYPNLWfRYpeP7S4uG6XDRcQCfckc5EHblbj4KuLNO0.cache +2 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2li86zgGTjwGvGdmPD4XnCEjUMf0unpcb0CVaIfubpc.cache +1 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/34z9pC1QDccciMMIsVARxArykM_n1BSFsyVCg07v6ds.cache +1 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3nf1M_Bo7D9ofL5dr3HrFcUrztxUN2p4hvsPL4VeBJc.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/41j4p_6Jnp6I0Pk5pl9qjKu8Q765Jf2n2hmOGxn9CXY.cache +1 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4UTYze_hjB4-oqZH0bVchD2ZEy03EyttQxCOm4mxx-E.cache +2 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4d3eiNYtqU2CdbHsHFUWxOAiS17qj5rvItqyrYgXdx4.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4nNbBrMa6IennBH629f3n2oM4HdRpw9LqlTHfKiLo_U.cache +2 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5A6j0oQr1i4ybAgoXkXPZgqDusp9a8gA_7vR6j1TUU0.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5kpa33xK16V8bIwks37hwWsClgNiugdGev22rg4Jlnc.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8EjbfeoJNrRTrw1AJPsTnLwW82ifool5D7ZuUvitR4s.cache +2 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8LB5KFJaPhPK7G1wiWbnAT72v55yVv0zGpEQPhz2e7M.cache +2 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8RdFDCpDCOLpvD0dLyzueLiXkwz95hThzD8SoJM1lwU.cache +2 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8WWeUu-Yv33-6NxJSjeSEowkhziOcMaNGU3Vj5DN7i4.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9AyPwg1o1sqUhL1CNMN0eC5RxTrXxKTOwcUCKpETfm8.cache +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9_MuKR67sOccAV31rDwA9RTNkhSElD_TONVzAjpgzRY.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/AvAiXS_Os_pK0QHxQvBR_gGxIyEaIR1D6S0FmeDpqNc.cache +2 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BbXPWoo_U2DuFRGaXFFAqN1LLpm-ZEAR9OeUXSlfLzQ.cache +1 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CUnycDAMuUqGcqbqFlp_sJtj4jqEHqr56HCI7KS9iRo.cache +1 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DMGoh0ROldF23HFKKM_mOR-L87BKIfAHx8bDahEL_Rg.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +2 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EOtUF4WU3bBbha_FIZsDd8jRjhSyyIHfy8Bd8gnhH6Q.cache +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/F10rXfGsaqgFX-pG0Q9IwlIElG-catLfXWJm0ekCsBs.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FVYJvuaY2efDRdvsugdsVQAgEVihsey0UTnLr6s3xso.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FYtbWKYLdKatw9K2fEalJtmRA_B1NKreEiXcuk_5eY4.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FaTiEBu_6rtIejTZcrF1IYaeKtbbWELM1T6vrJ44FI4.cache +1 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FfOFJpy2xyHx7FLzExLpmkF40yc8jUmKAfWJjM-zpis.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HEn1cMuWOqyBnAWmc2B3F2i-3Ib6HyPJBjQ_rnUsnj4.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HF92GH9HaLu_k0sL7CjZmdMt3jdxwbE1g2DEove5U_o.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HdbdC-CMZyLhOO378ujDfEMTFGIGNF2p1qvbTYhLNLM.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/IozOTDMbKJbV898seubI8jQ-A2CKmsZTQoVY2JEvtxM.cache +1 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JDzw-3Rf7GQdypuRj1w1shlPhHsXkieMJ4XyC4lhuLY.cache +2 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JWeKTslQdLcNRNsdUWpFaWnrgRSVioecoqTZ1VCN3Pg.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JeF-vEDcuIMWTQh6clsC1-hXnMzSSD6YzjllC2kBdds.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KLqySEWGCsl2HumT39cFdhGk44JScpN9TFMfsoAe9Gk.cache +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KuxqbgIPHvAgS7YemePCrq5uoRINVBIhrv6EU96kUZ4.cache +1 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LbkE2RvUhFFRMWL4t6HxJ4uuD3aaYmMwszlG3K3rUPs.cache +1 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/NyB0VN1u0QPD-iGukbsp6cheSzcpUSU4zdAfgi-w5Zk.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +2 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OcC1qqYrHVo00rpBvYAsdlcwCk0bYxa1rcnVpkdM7E0.cache +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PgbxpkPF4rE1QgQj8fH1EDeprlnyot-sLuqeyzPCfE8.cache +2 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QgoP8wD6Dc9I0d2BFriI6MtPN-_wWKM-z14SXp9j9_k.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QldLVddYO1oGc8Fz556Frmh_celAQ8CNIMKVX68Ha7M.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/RKu63ZOfUTZhvOQQ2M7IGqQ4tU6wU4WRBKz-Lpr02J8.cache +2 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Ru2dt9d5z2XllFZhGTJ8QxkxpzRobkRh7TFHLYM56Mc.cache +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SGR5337agbnKVnN87_tdDhjz0x0Mzt8yY3BpTENgQWE.cache +1 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Sfq8AhnnFgpdPVrwVQ5wy4JT9JmxS2Mjdy2yJ-kK4kg.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SyiiM4KbTO7G1gecwKZ_30Jy_8Xl-JrhfY-uXA5GYfw.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UARm1gcqVVQjg0g5oAGIvXnJLxj5XEG-ZJ0SDXVher8.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UYqGeV1afq62tNp5eOd1xvivbSc5aO2wzZC8Vbb0b84.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/V_P82tkgRs67QwGgFSIHbltVGn_q53fMawefXOeTIZY.cache +1 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Vdjm3fx_L3dob5Qs6jzN17OazmomKz4heRaFFI9SdDk.cache +1 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W09Qckjx4rmOQIVxPgIQzTX2WlbIkAzfeDXHUjOv1U4.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W8XJCExmvo3pcJ8etRJ0SJvUP8lyDjoSiI3aZbyG_XQ.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/YzgxA1AXts4Xgg-tgaa-xcN8_d4pbcs5M0HAPMWenII.cache +3 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZEGu15tq6BQtxWV_Pp9Q16hvrTEW5zTafr8csUo6Smk.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZuxmVXrkvQJ-l6jfrusLv-y8IrlTYDg_ImyvkZ4ay4Q.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZwWJrN_TaT7u4eIPZvnhJjHv61kOQmVKwYfg_BJaLCs.cache +1 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/_DZhXkN7ACQ4EH8cMN19qrSXSfv2nWLdKAEVblBu-bc.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/_cJzeg5_L8-ixCEL7xK0PLn8R33jEzN0QSb5PC7QfX0.cache +1 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/_llP8hq9kgQpq08ht-ZzM8YNWya21JCfscc4glnFJO0.cache +1 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/_uR6Quz4bQ6voLf2N-_TFdA8dTDoQx9CVpe0Ro4jSGw.cache +1 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bdqqmZaaw6NZg115k-OaZGPXDrfSpNEnVfEYFzsdtcA.cache +4 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bp4XoVE3PKP-EO03cP3JMUsslR6pr2Z8JkiitK4hRaI.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bw4ZvE1bEYxYcI6PdEf056imgb75MJi70YS3RpNhI6M.cache +1 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bzI66y0_8F2Rrx3govJ1q3nqGKnoPL5JZHDgc_0dThY.cache +1 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dbTXeWEVAXX6Lhjrvzyivn3ISs5OZtUp_Ol8SKp2c-I.cache +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dvvQLPYvgepLw3a-j4ygFGFr5GnYIxJnT4solUKIO5w.cache +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ePibKvAnuNY0P_fdB-sXXAmPgEezQV6eiKWN88iY9oI.cache +1 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eXSYhVdoW7qFIZnTfHMYFervp0WWgabwOSTjZ9N9ZAY.cache +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/evwJiRD6hTdr71n3j4fd_lquDUoKFCmRQWTVqIGRK5g.cache +2 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ggMqMBfbj5qQdF8t6mhsd4a70BRd9TAtbJyUAEq7HsA.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hG_-R7LMoEgqRYW7JaDg_AQJXI7_Xfabzmj2ptFmV8o.cache +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +2 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ilT1x6v2ucFMbx51P6DF5Ve-G4IkTxvQgpOKwSzm14U.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iwklfZz4LgGdiI_t5tZGBFEeJjII-UUvXEOsvw1TyGc.cache +1 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jDIOgqJ_bzIbgDkvj7VfQQ1DqqQI0s1PbfiGPJv6lmw.cache +1 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jG95QSsKZ60J-pOog7tTm1QiopbBkPFcI7AQ2z76erw.cache +2 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jrIZzP9sWe22V6pidXLPjzzr3j0hoXCLBMB_LH23V_Q.cache +1 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/js13bpLzT_cVK2XRAsYmYf1nrceY_5tBXMtg9Z58ijs.cache +1 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kC_8-tKK7YGZWX5Qqd3VQN_PwiS3KboodvkDG5aql7Y.cache +2 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kpdKVBiOraH-VncnqQNnWt_S2lo5iJDG9St_0fYGirA.cache +2 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/l5gUlvzQXhtzOsfa9xOegZFUzVUT9juRrJou7YQ1W0w.cache +2 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lsn0oGmRk1_1eXeA3F-wr5ux0QZRDTYAty6KC-B9FVk.cache +2 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lus5e3Ke7srfwDt7DAScKxb6YLD9UpJMtAZpG84fClU.cache +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/n2bzYICAGySK5xTI1wnCgrtM4s_YSs9VnzhCm1ce5AE.cache +2 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/n71Mxhg2x6gSfq3wS5U0HFJdH3hOoqQeNu4TH-gT2o0.cache +2 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +2 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oOzFhrKVSdtde-qyKt_9MgCbIiVuK1J2vwrn_bcnnII.cache +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ohI--RBLzw2q2IgWpo0oGwUbvugleSSLZvNBL6PZIYc.cache +1 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oln7u7pKQtFZVa88WlstRHHLwV9qn3JZo8kZqWwcJqM.cache +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/p4Koi0InHDwADwgjdwYcXocRJkjoEtV_qNCoW6U_DvA.cache +3 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pfBDLRJkAyQh8RFtaSCo9bjp0Y9zOzL73tQBVZRMH4E.cache +2 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pnFwiOUBUAjfIs8U_x47C-5NUsnxFqU1zf25YrlX2A4.cache +1 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/puzHGx2KT6lOcnTv-RbwJVobisxR3Mi2eDLyJjDzd-s.cache +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qZ6DEjARZ4BMHOBZAAG48Af01U9uwSWQ-aKovt6WoJU.cache +1 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qxg9kD3wzo0XrL3CK43iYHqR8CCPhnwJgEudiZzUaM4.cache +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/r6SazKTW_mykuP1YP5rMaaGiOOLdVBlrwJcUCgjiaJ4.cache +2 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rI41mkj6seM33cWlioVJSmSh0akLITfajbsH_JubMsg.cache +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rJbvSHrYRoKzpyFTkFNc5wiWzPJDXouyACBsFURh7vg.cache +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rmX0NUs6UIdpQXS2hyUoZ9CLqqIqWguZnedP3jbR8qI.cache +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sKQ9i_AwELmOqmVqdTqs0paXRJSF51wZqIltk-iJHIA.cache +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/slYSQdBrtNEyzF_fVDjdFKpqspaHb2CF2jkdETJschI.cache +2 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +2 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tj-o4wkkq3ziLrKwIameQdaUBJZQ9BiasXeYTvM5tjM.cache +2 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/twsRjVZcqK0e9mpv4LEwrTKr9imgbSqARnD6JBBQq_g.cache +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uPRDIU8UE95N6pwNOKBJ8hTMBA46Hv-NUCJ22v5lQYk.cache +2 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vkmK1haX-wfcoSmhotSxDARyhpHKY9lYo0nC4rgfqiQ.cache +2 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/whFhIx2mpmnlE4ltpNluSyOOqwAuDz0618oDBctXMpo.cache +1 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wtLMIoApowAxFLAJGlLWZ2MSrtKpe-tQpMytTxu1vE0.cache +2 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xMxUf-KAidfguWXgISOnL7wk-Y0QZxDTxRcFTbGB798.cache +1 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zF66bQ5ahCG1PNNB8Efv0axEU6ANZKOwO_OJ7JtCAes.cache +2 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zLBYrDHjxce7dBHa_u9TrN135a7wH6C0O-TJKvceRjk.cache +0 -0
  134. data/spec/serializers/process_template_serializer_spec.rb +33 -0
  135. data/spec/services/process_importer_spec.rb +112 -37
  136. data/spec/support/jsons/broken_parent_process_template.json +63 -0
  137. data/spec/support/jsons/parent_process_template.json +98 -0
  138. data/spec/support/jsons/process_template.json +2 -2
  139. metadata +248 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13578e628767e17f817b949ec491a1a8250aebf4
4
- data.tar.gz: b645cb6885642e653d733e7abba06a9b212b2eea
3
+ metadata.gz: 1db95d376f20257075301d6e95a199429e78e490
4
+ data.tar.gz: 3de2e6d705dfa30474db9243d5fdb0dfe50fe348
5
5
  SHA512:
6
- metadata.gz: bbc6cd94c1709f3ccd551ec2dae71a0f3ffc0083ff21ae5ba602debbeb664b9b32c4190e6f41ce29d3443a65b8d629dcb01b2de930bdd581a605ff59e9e913fd
7
- data.tar.gz: eb2b961eae1310f9d06080c9ab163a6b0eb3000d20f431c12c5cb5ac9c47e63707db3361efb003fea4f69ffd854ede0ce1ea22a85a94665c6dcf214240887220
6
+ metadata.gz: 7c1a4e7d29cdaeadc54e5e28305a4695bd706e9339be5e1936b76be476e72014f3aeaf55e2af6d2a1d22b635e5fa7d76e8a8c307e41763a0137cccd8795ec045
7
+ data.tar.gz: ca6af36d8cbba7d49e03bf0f8fd69c0c3705834f336133cb476c77edbbec63880459ac2db47d03c29f8fe9580b0a5ce7e289d83219c6319a3fd5ac9d9728e2c3
@@ -65,6 +65,7 @@ module RailsWorkflow
65
65
  end
66
66
 
67
67
  if status
68
+ context.save
68
69
  complete
69
70
  end
70
71
 
@@ -4,6 +4,15 @@ module RailsWorkflow
4
4
  module Status
5
5
  extend ActiveSupport::Concern
6
6
 
7
+ NOT_STARTED = 0
8
+ IN_PROGRESS = 1
9
+ DONE = 2
10
+ WAITING = 3
11
+ ERROR = 4
12
+ CANCELED = 5
13
+ SKIPPED = 6
14
+ ROLLBACK = 7
15
+
7
16
  module ClassMethods
8
17
  def all_statuses
9
18
  (NOT_STARTED..ROLLBACK).to_a
@@ -28,15 +37,6 @@ module RailsWorkflow
28
37
 
29
38
  included do
30
39
 
31
- NOT_STARTED = 0
32
- IN_PROGRESS = 1
33
- DONE = 2
34
- WAITING = 3
35
- ERROR = 4
36
- CANCELED = 5
37
- SKIPPED = 6
38
- ROLLBACK = 7
39
-
40
40
  def incomplete_statuses
41
41
  [NOT_STARTED, IN_PROGRESS, WAITING]
42
42
  end
@@ -1,11 +1,4 @@
1
1
  module RailsWorkflow
2
2
  class ApplicationController < ::ApplicationController
3
- before_filter only: [:index, :show, :edit] do
4
- RailsWorkflow::OperationTemplate.inheritance_column = nil
5
- RailsWorkflow::Operation.inheritance_column = nil
6
- RailsWorkflow::ProcessTemplate.inheritance_column = nil
7
- end
8
-
9
- # before_action :authenticate_user!
10
3
  end
11
4
  end
@@ -2,10 +2,11 @@ module RailsWorkflow
2
2
  class OperationTemplateSerializer < ActiveModel::Serializer
3
3
  attributes :uuid, :title, :source, :dependencies, :operation_class,
4
4
  :async, :assignment_id, :assignment_type, :kind, :role, :group, :instruction,
5
- :is_background, :type, :partial_name, :version, :tag
5
+ :is_background, :type, :partial_name, :version, :tag, :child_process
6
6
 
7
- # todo add child_process search by guid
8
- # has_one :child_process, serializer: RailsWorkflow::ProcessTemplateSerializer
7
+ def child_process
8
+ object.child_process.try(:uuid)
9
+ end
9
10
 
10
11
  def dependencies
11
12
  object.dependencies.each do |d|
@@ -2,11 +2,10 @@ module RailsWorkflow
2
2
  class ProcessTemplateSerializer < ActiveModel::Serializer
3
3
  attributes :uuid, :title, :source,
4
4
  :manager_class, :process_class, :type,
5
- :partial_name, :version, :tag
5
+ :partial_name, :version, :tag, :child_processes
6
6
 
7
7
  has_many :operations, serializer: RailsWorkflow::OperationTemplateSerializer
8
8
 
9
-
10
9
  def process_class
11
10
  object.read_attribute :process_class
12
11
  end
@@ -14,5 +13,15 @@ module RailsWorkflow
14
13
  def manager_class
15
14
  object.read_attribute :manager_class
16
15
  end
16
+
17
+ def child_processes
18
+ children = object.operations.map(&:child_process).compact.uniq
19
+ unless children.blank?
20
+ ActiveModel::ArraySerializer.new(
21
+ children,
22
+ each_serializer: ProcessTemplateSerializer
23
+ ).as_json
24
+ end || []
25
+ end
17
26
  end
18
27
  end
@@ -8,7 +8,11 @@ module RailsWorkflow
8
8
  process = ProcessTemplate.
9
9
  where(uuid: @json['uuid']).first_or_create!
10
10
 
11
- process.attributes = @json.except('operations')
11
+ @json['child_processes'] && @json['child_processes'].each do |child_process|
12
+ ProcessImporter.new({"process_template" => child_process}).process
13
+ end
14
+
15
+ process.attributes = @json.except('operations', 'child_processes')
12
16
  process.save
13
17
 
14
18
  operations = []
@@ -19,7 +23,12 @@ module RailsWorkflow
19
23
  operation = process.
20
24
  operations.where(uuid: operation_json['uuid']).first_or_create!
21
25
 
22
- operation.attributes = operation_json
26
+ operation.attributes = operation_json.except('child_process')
27
+ if (operation_json['child_process'].present?)
28
+ child_template = ProcessTemplate.find_by_uuid(operation_json['child_process'])
29
+ raise ActiveRecord::RecordNotFound, "Operation #{operation.title} child process template not found by UUID" if child_template.blank?
30
+ operation.child_process = child_template
31
+ end
23
32
  operation.save
24
33
 
25
34
  ids_to_delete.delete(operation.id)
@@ -33,7 +42,7 @@ module RailsWorkflow
33
42
  operations.each do |operation|
34
43
  operation.dependencies.each do |d|
35
44
  d['id'] = OperationTemplate.
36
- find_by_uuid(operation['uuid']).try(:id)
45
+ find_by_uuid(d['uuid']).try(:id)
37
46
 
38
47
  d.delete("uuid")
39
48
  end
@@ -113,7 +113,7 @@ ol.breadcrumb.alert-warning
113
113
  tr
114
114
  td
115
115
  strong Parent Process
116
- td = link_to parent_operation.title, parent_process
116
+ td = link_to parent_operation.title, process_path(parent_process)
117
117
  tr
118
118
  td
119
119
  strong Parent Operation
@@ -2,6 +2,12 @@ module RailsWorkflow
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace RailsWorkflow
4
4
 
5
+ config.to_prepare do
6
+ Dir.glob(Rails.root + "app/**/rails_workflow/*.rb").each do |c|
7
+ require_dependency(c)
8
+ end
9
+ end
10
+
5
11
  config.generators do |g|
6
12
  g.template_engine :slim
7
13
  g.test_framework :rspec, :fixture => false
@@ -1,3 +1,3 @@
1
1
  module RailsWorkflow
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
@@ -19,14 +19,14 @@ ActiveRecord::Schema.define(version: 20150630174700) do
19
19
  create_table "leads", force: :cascade do |t|
20
20
  t.integer "sales_contact_id"
21
21
  t.text "offer"
22
- t.string "name"
22
+ t.string "name", limit: 255
23
23
  t.datetime "created_at"
24
24
  t.datetime "updated_at"
25
25
  end
26
26
 
27
27
  create_table "rails_workflow_contexts", force: :cascade do |t|
28
28
  t.integer "parent_id"
29
- t.string "parent_type"
29
+ t.string "parent_type", limit: 255
30
30
  t.text "body"
31
31
  t.datetime "created_at"
32
32
  t.datetime "updated_at"
@@ -35,10 +35,10 @@ ActiveRecord::Schema.define(version: 20150630174700) do
35
35
  add_index "rails_workflow_contexts", ["parent_id", "parent_type"], name: "index_rails_workflow_contexts_on_parent_id_and_parent_type", using: :btree
36
36
 
37
37
  create_table "rails_workflow_errors", force: :cascade do |t|
38
- t.string "message"
38
+ t.string "message", limit: 255
39
39
  t.text "stack_trace"
40
40
  t.integer "parent_id"
41
- t.string "parent_type"
41
+ t.string "parent_type", limit: 255
42
42
  t.datetime "created_at"
43
43
  t.datetime "updated_at"
44
44
  t.boolean "resolved"
@@ -47,27 +47,27 @@ ActiveRecord::Schema.define(version: 20150630174700) do
47
47
  add_index "rails_workflow_errors", ["parent_id", "parent_type"], name: "index_rails_workflow_errors_on_parent_id_and_parent_type", using: :btree
48
48
 
49
49
  create_table "rails_workflow_operation_templates", force: :cascade do |t|
50
- t.string "title"
51
- t.string "version"
52
- t.string "uuid"
53
- t.string "tag"
50
+ t.string "title", limit: 255
54
51
  t.text "source"
55
52
  t.text "dependencies"
56
- t.string "operation_class"
53
+ t.string "operation_class", limit: 255
57
54
  t.integer "process_template_id"
58
55
  t.datetime "created_at"
59
56
  t.datetime "updated_at"
60
57
  t.boolean "async"
61
58
  t.integer "child_process_id"
62
59
  t.integer "assignment_id"
63
- t.string "assignment_type"
64
- t.string "kind"
65
- t.string "role"
66
- t.string "group"
60
+ t.string "assignment_type", limit: 255
61
+ t.string "kind", limit: 255
62
+ t.string "role", limit: 255
63
+ t.string "group", limit: 255
67
64
  t.text "instruction"
68
- t.boolean "is_background"
69
- t.string "type"
70
- t.string "partial_name"
65
+ t.boolean "is_background", default: true
66
+ t.string "type", limit: 255
67
+ t.string "partial_name", limit: 255
68
+ t.string "version"
69
+ t.string "tag"
70
+ t.uuid "uuid"
71
71
  end
72
72
 
73
73
  add_index "rails_workflow_operation_templates", ["process_template_id"], name: "index_rails_workflow_operation_templates_on_process_template_id", using: :btree
@@ -76,9 +76,7 @@ ActiveRecord::Schema.define(version: 20150630174700) do
76
76
  create_table "rails_workflow_operations", force: :cascade do |t|
77
77
  t.integer "status"
78
78
  t.boolean "async"
79
- t.string "version"
80
- t.string "tag"
81
- t.string "title"
79
+ t.string "title", limit: 255
82
80
  t.datetime "created_at"
83
81
  t.datetime "updated_at"
84
82
  t.integer "process_id"
@@ -86,64 +84,66 @@ ActiveRecord::Schema.define(version: 20150630174700) do
86
84
  t.text "dependencies"
87
85
  t.integer "child_process_id"
88
86
  t.integer "assignment_id"
89
- t.string "assignment_type"
87
+ t.string "assignment_type", limit: 255
90
88
  t.datetime "assigned_at"
91
- t.string "type"
89
+ t.string "type", limit: 255
92
90
  t.boolean "is_active"
93
91
  t.datetime "completed_at"
94
92
  t.boolean "is_background"
93
+ t.string "version"
94
+ t.string "tag"
95
95
  end
96
96
 
97
97
  add_index "rails_workflow_operations", ["process_id"], name: "index_rails_workflow_operations_on_process_id", using: :btree
98
98
  add_index "rails_workflow_operations", ["template_id"], name: "index_rails_workflow_operations_on_template_id", using: :btree
99
99
 
100
100
  create_table "rails_workflow_process_templates", force: :cascade do |t|
101
- t.string "title"
101
+ t.string "title", limit: 255
102
102
  t.text "source"
103
- t.string "uuid"
104
- t.string "version"
105
- t.string "tag"
106
- t.string "manager_class"
107
- t.string "process_class"
103
+ t.string "manager_class", limit: 255
104
+ t.string "process_class", limit: 255
108
105
  t.datetime "created_at"
109
106
  t.datetime "updated_at"
110
- t.string "type"
111
- t.string "partial_name"
107
+ t.string "type", limit: 255
108
+ t.string "partial_name", limit: 255
109
+ t.string "version"
110
+ t.string "tag"
111
+ t.uuid "uuid"
112
112
  end
113
113
 
114
114
  add_index "rails_workflow_process_templates", ["uuid"], name: "index_rails_workflow_process_templates_on_uuid", using: :btree
115
115
 
116
116
  create_table "rails_workflow_processes", force: :cascade do |t|
117
117
  t.integer "status"
118
- t.string "version"
119
- t.string "tag"
120
118
  t.boolean "async"
121
- t.string "title"
119
+ t.string "title", limit: 255
122
120
  t.datetime "created_at"
123
121
  t.datetime "updated_at"
124
122
  t.integer "template_id"
125
- t.string "type"
123
+ t.string "type", limit: 255
124
+ t.string "version"
125
+ t.string "tag"
126
126
  end
127
127
 
128
128
  create_table "sales_contacts", force: :cascade do |t|
129
129
  t.text "message"
130
- t.string "email"
130
+ t.string "email", limit: 255
131
131
  t.datetime "created_at"
132
132
  t.datetime "updated_at"
133
133
  end
134
134
 
135
135
  create_table "users", force: :cascade do |t|
136
- t.string "email", default: "", null: false
137
- t.string "encrypted_password", default: "", null: false
138
- t.string "reset_password_token"
136
+ t.string "email", limit: 255, default: "", null: false
137
+ t.string "encrypted_password", limit: 255, default: "", null: false
138
+ t.string "reset_password_token", limit: 255
139
139
  t.datetime "reset_password_sent_at"
140
140
  t.datetime "remember_created_at"
141
- t.integer "sign_in_count", default: 0, null: false
141
+ t.integer "sign_in_count", default: 0, null: false
142
142
  t.datetime "current_sign_in_at"
143
143
  t.datetime "last_sign_in_at"
144
- t.string "current_sign_in_ip"
145
- t.string "last_sign_in_ip"
146
- t.string "role"
144
+ t.inet "current_sign_in_ip"
145
+ t.inet "last_sign_in_ip"
146
+ t.string "role", limit: 255
147
147
  t.datetime "created_at"
148
148
  t.datetime "updated_at"
149
149
  end
@@ -145981,3 +145981,3386 @@ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
145981
145981
  Rendered text template (0.1ms)
145982
145982
  Sent data Some Process Template.json (1.5ms)
145983
145983
  Completed 200 OK in 28ms (Views: 1.2ms | ActiveRecord: 1.5ms)
145984
+
145985
+
145986
+ Started GET "/workflow" for 127.0.0.1 at 2015-09-10 23:24:49 +0400
145987
+ ActiveRecord::SchemaMigration Load (14.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
145988
+ Processing by RailsWorkflow::OperationsController#index as HTML
145989
+ Completed 401 Unauthorized in 4506ms
145990
+
145991
+
145992
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-09-10 23:24:55 +0400
145993
+ Processing by Devise::SessionsController#new as HTML
145994
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (14.8ms)
145995
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (55.2ms)
145996
+ Completed 200 OK in 821ms (Views: 766.4ms | ActiveRecord: 23.5ms)
145997
+
145998
+
145999
+ Started GET "/assets/scaffold.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:24:56 +0400
146000
+
146001
+
146002
+ Started GET "/assets/sales_contacts.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:24:56 +0400
146003
+
146004
+
146005
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:24:56 +0400
146006
+
146007
+
146008
+ Started GET "/assets/leads.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:24:56 +0400
146009
+
146010
+
146011
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:24:56 +0400
146012
+
146013
+
146014
+ Started GET "/assets/leads.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:24:56 +0400
146015
+
146016
+
146017
+ Started GET "/assets/sales_contacts.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:24:56 +0400
146018
+
146019
+
146020
+ Started POST "/users/sign_in" for 127.0.0.1 at 2015-09-10 23:26:18 +0400
146021
+ Processing by Devise::SessionsController#create as HTML
146022
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"vlJ3Ns7jOZrbRR43fH6gDXhLr7iYhGDxnFuDHbXUXMpDJiq7VrUvMQKhSAMqNk+tryVGlVynsZvXlaAuc0Hm+g==", "user"=>{"email"=>"admin@test.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
146023
+ User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["email", "admin@test.com"]]
146024
+  (0.3ms) BEGIN
146025
+ SQL (1.4ms) UPDATE "users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5 [["last_sign_in_at", "2015-02-20 15:23:59.705342"], ["current_sign_in_at", "2015-09-10 19:26:18.247950"], ["sign_in_count", 3], ["updated_at", "2015-09-10 19:26:18.259450"], ["id", 1]]
146026
+  (1.7ms) COMMIT
146027
+ Redirected to http://localhost:5000/workflow/
146028
+ Completed 302 Found in 142ms (ActiveRecord: 6.0ms)
146029
+
146030
+
146031
+ Started GET "/workflow/" for 127.0.0.1 at 2015-09-10 23:26:18 +0400
146032
+ Processing by RailsWorkflow::OperationsController#index as HTML
146033
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146034
+ RailsWorkflow::Operation Load (5.8ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."status" = 3 ORDER BY "rails_workflow_operations"."created_at" DESC
146035
+ RailsWorkflow::Process Load (8.5ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 292]]
146036
+ RailsWorkflow::OperationTemplate Load (15.6ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
146037
+ RailsWorkflow::Process Load (0.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 291]]
146038
+ CACHE (0.1ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
146039
+ RailsWorkflow::Process Load (0.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 273]]
146040
+ CACHE (0.1ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
146041
+ RailsWorkflow::Process Load (0.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 258]]
146042
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
146043
+ RailsWorkflow::Process Load (0.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 257]]
146044
+ CACHE (0.1ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
146045
+ RailsWorkflow::Process Load (0.7ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 250]]
146046
+ CACHE (0.1ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
146047
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 249]]
146048
+ CACHE (0.1ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
146049
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 248]]
146050
+ CACHE (0.1ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
146051
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 201]]
146052
+ CACHE (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
146053
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 200]]
146054
+ RailsWorkflow::OperationTemplate Load (0.6ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 63]]
146055
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operations/index.html.slim within layouts/rails_workflow/application (379.8ms)
146056
+ Completed 200 OK in 796ms (Views: 673.7ms | ActiveRecord: 40.9ms)
146057
+
146058
+
146059
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:19 +0400
146060
+
146061
+
146062
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:26:19 +0400
146063
+
146064
+
146065
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:19 +0400
146066
+
146067
+
146068
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:19 +0400
146069
+
146070
+
146071
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:19 +0400
146072
+
146073
+
146074
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:26:19 +0400
146075
+
146076
+
146077
+ Started GET "/workflow/config" for 127.0.0.1 at 2015-09-10 23:26:24 +0400
146078
+ Processing by RailsWorkflow::ProcessTemplatesController#index as HTML
146079
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146080
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (41.1ms)
146081
+ RailsWorkflow::ProcessTemplate Load (2.1ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" ORDER BY "rails_workflow_process_templates"."id" DESC
146082
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/index.html.slim within layouts/rails_workflow/application (222.1ms)
146083
+ Completed 200 OK in 366ms (Views: 350.5ms | ActiveRecord: 3.9ms)
146084
+
146085
+
146086
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:25 +0400
146087
+
146088
+
146089
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:25 +0400
146090
+
146091
+
146092
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:25 +0400
146093
+
146094
+
146095
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:26:25 +0400
146096
+
146097
+
146098
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:25 +0400
146099
+
146100
+
146101
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:26:25 +0400
146102
+
146103
+
146104
+ Started GET "/workflow/config/24/operation_templates" for 127.0.0.1 at 2015-09-10 23:26:30 +0400
146105
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
146106
+ Parameters: {"process_template_id"=>"24"}
146107
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146108
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146109
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
146110
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
146111
+  (0.6ms) SELECT "rails_workflow_operation_templates"."title" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 59]]
146112
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146113
+  (0.3ms) SELECT "rails_workflow_operation_templates"."title" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 60]]
146114
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (177.3ms)
146115
+ Completed 200 OK in 327ms (Views: 300.9ms | ActiveRecord: 2.7ms)
146116
+
146117
+
146118
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:30 +0400
146119
+
146120
+
146121
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:31 +0400
146122
+
146123
+
146124
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:31 +0400
146125
+
146126
+
146127
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:26:31 +0400
146128
+
146129
+
146130
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:26:31 +0400
146131
+
146132
+
146133
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:26:31 +0400
146134
+
146135
+
146136
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:26:35 +0400
146137
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
146138
+ Parameters: {"id"=>"24"}
146139
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146140
+ RailsWorkflow::ProcessTemplate Load (1.1ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146141
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
146142
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146143
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
146144
+ RailsWorkflow::OperationTemplate Load (2.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
146145
+ RailsWorkflow::OperationTemplate Load (1.1ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
146146
+ Completed 500 Internal Server Error in 65ms
146147
+
146148
+ NoMethodError (undefined method `map' for nil:NilClass):
146149
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
146150
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
146151
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:53:in `as_json'
146152
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:90:in `jsonify'
146153
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146154
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146155
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146156
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146157
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146158
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146159
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146160
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146161
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146162
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146163
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146164
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146165
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146166
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146167
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146168
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146169
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146170
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146171
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146172
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146173
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146174
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146175
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
146176
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
146177
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
146178
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
146179
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
146180
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
146181
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
146182
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
146183
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
146184
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
146185
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
146186
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:43:in `render_to_string'
146187
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
146188
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
146189
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
146190
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
146191
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
146192
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
146193
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146194
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146195
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146196
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146197
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146198
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146199
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146200
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146201
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146202
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
146203
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
146204
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146205
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146206
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146207
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146208
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
146209
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
146210
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
146211
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146212
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
146213
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
146214
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
146215
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
146216
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
146217
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
146218
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
146219
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
146220
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
146221
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
146222
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
146223
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
146224
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
146225
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
146226
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
146227
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
146228
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
146229
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146230
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146231
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146232
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146233
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146234
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
146235
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
146236
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
146237
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146238
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146239
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146240
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146241
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
146242
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
146243
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
146244
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
146245
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
146246
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
146247
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
146248
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
146249
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
146250
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
146251
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
146252
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
146253
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
146254
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
146255
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
146256
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
146257
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
146258
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
146259
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146260
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
146261
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
146262
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
146263
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
146264
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
146265
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
146266
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
146267
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
146268
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
146269
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
146270
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
146271
+ request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
146272
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
146273
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
146274
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
146275
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
146276
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146277
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
146278
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
146279
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146280
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
146281
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146282
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
146283
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
146284
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
146285
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
146286
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
146287
+
146288
+
146289
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (60.7ms)
146290
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (83.7ms)
146291
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
146292
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (165.1ms)
146293
+
146294
+
146295
+ Started GET "/workflow/config/24/operation_templates/60" for 127.0.0.1 at 2015-09-10 23:27:32 +0400
146296
+ Processing by RailsWorkflow::OperationTemplatesController#show as HTML
146297
+ Parameters: {"process_template_id"=>"24", "id"=>"60"}
146298
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146299
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
146300
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146301
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
146302
+  (0.4ms) SELECT "rails_workflow_operation_templates"."title" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 59]]
146303
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/show.html.slim within layouts/rails_workflow/application (124.8ms)
146304
+ Completed 200 OK in 270ms (Views: 257.4ms | ActiveRecord: 1.6ms)
146305
+
146306
+
146307
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:33 +0400
146308
+
146309
+
146310
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:33 +0400
146311
+
146312
+
146313
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:33 +0400
146314
+
146315
+
146316
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:33 +0400
146317
+
146318
+
146319
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:33 +0400
146320
+
146321
+
146322
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:33 +0400
146323
+
146324
+
146325
+ Started GET "/workflow/config/24/operation_templates/61" for 127.0.0.1 at 2015-09-10 23:27:38 +0400
146326
+ Processing by RailsWorkflow::OperationTemplatesController#show as HTML
146327
+ Parameters: {"process_template_id"=>"24", "id"=>"61"}
146328
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146329
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 61]]
146330
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146331
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
146332
+  (0.4ms) SELECT "rails_workflow_operation_templates"."title" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 60]]
146333
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/show.html.slim within layouts/rails_workflow/application (8.5ms)
146334
+ Completed 200 OK in 143ms (Views: 130.0ms | ActiveRecord: 1.6ms)
146335
+
146336
+
146337
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:39 +0400
146338
+
146339
+
146340
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:39 +0400
146341
+
146342
+
146343
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:39 +0400
146344
+
146345
+
146346
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:39 +0400
146347
+
146348
+
146349
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:39 +0400
146350
+
146351
+
146352
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:39 +0400
146353
+
146354
+
146355
+ Started GET "/workflow/config" for 127.0.0.1 at 2015-09-10 23:27:48 +0400
146356
+ Processing by RailsWorkflow::ProcessTemplatesController#index as HTML
146357
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146358
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
146359
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" ORDER BY "rails_workflow_process_templates"."id" DESC
146360
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/index.html.slim within layouts/rails_workflow/application (50.5ms)
146361
+ Completed 200 OK in 185ms (Views: 177.6ms | ActiveRecord: 0.9ms)
146362
+
146363
+
146364
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:48 +0400
146365
+
146366
+
146367
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:48 +0400
146368
+
146369
+
146370
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:48 +0400
146371
+
146372
+
146373
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:48 +0400
146374
+
146375
+
146376
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:48 +0400
146377
+
146378
+
146379
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:48 +0400
146380
+
146381
+
146382
+ Started GET "/workflow/config/25/operation_templates" for 127.0.0.1 at 2015-09-10 23:27:51 +0400
146383
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
146384
+ Parameters: {"process_template_id"=>"25"}
146385
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146386
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146387
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
146388
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
146389
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (16.6ms)
146390
+ Completed 200 OK in 156ms (Views: 143.9ms | ActiveRecord: 1.3ms)
146391
+
146392
+
146393
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:51 +0400
146394
+
146395
+
146396
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:51 +0400
146397
+
146398
+
146399
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:51 +0400
146400
+
146401
+
146402
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:51 +0400
146403
+
146404
+
146405
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:51 +0400
146406
+
146407
+
146408
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:51 +0400
146409
+
146410
+
146411
+ Started GET "/workflow/config/25/operation_templates/58" for 127.0.0.1 at 2015-09-10 23:27:53 +0400
146412
+ Processing by RailsWorkflow::OperationTemplatesController#show as HTML
146413
+ Parameters: {"process_template_id"=>"25", "id"=>"58"}
146414
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146415
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 58]]
146416
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146417
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
146418
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/show.html.slim within layouts/rails_workflow/application (5.5ms)
146419
+ Completed 200 OK in 237ms (Views: 226.0ms | ActiveRecord: 1.0ms)
146420
+
146421
+
146422
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:53 +0400
146423
+
146424
+
146425
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:53 +0400
146426
+
146427
+
146428
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:54 +0400
146429
+
146430
+
146431
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:54 +0400
146432
+
146433
+
146434
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:27:54 +0400
146435
+
146436
+
146437
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:27:54 +0400
146438
+
146439
+
146440
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:28:34 +0400
146441
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
146442
+ Parameters: {"id"=>"24"}
146443
+ User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146444
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146445
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
146446
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146447
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
146448
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
146449
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
146450
+ Completed 500 Internal Server Error in 51ms
146451
+
146452
+ NoMethodError (undefined method `map' for nil:NilClass):
146453
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
146454
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
146455
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:53:in `as_json'
146456
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:90:in `jsonify'
146457
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146458
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146459
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146460
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146461
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146462
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146463
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146464
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146465
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146466
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146467
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146468
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146469
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146470
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146471
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146472
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146473
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146474
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146475
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146476
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146477
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146478
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146479
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
146480
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
146481
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
146482
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
146483
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
146484
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
146485
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
146486
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
146487
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
146488
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
146489
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
146490
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:43:in `render_to_string'
146491
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
146492
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
146493
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
146494
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
146495
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
146496
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
146497
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146498
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146499
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146500
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146501
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146502
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146503
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146504
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146505
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146506
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
146507
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
146508
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146509
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146510
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146511
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146512
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
146513
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
146514
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
146515
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146516
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
146517
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
146518
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
146519
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
146520
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
146521
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
146522
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
146523
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
146524
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
146525
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
146526
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
146527
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
146528
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
146529
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
146530
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
146531
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
146532
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
146533
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146534
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146535
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146536
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146537
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146538
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
146539
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
146540
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
146541
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146542
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146543
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146544
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146545
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
146546
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
146547
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
146548
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
146549
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
146550
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
146551
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
146552
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
146553
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
146554
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
146555
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
146556
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
146557
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
146558
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
146559
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
146560
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
146561
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
146562
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
146563
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146564
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
146565
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
146566
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
146567
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
146568
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
146569
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
146570
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
146571
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
146572
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
146573
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
146574
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
146575
+ request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
146576
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
146577
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
146578
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
146579
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
146580
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146581
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
146582
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
146583
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146584
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
146585
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146586
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
146587
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
146588
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
146589
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
146590
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
146591
+
146592
+
146593
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (63.3ms)
146594
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (96.2ms)
146595
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.2ms)
146596
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (180.3ms)
146597
+
146598
+
146599
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:28:41 +0400
146600
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
146601
+ Parameters: {"id"=>"24"}
146602
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146603
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146604
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
146605
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146606
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
146607
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
146608
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
146609
+ Completed 500 Internal Server Error in 284340ms
146610
+
146611
+ NoMethodError (undefined method `map' for nil:NilClass):
146612
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
146613
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
146614
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:53:in `as_json'
146615
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:90:in `jsonify'
146616
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146617
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146618
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146619
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146620
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146621
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146622
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146623
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146624
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146625
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146626
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146627
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146628
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146629
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146630
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146631
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146632
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146633
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146634
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146635
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146636
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146637
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146638
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
146639
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
146640
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
146641
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
146642
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
146643
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
146644
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
146645
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
146646
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
146647
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
146648
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
146649
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:43:in `render_to_string'
146650
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
146651
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
146652
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
146653
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
146654
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
146655
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
146656
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146657
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146658
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146659
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146660
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146661
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146662
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146663
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146664
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146665
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
146666
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
146667
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146668
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146669
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146670
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146671
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
146672
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
146673
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
146674
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146675
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
146676
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
146677
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
146678
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
146679
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
146680
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
146681
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
146682
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
146683
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
146684
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
146685
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
146686
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
146687
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
146688
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
146689
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
146690
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
146691
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
146692
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146693
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146694
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146695
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146696
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146697
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
146698
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
146699
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
146700
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146701
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146702
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146703
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146704
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
146705
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
146706
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
146707
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
146708
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
146709
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
146710
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
146711
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
146712
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
146713
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
146714
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
146715
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
146716
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
146717
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
146718
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
146719
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
146720
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
146721
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
146722
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146723
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
146724
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
146725
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
146726
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
146727
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
146728
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
146729
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
146730
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
146731
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
146732
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
146733
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
146734
+ request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
146735
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
146736
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
146737
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
146738
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
146739
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146740
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
146741
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
146742
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146743
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
146744
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146745
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
146746
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
146747
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
146748
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
146749
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
146750
+
146751
+
146752
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (83.6ms)
146753
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (96.8ms)
146754
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.0ms)
146755
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (207.7ms)
146756
+
146757
+
146758
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:33:31 +0400
146759
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
146760
+ Parameters: {"id"=>"24"}
146761
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146762
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146763
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
146764
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146765
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
146766
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
146767
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
146768
+ Completed 500 Internal Server Error in 9076ms
146769
+
146770
+ NoMethodError (undefined method `map' for nil:NilClass):
146771
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
146772
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
146773
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:53:in `as_json'
146774
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:90:in `jsonify'
146775
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146776
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146777
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146778
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146779
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146780
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146781
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146782
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146783
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146784
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146785
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146786
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146787
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146788
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146789
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146790
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146791
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146792
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146793
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146794
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146795
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146796
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146797
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
146798
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
146799
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
146800
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
146801
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
146802
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
146803
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
146804
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
146805
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
146806
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
146807
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
146808
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:43:in `render_to_string'
146809
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
146810
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
146811
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
146812
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
146813
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
146814
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
146815
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146816
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146817
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146818
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146819
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146820
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146821
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146822
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146823
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146824
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
146825
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
146826
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146827
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146828
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146829
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146830
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
146831
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
146832
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
146833
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146834
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
146835
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
146836
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
146837
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
146838
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
146839
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
146840
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
146841
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
146842
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
146843
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
146844
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
146845
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
146846
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
146847
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
146848
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
146849
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
146850
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
146851
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146852
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146853
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146854
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146855
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146856
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
146857
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
146858
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
146859
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
146860
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
146861
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
146862
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
146863
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
146864
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
146865
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
146866
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
146867
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
146868
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
146869
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
146870
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
146871
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
146872
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
146873
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
146874
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
146875
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
146876
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
146877
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
146878
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
146879
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
146880
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
146881
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146882
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
146883
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
146884
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
146885
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
146886
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
146887
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
146888
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
146889
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
146890
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
146891
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
146892
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
146893
+ request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
146894
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
146895
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
146896
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
146897
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
146898
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146899
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
146900
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
146901
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
146902
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
146903
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
146904
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
146905
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
146906
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
146907
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
146908
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
146909
+
146910
+
146911
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (65.4ms)
146912
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (92.9ms)
146913
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (5.1ms)
146914
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (181.5ms)
146915
+
146916
+
146917
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:35:28 +0400
146918
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
146919
+ Parameters: {"id"=>"24"}
146920
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
146921
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
146922
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
146923
+ RailsWorkflow::ProcessTemplate Load (0.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
146924
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
146925
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
146926
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
146927
+ Completed 500 Internal Server Error in 34324ms
146928
+
146929
+ NoMethodError (undefined method `map' for nil:NilClass):
146930
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
146931
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
146932
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:53:in `as_json'
146933
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:90:in `jsonify'
146934
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146935
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146936
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146937
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146938
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146939
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146940
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146941
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146942
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146943
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146944
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146945
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
146946
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
146947
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
146948
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146949
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146950
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146951
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146952
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
146953
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
146954
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
146955
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
146956
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
146957
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
146958
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
146959
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
146960
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
146961
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
146962
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
146963
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
146964
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
146965
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
146966
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
146967
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:43:in `render_to_string'
146968
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
146969
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
146970
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
146971
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
146972
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
146973
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
146974
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146975
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
146976
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146977
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146978
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146979
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
146980
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
146981
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146982
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146983
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
146984
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
146985
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146986
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146987
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
146988
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
146989
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
146990
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
146991
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
146992
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
146993
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
146994
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
146995
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
146996
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
146997
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
146998
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
146999
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
147000
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
147001
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147002
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
147003
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
147004
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
147005
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
147006
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
147007
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
147008
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
147009
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
147010
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147011
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
147012
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
147013
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
147014
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
147015
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
147016
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
147017
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
147018
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147019
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
147020
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
147021
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
147022
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
147023
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
147024
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
147025
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
147026
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
147027
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
147028
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
147029
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
147030
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
147031
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
147032
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
147033
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
147034
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
147035
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
147036
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
147037
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
147038
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
147039
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
147040
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
147041
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
147042
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
147043
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
147044
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
147045
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
147046
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
147047
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
147048
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
147049
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
147050
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
147051
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
147052
+ request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
147053
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
147054
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
147055
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
147056
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
147057
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
147058
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
147059
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
147060
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
147061
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
147062
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
147063
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
147064
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
147065
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
147066
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
147067
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
147068
+
147069
+
147070
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (69.0ms)
147071
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (91.1ms)
147072
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.3ms)
147073
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (185.5ms)
147074
+
147075
+
147076
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:36:12 +0400
147077
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
147078
+ Parameters: {"id"=>"24"}
147079
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
147080
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
147081
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
147082
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
147083
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
147084
+ RailsWorkflow::OperationTemplate Load (0.7ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
147085
+ RailsWorkflow::OperationTemplate Load (0.6ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
147086
+ Completed 500 Internal Server Error in 9258ms
147087
+
147088
+ NoMethodError (undefined method `map' for nil:NilClass):
147089
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
147090
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
147091
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:53:in `as_json'
147092
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:90:in `jsonify'
147093
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
147094
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
147095
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
147096
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
147097
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
147098
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
147099
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
147100
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
147101
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
147102
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
147103
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
147104
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `block in jsonify'
147105
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `map'
147106
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:88:in `jsonify'
147107
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
147108
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
147109
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
147110
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
147111
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `block in jsonify'
147112
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `each'
147113
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `map'
147114
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:86:in `jsonify'
147115
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
147116
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
147117
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
147118
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
147119
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
147120
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
147121
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
147122
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
147123
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
147124
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
147125
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
147126
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:43:in `render_to_string'
147127
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
147128
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
147129
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
147130
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
147131
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
147132
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
147133
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
147134
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
147135
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
147136
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
147137
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
147138
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
147139
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
147140
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
147141
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
147142
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
147143
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
147144
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
147145
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
147146
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
147147
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
147148
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
147149
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
147150
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
147151
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
147152
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
147153
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
147154
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
147155
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
147156
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
147157
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
147158
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
147159
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
147160
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147161
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
147162
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
147163
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
147164
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
147165
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
147166
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
147167
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
147168
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
147169
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147170
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
147171
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
147172
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
147173
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
147174
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
147175
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
147176
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
147177
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147178
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
147179
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
147180
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
147181
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
147182
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
147183
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
147184
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
147185
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
147186
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
147187
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
147188
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
147189
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
147190
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
147191
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
147192
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
147193
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
147194
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
147195
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
147196
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
147197
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
147198
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
147199
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
147200
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
147201
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
147202
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
147203
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
147204
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
147205
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
147206
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
147207
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
147208
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
147209
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
147210
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
147211
+ request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
147212
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
147213
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
147214
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
147215
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
147216
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
147217
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
147218
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
147219
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
147220
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
147221
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
147222
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
147223
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
147224
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
147225
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
147226
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
147227
+
147228
+
147229
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (69.2ms)
147230
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (92.3ms)
147231
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.1ms)
147232
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (181.4ms)
147233
+
147234
+
147235
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:44:28 +0400
147236
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
147237
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
147238
+ Parameters: {"id"=>"24"}
147239
+ User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
147240
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
147241
+ RailsWorkflow::OperationTemplate Load (1.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
147242
+ RailsWorkflow::ProcessTemplate Load (1.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
147243
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
147244
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
147245
+ RailsWorkflow::OperationTemplate Load (1.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
147246
+ Completed 500 Internal Server Error in 283ms (ActiveRecord: 13.5ms)
147247
+
147248
+ NoMethodError (undefined method `map' for nil:NilClass):
147249
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
147250
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:16:in `block in as_json'
147251
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
147252
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
147253
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
147254
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:95:in `jsonify'
147255
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147256
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147257
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147258
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147259
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147260
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147261
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147262
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147263
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147264
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147265
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147266
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147267
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147268
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147269
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147270
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147271
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147272
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147273
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147274
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147275
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147276
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147277
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
147278
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
147279
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
147280
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
147281
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
147282
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
147283
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
147284
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
147285
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
147286
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
147287
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
147288
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
147289
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
147290
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
147291
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
147292
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
147293
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
147294
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147295
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147296
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
147297
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147298
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147299
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
147300
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
147301
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147302
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
147303
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
147304
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
147305
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
147306
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
147307
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
147308
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
147309
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
147310
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147311
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
147312
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
147313
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
147314
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
147315
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
147316
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
147317
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
147318
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
147319
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147320
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147321
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147322
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147323
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147324
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
147325
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
147326
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
147327
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147328
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147329
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147330
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147331
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
147332
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
147333
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
147334
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
147335
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
147336
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
147337
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
147338
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
147339
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
147340
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
147341
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
147342
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
147343
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
147344
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
147345
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
147346
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
147347
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
147348
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147349
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
147350
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
147351
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
147352
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
147353
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
147354
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
147355
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
147356
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
147357
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
147358
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
147359
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
147360
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
147361
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
147362
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
147363
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
147364
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
147365
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147366
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
147367
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
147368
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147369
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
147370
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147371
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
147372
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
147373
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
147374
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
147375
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
147376
+
147377
+
147378
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (52.9ms)
147379
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (74.7ms)
147380
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms)
147381
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (155.1ms)
147382
+
147383
+
147384
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:45:34 +0400
147385
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
147386
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
147387
+ Parameters: {"id"=>"24"}
147388
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
147389
+ RailsWorkflow::ProcessTemplate Load (0.8ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
147390
+ RailsWorkflow::OperationTemplate Load (0.6ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
147391
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
147392
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
147393
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
147394
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
147395
+ Completed 500 Internal Server Error in 235ms (ActiveRecord: 11.4ms)
147396
+
147397
+ NoMethodError (undefined method `map' for nil:NilClass):
147398
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
147399
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:16:in `block in as_json'
147400
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
147401
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
147402
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
147403
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:95:in `jsonify'
147404
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147405
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147406
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147407
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147408
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147409
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147410
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147411
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147412
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147413
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147414
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147415
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147416
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147417
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147418
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147419
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147420
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147421
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147422
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147423
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147424
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147425
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147426
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
147427
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
147428
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
147429
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
147430
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
147431
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
147432
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
147433
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
147434
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
147435
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
147436
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
147437
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
147438
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
147439
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
147440
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
147441
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
147442
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
147443
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147444
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147445
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
147446
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147447
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147448
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
147449
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
147450
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147451
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
147452
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
147453
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
147454
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
147455
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
147456
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
147457
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
147458
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
147459
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147460
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
147461
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
147462
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
147463
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
147464
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
147465
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
147466
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
147467
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
147468
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147469
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147470
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147471
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147472
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147473
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
147474
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
147475
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
147476
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147477
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147478
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147479
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147480
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
147481
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
147482
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
147483
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
147484
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
147485
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
147486
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
147487
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
147488
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
147489
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
147490
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
147491
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
147492
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
147493
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
147494
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
147495
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
147496
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
147497
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147498
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
147499
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
147500
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
147501
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
147502
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
147503
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
147504
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
147505
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
147506
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
147507
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
147508
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
147509
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
147510
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
147511
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
147512
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
147513
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
147514
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147515
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
147516
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
147517
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147518
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
147519
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147520
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
147521
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
147522
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
147523
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
147524
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
147525
+
147526
+
147527
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (55.5ms)
147528
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (76.1ms)
147529
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.1ms)
147530
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (155.8ms)
147531
+
147532
+
147533
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:45:58 +0400
147534
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
147535
+ Parameters: {"id"=>"24"}
147536
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
147537
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
147538
+ RailsWorkflow::OperationTemplate Load (0.6ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
147539
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
147540
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
147541
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
147542
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
147543
+ Completed 500 Internal Server Error in 25254ms (ActiveRecord: 3.4ms)
147544
+
147545
+ NoMethodError (undefined method `map' for nil:NilClass):
147546
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
147547
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:16:in `block in as_json'
147548
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
147549
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
147550
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
147551
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:95:in `jsonify'
147552
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147553
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147554
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147555
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147556
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147557
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147558
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147559
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147560
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147561
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147562
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147563
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147564
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147565
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147566
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147567
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147568
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147569
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147570
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147571
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147572
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147573
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147574
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
147575
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
147576
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
147577
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
147578
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
147579
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
147580
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
147581
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
147582
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
147583
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
147584
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
147585
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
147586
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
147587
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
147588
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
147589
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
147590
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
147591
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147592
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147593
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
147594
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147595
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147596
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
147597
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
147598
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147599
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
147600
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
147601
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
147602
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
147603
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
147604
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
147605
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
147606
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
147607
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147608
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
147609
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
147610
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
147611
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
147612
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
147613
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
147614
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
147615
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
147616
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147617
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147618
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147619
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147620
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147621
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
147622
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
147623
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
147624
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147625
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147626
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147627
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147628
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
147629
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
147630
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
147631
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
147632
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
147633
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
147634
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
147635
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
147636
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
147637
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
147638
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
147639
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
147640
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
147641
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
147642
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
147643
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
147644
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
147645
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147646
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
147647
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
147648
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
147649
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
147650
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
147651
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
147652
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
147653
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
147654
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
147655
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
147656
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
147657
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
147658
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
147659
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
147660
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
147661
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
147662
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147663
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
147664
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
147665
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147666
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
147667
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147668
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
147669
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
147670
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
147671
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
147672
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
147673
+
147674
+
147675
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (56.5ms)
147676
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (80.0ms)
147677
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.4ms)
147678
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (159.4ms)
147679
+
147680
+
147681
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:46:57 +0400
147682
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
147683
+ Parameters: {"id"=>"24"}
147684
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
147685
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
147686
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
147687
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
147688
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
147689
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
147690
+ RailsWorkflow::OperationTemplate Load (0.8ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
147691
+ Completed 500 Internal Server Error in 42193ms (ActiveRecord: 3.7ms)
147692
+
147693
+ NoMethodError (undefined method `map' for nil:NilClass):
147694
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
147695
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:16:in `block in as_json'
147696
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
147697
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
147698
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
147699
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:95:in `jsonify'
147700
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147701
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147702
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147703
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147704
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147705
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147706
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147707
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147708
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147709
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147710
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147711
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
147712
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
147713
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
147714
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147715
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147716
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147717
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147718
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
147719
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
147720
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
147721
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
147722
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
147723
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
147724
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
147725
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
147726
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
147727
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
147728
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
147729
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
147730
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
147731
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
147732
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
147733
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
147734
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
147735
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
147736
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
147737
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
147738
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
147739
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147740
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147741
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
147742
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147743
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147744
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
147745
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
147746
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147747
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
147748
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
147749
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
147750
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
147751
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
147752
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
147753
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
147754
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
147755
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147756
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
147757
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
147758
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
147759
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
147760
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
147761
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
147762
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
147763
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
147764
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147765
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147766
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147767
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147768
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147769
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
147770
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
147771
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
147772
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147773
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147774
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147775
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147776
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
147777
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
147778
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
147779
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
147780
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
147781
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
147782
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
147783
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
147784
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
147785
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
147786
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
147787
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
147788
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
147789
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
147790
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
147791
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
147792
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
147793
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147794
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
147795
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
147796
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
147797
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
147798
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
147799
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
147800
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
147801
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
147802
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
147803
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
147804
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
147805
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
147806
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
147807
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
147808
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
147809
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
147810
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147811
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
147812
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
147813
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147814
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
147815
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147816
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
147817
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
147818
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
147819
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
147820
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
147821
+
147822
+
147823
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (62.9ms)
147824
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (82.2ms)
147825
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.9ms)
147826
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (170.4ms)
147827
+
147828
+
147829
+ Started GET "/workflow/config/24/export" for 127.0.0.1 at 2015-09-10 23:48:10 +0400
147830
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
147831
+ Parameters: {"id"=>"24"}
147832
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
147833
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 24]]
147834
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 24]]
147835
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 25]]
147836
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 25]]
147837
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 59]]
147838
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 60]]
147839
+ Completed 404 Not Found in 66044ms (ActiveRecord: 2.5ms)
147840
+
147841
+ ActiveRecord::RecordNotFound (Couldn't find RailsWorkflow::OperationTemplate without an ID):
147842
+ activerecord (4.2.4) lib/active_record/relation/finder_methods.rb:421:in `find_with_ids'
147843
+ activerecord (4.2.4) lib/active_record/relation/finder_methods.rb:71:in `find'
147844
+ activerecord (4.2.4) lib/active_record/querying.rb:3:in `find'
147845
+ activerecord (4.2.4) lib/active_record/core.rb:131:in `find'
147846
+ /Users/maxim/workflow/rails_workflow/app/serializers/rails_workflow/operation_template_serializer.rb:14:in `block in dependencies'
147847
+ /Users/maxim/workflow/rails_workflow/app/serializers/rails_workflow/operation_template_serializer.rb:13:in `each'
147848
+ /Users/maxim/workflow/rails_workflow/app/serializers/rails_workflow/operation_template_serializer.rb:13:in `dependencies'
147849
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:160:in `block in attributes'
147850
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:159:in `each'
147851
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:159:in `each_with_object'
147852
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:159:in `attributes'
147853
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:284:in `serializable_object'
147854
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:23:in `block in serializable_object_with_notification'
147855
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
147856
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
147857
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:22:in `serializable_object_with_notification'
147858
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:43:in `block in serializable_object'
147859
+ activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map'
147860
+ activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `map'
147861
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
147862
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:240:in `serialize'
147863
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:181:in `block in associations'
147864
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:167:in `each'
147865
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:167:in `each_with_object'
147866
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:167:in `associations'
147867
+ active_model_serializers (0.9.3) lib/active_model/serializer.rb:285:in `serializable_object'
147868
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:12:in `block in as_json'
147869
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
147870
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
147871
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
147872
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
147873
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
147874
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
147875
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
147876
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
147877
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
147878
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
147879
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
147880
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
147881
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
147882
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
147883
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
147884
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
147885
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
147886
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
147887
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
147888
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
147889
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147890
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
147891
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
147892
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147893
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
147894
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
147895
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
147896
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147897
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
147898
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
147899
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
147900
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
147901
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
147902
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
147903
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
147904
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
147905
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
147906
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
147907
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
147908
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
147909
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
147910
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
147911
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
147912
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
147913
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
147914
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147915
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147916
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147917
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147918
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147919
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
147920
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
147921
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
147922
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
147923
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
147924
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
147925
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
147926
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
147927
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
147928
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
147929
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
147930
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
147931
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
147932
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
147933
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
147934
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
147935
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
147936
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
147937
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
147938
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
147939
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
147940
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
147941
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
147942
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
147943
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
147944
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
147945
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
147946
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
147947
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
147948
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
147949
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
147950
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
147951
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
147952
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
147953
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
147954
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
147955
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
147956
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
147957
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
147958
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
147959
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
147960
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147961
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
147962
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
147963
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
147964
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
147965
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
147966
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
147967
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
147968
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
147969
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
147970
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
147971
+
147972
+
147973
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (135.9ms)
147974
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (97.8ms)
147975
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.8ms)
147976
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (279.9ms)
147977
+
147978
+
147979
+ Started GET "/workflow/config" for 127.0.0.1 at 2015-09-10 23:49:21 +0400
147980
+ Processing by RailsWorkflow::ProcessTemplatesController#index as HTML
147981
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
147982
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (61.0ms)
147983
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" ORDER BY "rails_workflow_process_templates"."id" DESC
147984
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/index.html.slim within layouts/rails_workflow/application (323.2ms)
147985
+ Completed 200 OK in 1953ms (Views: 1914.4ms | ActiveRecord: 1.1ms)
147986
+
147987
+
147988
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:23 +0400
147989
+
147990
+
147991
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:23 +0400
147992
+
147993
+
147994
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:23 +0400
147995
+
147996
+
147997
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:23 +0400
147998
+
147999
+
148000
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:23 +0400
148001
+
148002
+
148003
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:23 +0400
148004
+
148005
+
148006
+ Started GET "/workflow/config/new" for 127.0.0.1 at 2015-09-10 23:49:28 +0400
148007
+ Processing by RailsWorkflow::ProcessTemplatesController#new as HTML
148008
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148009
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/_form.html.slim (237.6ms)
148010
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/new.html.slim within layouts/rails_workflow/application (311.8ms)
148011
+ Completed 200 OK in 577ms (Views: 564.5ms | ActiveRecord: 0.5ms)
148012
+
148013
+
148014
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:29 +0400
148015
+
148016
+
148017
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:29 +0400
148018
+
148019
+
148020
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:29 +0400
148021
+
148022
+
148023
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:29 +0400
148024
+
148025
+
148026
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:29 +0400
148027
+
148028
+
148029
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:29 +0400
148030
+
148031
+
148032
+ Started POST "/workflow/config" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148033
+ Processing by RailsWorkflow::ProcessTemplatesController#create as HTML
148034
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ujzCDqSFOPmll05otAxG0p1QG15pgaDxpLVs0aeKKGt0BrrpiTDEZ7v5hB6oHb/hIzv+Dr3nJIXekIQkUXUZjw==", "process_template"=>{"title"=>"Test Child Process", "manager_class"=>"RailsWorkflow::ProcessManager", "process_class"=>"RailsWorkflow::Process", "type"=>""}, "commit"=>"Save"}
148035
+ User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148036
+ Unpermitted parameters: utf8, authenticity_token, commit
148037
+  (0.3ms) BEGIN
148038
+ SQL (3.6ms) INSERT INTO "rails_workflow_process_templates" ("title", "manager_class", "process_class", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Test Child Process"], ["manager_class", "RailsWorkflow::ProcessManager"], ["process_class", "RailsWorkflow::Process"], ["type", ""], ["uuid", "632b761a-8a0c-cad2-fff4-39244169cf95"], ["created_at", "2015-09-10 19:49:35.079170"], ["updated_at", "2015-09-10 19:49:35.079170"]]
148039
+  (2.9ms) COMMIT
148040
+ Redirected to http://localhost:5000/workflow/config/32/operation_templates
148041
+ Completed 302 Found in 52ms (ActiveRecord: 8.2ms)
148042
+
148043
+
148044
+ Started GET "/workflow/config/32/operation_templates" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148045
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
148046
+ Parameters: {"process_template_id"=>"32"}
148047
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148048
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148049
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
148050
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 32]]
148051
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (202.4ms)
148052
+ Completed 200 OK in 463ms (Views: 439.8ms | ActiveRecord: 1.2ms)
148053
+
148054
+
148055
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148056
+
148057
+
148058
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148059
+
148060
+
148061
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148062
+
148063
+
148064
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148065
+
148066
+
148067
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148068
+
148069
+
148070
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:35 +0400
148071
+
148072
+
148073
+ Started GET "/workflow/config/32/operation_templates/new?operation_template%5Bkind%5D=default" for 127.0.0.1 at 2015-09-10 23:49:37 +0400
148074
+ Processing by RailsWorkflow::OperationTemplatesController#new as HTML
148075
+ Parameters: {"operation_template"=>{"kind"=>"default"}, "process_template_id"=>"32"}
148076
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148077
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148078
+ Unpermitted parameter: process_template_id
148079
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
148080
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE ("rails_workflow_process_templates"."id" != $1) [["id", 32]]
148081
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/_default_form.html.slim (168.5ms)
148082
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 32]]
148083
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/new.html.slim within layouts/rails_workflow/application (318.1ms)
148084
+ Completed 200 OK in 570ms (Views: 543.6ms | ActiveRecord: 1.7ms)
148085
+
148086
+
148087
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:38 +0400
148088
+
148089
+
148090
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:38 +0400
148091
+
148092
+
148093
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:38 +0400
148094
+
148095
+
148096
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:38 +0400
148097
+
148098
+
148099
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:38 +0400
148100
+
148101
+
148102
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:38 +0400
148103
+
148104
+
148105
+ Started POST "/workflow/config/32/operation_templates" for 127.0.0.1 at 2015-09-10 23:49:43 +0400
148106
+ Processing by RailsWorkflow::OperationTemplatesController#create as HTML
148107
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"RKgv2Hh8xt0BlbCIkUSNGihJor7r4qrbp0E9bkTO4uKKklc/Vck6Qx/7ev6NVXQpliJH7j+ELq/dZNWbsjHTBg==", "operation_template"=>{"kind"=>"default", "title"=>"Test Child Operation", "operation_class"=>"RailsWorkflow::Operation", "type"=>"", "partial_name"=>"", "child_process_id"=>"", "async"=>"0", "is_background"=>"1"}, "commit"=>"Save", "process_template_id"=>"32"}
148108
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148109
+ RailsWorkflow::ProcessTemplate Load (0.9ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148110
+ Unpermitted parameters: utf8, authenticity_token, commit, process_template_id
148111
+  (0.5ms) BEGIN
148112
+ SQL (5.0ms) INSERT INTO "rails_workflow_operation_templates" ("kind", "type", "title", "operation_class", "partial_name", "async", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["kind", "default"], ["type", ""], ["title", "Test Child Operation"], ["operation_class", "RailsWorkflow::Operation"], ["partial_name", ""], ["async", "f"], ["process_template_id", 32], ["uuid", "f32c4a12-6bc8-0413-a69a-41fa21cb1d44"], ["created_at", "2015-09-10 19:49:43.927929"], ["updated_at", "2015-09-10 19:49:43.927929"]]
148113
+  (0.6ms) COMMIT
148114
+ Redirected to http://localhost:5000/workflow/config/32/operation_templates
148115
+ Completed 302 Found in 64ms (ActiveRecord: 7.3ms)
148116
+
148117
+
148118
+ Started GET "/workflow/config/32/operation_templates" for 127.0.0.1 at 2015-09-10 23:49:43 +0400
148119
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
148120
+ Parameters: {"process_template_id"=>"32"}
148121
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148122
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148123
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
148124
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 32]]
148125
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (33.7ms)
148126
+ Completed 200 OK in 285ms (Views: 267.3ms | ActiveRecord: 1.1ms)
148127
+
148128
+
148129
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:44 +0400
148130
+
148131
+
148132
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:44 +0400
148133
+
148134
+
148135
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:44 +0400
148136
+
148137
+
148138
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:44 +0400
148139
+
148140
+
148141
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:44 +0400
148142
+
148143
+
148144
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:44 +0400
148145
+
148146
+
148147
+ Started GET "/workflow/config" for 127.0.0.1 at 2015-09-10 23:49:46 +0400
148148
+ Processing by RailsWorkflow::ProcessTemplatesController#index as HTML
148149
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148150
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.3ms)
148151
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" ORDER BY "rails_workflow_process_templates"."id" DESC
148152
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/index.html.slim within layouts/rails_workflow/application (66.2ms)
148153
+ Completed 200 OK in 292ms (Views: 281.7ms | ActiveRecord: 1.0ms)
148154
+
148155
+
148156
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:47 +0400
148157
+
148158
+
148159
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:47 +0400
148160
+
148161
+
148162
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:47 +0400
148163
+
148164
+
148165
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:47 +0400
148166
+
148167
+
148168
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:47 +0400
148169
+
148170
+
148171
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:47 +0400
148172
+
148173
+
148174
+ Started GET "/workflow/config/new" for 127.0.0.1 at 2015-09-10 23:49:49 +0400
148175
+ Processing by RailsWorkflow::ProcessTemplatesController#new as HTML
148176
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148177
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/_form.html.slim (20.6ms)
148178
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/new.html.slim within layouts/rails_workflow/application (29.9ms)
148179
+ Completed 200 OK in 286ms (Views: 274.4ms | ActiveRecord: 0.4ms)
148180
+
148181
+
148182
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:50 +0400
148183
+
148184
+
148185
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:50 +0400
148186
+
148187
+
148188
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:50 +0400
148189
+
148190
+
148191
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:50 +0400
148192
+
148193
+
148194
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:50 +0400
148195
+
148196
+
148197
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:50 +0400
148198
+
148199
+
148200
+ Started POST "/workflow/config" for 127.0.0.1 at 2015-09-10 23:49:55 +0400
148201
+ Processing by RailsWorkflow::ProcessTemplatesController#create as HTML
148202
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"pGOcqKMv5P3BhthCP5yd7nKz8fLemDirKHQzTSdT/jJqWeRPjpoYY9/oEjQjjWTdzNgUogr+vN9SUdu40azP1g==", "process_template"=>{"title"=>"Test Parent Process", "manager_class"=>"RailsWorkflow::ProcessManager", "process_class"=>"RailsWorkflow::Process", "type"=>""}, "commit"=>"Save"}
148203
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148204
+ Unpermitted parameters: utf8, authenticity_token, commit
148205
+  (1.1ms) BEGIN
148206
+ SQL (1.3ms) INSERT INTO "rails_workflow_process_templates" ("title", "manager_class", "process_class", "type", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Test Parent Process"], ["manager_class", "RailsWorkflow::ProcessManager"], ["process_class", "RailsWorkflow::Process"], ["type", ""], ["uuid", "3fab4b65-4a76-b9e7-fcbe-37fd1979a0ac"], ["created_at", "2015-09-10 19:49:56.017209"], ["updated_at", "2015-09-10 19:49:56.017209"]]
148207
+  (0.5ms) COMMIT
148208
+ Redirected to http://localhost:5000/workflow/config/33/operation_templates
148209
+ Completed 302 Found in 51ms (ActiveRecord: 3.5ms)
148210
+
148211
+
148212
+ Started GET "/workflow/config/33/operation_templates" for 127.0.0.1 at 2015-09-10 23:49:56 +0400
148213
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
148214
+ Parameters: {"process_template_id"=>"33"}
148215
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148216
+ RailsWorkflow::ProcessTemplate Load (0.8ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148217
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
148218
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148219
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (15.8ms)
148220
+ Completed 200 OK in 294ms (Views: 276.8ms | ActiveRecord: 1.5ms)
148221
+
148222
+
148223
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:56 +0400
148224
+
148225
+
148226
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:56 +0400
148227
+
148228
+
148229
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:56 +0400
148230
+
148231
+
148232
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:56 +0400
148233
+
148234
+
148235
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:56 +0400
148236
+
148237
+
148238
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:56 +0400
148239
+
148240
+
148241
+ Started GET "/workflow/config/33/operation_templates/new?operation_template%5Bkind%5D=default" for 127.0.0.1 at 2015-09-10 23:49:58 +0400
148242
+ Processing by RailsWorkflow::OperationTemplatesController#new as HTML
148243
+ Parameters: {"operation_template"=>{"kind"=>"default"}, "process_template_id"=>"33"}
148244
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148245
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148246
+ Unpermitted parameter: process_template_id
148247
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
148248
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE ("rails_workflow_process_templates"."id" != $1) [["id", 33]]
148249
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/_default_form.html.slim (37.1ms)
148250
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148251
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/new.html.slim within layouts/rails_workflow/application (65.6ms)
148252
+ Completed 200 OK in 335ms (Views: 313.0ms | ActiveRecord: 1.6ms)
148253
+
148254
+
148255
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:59 +0400
148256
+
148257
+
148258
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:59 +0400
148259
+
148260
+
148261
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:59 +0400
148262
+
148263
+
148264
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:59 +0400
148265
+
148266
+
148267
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:49:59 +0400
148268
+
148269
+
148270
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:49:59 +0400
148271
+
148272
+
148273
+ Started POST "/workflow/config/33/operation_templates" for 127.0.0.1 at 2015-09-10 23:50:05 +0400
148274
+ Processing by RailsWorkflow::OperationTemplatesController#create as HTML
148275
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"j8gR/QI0jVe3ggZ5E0I8H7C3h4JBL+SGrhPjl17WhItB8mkaL4FxyanszA8PU8UsDtxi0pVJYPLUNgtiqCm1bw==", "operation_template"=>{"kind"=>"default", "title"=>"Start Operation", "operation_class"=>"RailsWorkflow::Operation", "type"=>"", "partial_name"=>"", "child_process_id"=>"", "async"=>"0", "is_background"=>"1"}, "commit"=>"Save", "process_template_id"=>"33"}
148276
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148277
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148278
+ Unpermitted parameters: utf8, authenticity_token, commit, process_template_id
148279
+  (0.4ms) BEGIN
148280
+ SQL (0.4ms) INSERT INTO "rails_workflow_operation_templates" ("kind", "type", "title", "operation_class", "partial_name", "async", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["kind", "default"], ["type", ""], ["title", "Start Operation"], ["operation_class", "RailsWorkflow::Operation"], ["partial_name", ""], ["async", "f"], ["process_template_id", 33], ["uuid", "a6a86e9a-bd3f-e5f5-b5bb-c8e1eeac427d"], ["created_at", "2015-09-10 19:50:05.396451"], ["updated_at", "2015-09-10 19:50:05.396451"]]
148281
+  (0.6ms) COMMIT
148282
+ Redirected to http://localhost:5000/workflow/config/33/operation_templates
148283
+ Completed 302 Found in 49ms (ActiveRecord: 2.2ms)
148284
+
148285
+
148286
+ Started GET "/workflow/config/33/operation_templates" for 127.0.0.1 at 2015-09-10 23:50:05 +0400
148287
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
148288
+ Parameters: {"process_template_id"=>"33"}
148289
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148290
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148291
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
148292
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148293
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (22.9ms)
148294
+ Completed 200 OK in 281ms (Views: 265.2ms | ActiveRecord: 1.2ms)
148295
+
148296
+
148297
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:50:05 +0400
148298
+
148299
+
148300
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:05 +0400
148301
+
148302
+
148303
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:05 +0400
148304
+
148305
+
148306
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:06 +0400
148307
+
148308
+
148309
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:06 +0400
148310
+
148311
+
148312
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:50:06 +0400
148313
+
148314
+
148315
+ Started GET "/workflow/config/33/operation_templates/new?operation_template%5Bkind%5D=default" for 127.0.0.1 at 2015-09-10 23:50:09 +0400
148316
+ Processing by RailsWorkflow::OperationTemplatesController#new as HTML
148317
+ Parameters: {"operation_template"=>{"kind"=>"default"}, "process_template_id"=>"33"}
148318
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148319
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148320
+ Unpermitted parameter: process_template_id
148321
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
148322
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE ("rails_workflow_process_templates"."id" != $1) [["id", 33]]
148323
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/_default_form.html.slim (37.3ms)
148324
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148325
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/new.html.slim within layouts/rails_workflow/application (72.0ms)
148326
+ Completed 200 OK in 338ms (Views: 316.9ms | ActiveRecord: 1.8ms)
148327
+
148328
+
148329
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:09 +0400
148330
+
148331
+
148332
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:50:10 +0400
148333
+
148334
+
148335
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:10 +0400
148336
+
148337
+
148338
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:50:10 +0400
148339
+
148340
+
148341
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:10 +0400
148342
+
148343
+
148344
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:10 +0400
148345
+
148346
+
148347
+ Started POST "/workflow/config/33/operation_templates" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148348
+ Processing by RailsWorkflow::OperationTemplatesController#create as HTML
148349
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zbJGTbOniOrTWFMxDx0OxysV/y2PT7sEZb3X6Na+oKADiD6qnhJ0dM02mUcTDPf0lX4afVspP3AfmD8dIEGRRA==", "operation_template"=>{"kind"=>"default", "title"=>"Start Child Process", "operation_class"=>"RailsWorkflow::Operation", "type"=>"", "partial_name"=>"", "child_process_id"=>"32", "async"=>"0", "is_background"=>"1", "dependencies"=>{"0"=>{"id"=>"82", "statuses"=>["2"]}}}, "commit"=>"Save", "process_template_id"=>"33"}
148350
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148351
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148352
+ Unpermitted parameters: utf8, authenticity_token, commit, process_template_id
148353
+  (0.5ms) BEGIN
148354
+ SQL (0.5ms) INSERT INTO "rails_workflow_operation_templates" ("kind", "type", "title", "child_process_id", "operation_class", "partial_name", "async", "dependencies", "process_template_id", "uuid", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["kind", "default"], ["type", ""], ["title", "Start Child Process"], ["child_process_id", 32], ["operation_class", "RailsWorkflow::Operation"], ["partial_name", ""], ["async", "f"], ["dependencies", "[{\"id\":82,\"statuses\":[2]}]"], ["process_template_id", 33], ["uuid", "06123b30-7bc6-ae77-7841-34099d076ec2"], ["created_at", "2015-09-10 19:50:26.109892"], ["updated_at", "2015-09-10 19:50:26.109892"]]
148355
+  (0.5ms) COMMIT
148356
+ Redirected to http://localhost:5000/workflow/config/33/operation_templates
148357
+ Completed 302 Found in 73ms (ActiveRecord: 2.5ms)
148358
+
148359
+
148360
+ Started GET "/workflow/config/33/operation_templates" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148361
+ Processing by RailsWorkflow::OperationTemplatesController#index as HTML
148362
+ Parameters: {"process_template_id"=>"33"}
148363
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148364
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148365
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.2ms)
148366
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148367
+  (0.4ms) SELECT "rails_workflow_operation_templates"."title" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 82]]
148368
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148369
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/index.html.slim within layouts/rails_workflow/application (37.5ms)
148370
+ Completed 200 OK in 317ms (Views: 297.6ms | ActiveRecord: 2.0ms)
148371
+
148372
+
148373
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148374
+
148375
+
148376
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148377
+
148378
+
148379
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148380
+
148381
+
148382
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148383
+
148384
+
148385
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148386
+
148387
+
148388
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:50:26 +0400
148389
+
148390
+
148391
+ Started GET "/workflow/config/33/export" for 127.0.0.1 at 2015-09-10 23:50:31 +0400
148392
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
148393
+ Parameters: {"id"=>"33"}
148394
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148395
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148396
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148397
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148398
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 32]]
148399
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 82]]
148400
+ Completed 500 Internal Server Error in 12023ms (ActiveRecord: 2.4ms)
148401
+
148402
+ NoMethodError (undefined method `map' for nil:NilClass):
148403
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
148404
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:16:in `block in as_json'
148405
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
148406
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
148407
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
148408
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:95:in `jsonify'
148409
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148410
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148411
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148412
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148413
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
148414
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
148415
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
148416
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148417
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148418
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148419
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148420
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
148421
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
148422
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
148423
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148424
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148425
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148426
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148427
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148428
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148429
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148430
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148431
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
148432
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
148433
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
148434
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
148435
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
148436
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
148437
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
148438
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
148439
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
148440
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
148441
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
148442
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
148443
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
148444
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
148445
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
148446
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
148447
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
148448
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
148449
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
148450
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
148451
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
148452
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
148453
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
148454
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
148455
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
148456
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
148457
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
148458
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
148459
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
148460
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
148461
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
148462
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
148463
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
148464
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
148465
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
148466
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
148467
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
148468
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
148469
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
148470
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
148471
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
148472
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
148473
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
148474
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
148475
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
148476
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
148477
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
148478
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
148479
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
148480
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
148481
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
148482
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
148483
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
148484
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
148485
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
148486
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
148487
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
148488
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
148489
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
148490
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
148491
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
148492
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
148493
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
148494
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
148495
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
148496
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
148497
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
148498
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
148499
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
148500
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
148501
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
148502
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
148503
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
148504
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
148505
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
148506
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
148507
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
148508
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
148509
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
148510
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
148511
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
148512
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
148513
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
148514
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
148515
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
148516
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
148517
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
148518
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
148519
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
148520
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
148521
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
148522
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
148523
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
148524
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
148525
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
148526
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
148527
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
148528
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
148529
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
148530
+
148531
+
148532
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (63.3ms)
148533
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (88.7ms)
148534
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.6ms)
148535
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (175.8ms)
148536
+
148537
+
148538
+ Started GET "/workflow/config/33/export" for 127.0.0.1 at 2015-09-10 23:51:30 +0400
148539
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
148540
+ Parameters: {"id"=>"33"}
148541
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148542
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148543
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148544
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 82]]
148545
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148546
+ Completed 500 Internal Server Error in 2612ms (ActiveRecord: 7.5ms)
148547
+
148548
+ NoMethodError (undefined method `map' for nil:NilClass):
148549
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
148550
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:16:in `block in as_json'
148551
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
148552
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
148553
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
148554
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:95:in `jsonify'
148555
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148556
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148557
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148558
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148559
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
148560
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
148561
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
148562
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148563
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148564
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148565
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148566
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148567
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148568
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148569
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148570
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
148571
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
148572
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
148573
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
148574
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
148575
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
148576
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
148577
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
148578
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
148579
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
148580
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
148581
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
148582
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
148583
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
148584
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
148585
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
148586
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
148587
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
148588
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
148589
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
148590
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
148591
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
148592
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
148593
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
148594
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
148595
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
148596
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
148597
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
148598
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
148599
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
148600
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
148601
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
148602
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
148603
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
148604
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
148605
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
148606
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
148607
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
148608
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
148609
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
148610
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
148611
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
148612
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
148613
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
148614
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
148615
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
148616
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
148617
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
148618
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
148619
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
148620
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
148621
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
148622
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
148623
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
148624
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
148625
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
148626
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
148627
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
148628
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
148629
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
148630
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
148631
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
148632
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
148633
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
148634
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
148635
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
148636
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
148637
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
148638
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
148639
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
148640
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
148641
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
148642
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
148643
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
148644
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
148645
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
148646
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
148647
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
148648
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
148649
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
148650
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
148651
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
148652
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
148653
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
148654
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
148655
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
148656
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
148657
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
148658
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
148659
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
148660
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
148661
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
148662
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
148663
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
148664
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
148665
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
148666
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
148667
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
148668
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
148669
+
148670
+
148671
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (60.1ms)
148672
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (82.4ms)
148673
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.1ms)
148674
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (165.2ms)
148675
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
148676
+ Migrating to CreateWorkflowProcesses (20150630174700)
148677
+  (0.2ms) BEGIN
148678
+ SQL (7.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150630174700"]]
148679
+  (13.1ms) COMMIT
148680
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
148681
+  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148682
+ FROM pg_constraint c
148683
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148684
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148685
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148686
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148687
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148688
+ WHERE c.contype = 'f'
148689
+ AND t1.relname = 'leads'
148690
+ AND t3.nspname = ANY (current_schemas(false))
148691
+ ORDER BY c.conname
148692
+
148693
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148694
+ FROM pg_constraint c
148695
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148696
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148697
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148698
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148699
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148700
+ WHERE c.contype = 'f'
148701
+ AND t1.relname = 'rails_workflow_contexts'
148702
+ AND t3.nspname = ANY (current_schemas(false))
148703
+ ORDER BY c.conname
148704
+ 
148705
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148706
+ FROM pg_constraint c
148707
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148708
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148709
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148710
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148711
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148712
+ WHERE c.contype = 'f'
148713
+ AND t1.relname = 'rails_workflow_errors'
148714
+ AND t3.nspname = ANY (current_schemas(false))
148715
+ ORDER BY c.conname
148716
+
148717
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148718
+ FROM pg_constraint c
148719
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148720
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148721
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148722
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148723
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148724
+ WHERE c.contype = 'f'
148725
+ AND t1.relname = 'rails_workflow_operation_templates'
148726
+ AND t3.nspname = ANY (current_schemas(false))
148727
+ ORDER BY c.conname
148728
+ 
148729
+  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148730
+ FROM pg_constraint c
148731
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148732
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148733
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148734
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148735
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148736
+ WHERE c.contype = 'f'
148737
+ AND t1.relname = 'rails_workflow_operations'
148738
+ AND t3.nspname = ANY (current_schemas(false))
148739
+ ORDER BY c.conname
148740
+
148741
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148742
+ FROM pg_constraint c
148743
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148744
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148745
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148746
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148747
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148748
+ WHERE c.contype = 'f'
148749
+ AND t1.relname = 'rails_workflow_process_templates'
148750
+ AND t3.nspname = ANY (current_schemas(false))
148751
+ ORDER BY c.conname
148752
+ 
148753
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148754
+ FROM pg_constraint c
148755
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148756
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148757
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148758
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148759
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148760
+ WHERE c.contype = 'f'
148761
+ AND t1.relname = 'rails_workflow_processes'
148762
+ AND t3.nspname = ANY (current_schemas(false))
148763
+ ORDER BY c.conname
148764
+
148765
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148766
+ FROM pg_constraint c
148767
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148768
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148769
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148770
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148771
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148772
+ WHERE c.contype = 'f'
148773
+ AND t1.relname = 'sales_contacts'
148774
+ AND t3.nspname = ANY (current_schemas(false))
148775
+ ORDER BY c.conname
148776
+ 
148777
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148778
+ FROM pg_constraint c
148779
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148780
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148781
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148782
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148783
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148784
+ WHERE c.contype = 'f'
148785
+ AND t1.relname = 'users'
148786
+ AND t3.nspname = ANY (current_schemas(false))
148787
+ ORDER BY c.conname
148788
+
148789
+
148790
+
148791
+ Started GET "/workflow/config/33/export" for 127.0.0.1 at 2015-09-10 23:51:53 +0400
148792
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
148793
+ Parameters: {"id"=>"33"}
148794
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148795
+ RailsWorkflow::ProcessTemplate Load (0.5ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148796
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148797
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148798
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 32]]
148799
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 82]]
148800
+ Completed 500 Internal Server Error in 106109ms (ActiveRecord: 7.9ms)
148801
+
148802
+ NoMethodError (undefined method `map' for nil:NilClass):
148803
+ active_model_serializers (0.9.3) lib/active_model/array_serializer.rb:42:in `serializable_object'
148804
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:16:in `block in as_json'
148805
+ activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument'
148806
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:55:in `instrument'
148807
+ active_model_serializers (0.9.3) lib/active_model/serializable.rb:10:in `as_json'
148808
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:95:in `jsonify'
148809
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148810
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148811
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148812
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148813
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
148814
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
148815
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
148816
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148817
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148818
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148819
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148820
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `block in jsonify'
148821
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `map'
148822
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:93:in `jsonify'
148823
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148824
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148825
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148826
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148827
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `block in jsonify'
148828
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `each'
148829
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `map'
148830
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:91:in `jsonify'
148831
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:35:in `encode'
148832
+ activesupport (4.2.4) lib/active_support/json/encoding.rb:22:in `encode'
148833
+ activesupport (4.2.4) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
148834
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
148835
+ active_model_serializers (0.9.3) lib/action_controller/serialization.rb:53:in `block (2 levels) in <module:Serialization>'
148836
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
148837
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each_key'
148838
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:263:in `each'
148839
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
148840
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
148841
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:43:in `render_to_string'
148842
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:21:in `render_to_string'
148843
+ /Users/maxim/workflow/rails_workflow/app/controllers/rails_workflow/process_templates_controller.rb:25:in `export'
148844
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
148845
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
148846
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
148847
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
148848
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
148849
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
148850
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
148851
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
148852
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
148853
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
148854
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
148855
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
148856
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
148857
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
148858
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
148859
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
148860
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
148861
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
148862
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
148863
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
148864
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
148865
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
148866
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
148867
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
148868
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
148869
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
148870
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
148871
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
148872
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
148873
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
148874
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
148875
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
148876
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
148877
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
148878
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
148879
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
148880
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
148881
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
148882
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
148883
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
148884
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
148885
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
148886
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
148887
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
148888
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
148889
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
148890
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
148891
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
148892
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
148893
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
148894
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
148895
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
148896
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
148897
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
148898
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
148899
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
148900
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
148901
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
148902
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
148903
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
148904
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
148905
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
148906
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
148907
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
148908
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
148909
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
148910
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
148911
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
148912
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
148913
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
148914
+ request_store (1.2.0) lib/request_store/middleware.rb:8:in `call'
148915
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
148916
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
148917
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
148918
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
148919
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
148920
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
148921
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
148922
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
148923
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
148924
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
148925
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
148926
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
148927
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
148928
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
148929
+ /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
148930
+
148931
+
148932
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (76.3ms)
148933
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (21.2ms)
148934
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms)
148935
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (118.0ms)
148936
+
148937
+
148938
+ Started GET "/workflow/config/33/export" for 127.0.0.1 at 2015-09-10 23:53:49 +0400
148939
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
148940
+ Processing by RailsWorkflow::ProcessTemplatesController#export as HTML
148941
+ Parameters: {"id"=>"33"}
148942
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148943
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148944
+ RailsWorkflow::OperationTemplate Load (0.9ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 33]]
148945
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 32]]
148946
+ RailsWorkflow::OperationTemplate Load (0.6ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."process_template_id" = $1 ORDER BY "rails_workflow_operation_templates"."id" ASC [["process_template_id", 32]]
148947
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 82]]
148948
+ Rendered text template (0.1ms)
148949
+ Sent data Test Parent Process.json (11.8ms)
148950
+ Completed 200 OK in 408ms (Views: 11.4ms | ActiveRecord: 10.5ms)
148951
+
148952
+
148953
+ Started GET "/workflow/config/33" for 127.0.0.1 at 2015-09-10 23:54:09 +0400
148954
+ Processing by RailsWorkflow::ProcessTemplatesController#show as HTML
148955
+ Parameters: {"id"=>"33"}
148956
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
148957
+ RailsWorkflow::ProcessTemplate Load (0.6ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 33]]
148958
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (43.7ms)
148959
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/process_templates/show.html.slim within layouts/rails_workflow/application (241.3ms)
148960
+ Completed 200 OK in 1282ms (Views: 1243.1ms | ActiveRecord: 1.3ms)
148961
+
148962
+
148963
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:54:11 +0400
148964
+
148965
+
148966
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for 127.0.0.1 at 2015-09-10 23:54:11 +0400
148967
+
148968
+
148969
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:54:11 +0400
148970
+
148971
+
148972
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:54:11 +0400
148973
+
148974
+
148975
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:54:11 +0400
148976
+
148977
+
148978
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-09-10 23:54:11 +0400
148979
+ ActiveRecord::SchemaMigration Load (25.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
148980
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
148981
+  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148982
+ FROM pg_constraint c
148983
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148984
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148985
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148986
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148987
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
148988
+ WHERE c.contype = 'f'
148989
+ AND t1.relname = 'leads'
148990
+ AND t3.nspname = ANY (current_schemas(false))
148991
+ ORDER BY c.conname
148992
+ 
148993
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
148994
+ FROM pg_constraint c
148995
+ JOIN pg_class t1 ON c.conrelid = t1.oid
148996
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148997
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
148998
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
148999
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149000
+ WHERE c.contype = 'f'
149001
+ AND t1.relname = 'rails_workflow_contexts'
149002
+ AND t3.nspname = ANY (current_schemas(false))
149003
+ ORDER BY c.conname
149004
+
149005
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
149006
+ FROM pg_constraint c
149007
+ JOIN pg_class t1 ON c.conrelid = t1.oid
149008
+ JOIN pg_class t2 ON c.confrelid = t2.oid
149009
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149010
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
149011
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149012
+ WHERE c.contype = 'f'
149013
+ AND t1.relname = 'rails_workflow_errors'
149014
+ AND t3.nspname = ANY (current_schemas(false))
149015
+ ORDER BY c.conname
149016
+ 
149017
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
149018
+ FROM pg_constraint c
149019
+ JOIN pg_class t1 ON c.conrelid = t1.oid
149020
+ JOIN pg_class t2 ON c.confrelid = t2.oid
149021
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149022
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
149023
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149024
+ WHERE c.contype = 'f'
149025
+ AND t1.relname = 'rails_workflow_operation_templates'
149026
+ AND t3.nspname = ANY (current_schemas(false))
149027
+ ORDER BY c.conname
149028
+
149029
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
149030
+ FROM pg_constraint c
149031
+ JOIN pg_class t1 ON c.conrelid = t1.oid
149032
+ JOIN pg_class t2 ON c.confrelid = t2.oid
149033
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149034
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
149035
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149036
+ WHERE c.contype = 'f'
149037
+ AND t1.relname = 'rails_workflow_operations'
149038
+ AND t3.nspname = ANY (current_schemas(false))
149039
+ ORDER BY c.conname
149040
+ 
149041
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
149042
+ FROM pg_constraint c
149043
+ JOIN pg_class t1 ON c.conrelid = t1.oid
149044
+ JOIN pg_class t2 ON c.confrelid = t2.oid
149045
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149046
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
149047
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149048
+ WHERE c.contype = 'f'
149049
+ AND t1.relname = 'rails_workflow_process_templates'
149050
+ AND t3.nspname = ANY (current_schemas(false))
149051
+ ORDER BY c.conname
149052
+
149053
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
149054
+ FROM pg_constraint c
149055
+ JOIN pg_class t1 ON c.conrelid = t1.oid
149056
+ JOIN pg_class t2 ON c.confrelid = t2.oid
149057
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149058
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
149059
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149060
+ WHERE c.contype = 'f'
149061
+ AND t1.relname = 'rails_workflow_processes'
149062
+ AND t3.nspname = ANY (current_schemas(false))
149063
+ ORDER BY c.conname
149064
+ 
149065
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
149066
+ FROM pg_constraint c
149067
+ JOIN pg_class t1 ON c.conrelid = t1.oid
149068
+ JOIN pg_class t2 ON c.confrelid = t2.oid
149069
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149070
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
149071
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149072
+ WHERE c.contype = 'f'
149073
+ AND t1.relname = 'sales_contacts'
149074
+ AND t3.nspname = ANY (current_schemas(false))
149075
+ ORDER BY c.conname
149076
+
149077
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
149078
+ FROM pg_constraint c
149079
+ JOIN pg_class t1 ON c.conrelid = t1.oid
149080
+ JOIN pg_class t2 ON c.confrelid = t2.oid
149081
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149082
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
149083
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
149084
+ WHERE c.contype = 'f'
149085
+ AND t1.relname = 'users'
149086
+ AND t3.nspname = ANY (current_schemas(false))
149087
+ ORDER BY c.conname
149088
+ 
149089
+
149090
+
149091
+ Started GET "/" for ::1 at 2016-02-04 16:43:28 +0400
149092
+ ActiveRecord::SchemaMigration Load (26.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
149093
+ Processing by Rails::WelcomeController#index as HTML
149094
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.4/lib/rails/templates/rails/welcome/index.html.erb (4.6ms)
149095
+ Completed 200 OK in 29ms (Views: 28.1ms | ActiveRecord: 0.0ms)
149096
+
149097
+
149098
+ Started GET "/workflow/" for ::1 at 2016-02-04 16:43:33 +0400
149099
+ Processing by RailsWorkflow::OperationsController#index as HTML
149100
+ Completed 401 Unauthorized in 24ms (ActiveRecord: 0.0ms)
149101
+
149102
+
149103
+ Started GET "/users/sign_in" for ::1 at 2016-02-04 16:43:33 +0400
149104
+ Processing by Devise::SessionsController#new as HTML
149105
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/devise-3.5.2/app/views/devise/shared/_links.html.erb (1.2ms)
149106
+ Rendered /Users/maxim/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/devise-3.5.2/app/views/devise/sessions/new.html.erb within layouts/application (24.5ms)
149107
+ Completed 200 OK in 324ms (Views: 281.0ms | ActiveRecord: 29.3ms)
149108
+
149109
+
149110
+ Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2016-02-04 16:43:34 +0400
149111
+
149112
+
149113
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2016-02-04 16:43:34 +0400
149114
+
149115
+
149116
+ Started GET "/assets/sales_contacts.self.css?body=1" for ::1 at 2016-02-04 16:43:34 +0400
149117
+
149118
+
149119
+ Started GET "/assets/sales_contacts.self.js?body=1" for ::1 at 2016-02-04 16:43:34 +0400
149120
+
149121
+
149122
+ Started GET "/assets/leads.self.css?body=1" for ::1 at 2016-02-04 16:43:34 +0400
149123
+
149124
+
149125
+ Started GET "/assets/leads.self.js?body=1" for ::1 at 2016-02-04 16:43:34 +0400
149126
+
149127
+
149128
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2016-02-04 16:43:34 +0400
149129
+
149130
+
149131
+ Started POST "/users/sign_in" for ::1 at 2016-02-04 16:43:45 +0400
149132
+ Processing by Devise::SessionsController#create as HTML
149133
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"9n1c7joNsHxY3YR5GWVFv/xrNXQZbCBxG47clchqobqGdz4IgVtms4BHRzYHWtWhYQaR0EFopihvLuvocuogPQ==", "user"=>{"email"=>"admin@test.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
149134
+ User Load (25.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["email", "admin@test.com"]]
149135
+  (0.2ms) BEGIN
149136
+ SQL (1.8ms) UPDATE "users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "current_sign_in_ip" = $3, "sign_in_count" = $4, "updated_at" = $5 WHERE "users"."id" = $6 [["last_sign_in_at", "2015-09-10 19:26:18.247950"], ["current_sign_in_at", "2016-02-04 12:43:45.944498"], ["current_sign_in_ip", "::1/128"], ["sign_in_count", 4], ["updated_at", "2016-02-04 12:43:45.946238"], ["id", 1]]
149137
+  (12.7ms) COMMIT
149138
+ Redirected to http://localhost:3000/workflow/
149139
+ Completed 302 Found in 152ms (ActiveRecord: 40.2ms)
149140
+
149141
+
149142
+ Started GET "/workflow/" for ::1 at 2016-02-04 16:43:45 +0400
149143
+ Processing by RailsWorkflow::OperationsController#index as HTML
149144
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
149145
+ RailsWorkflow::Operation Load (4.8ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."status" = 3 ORDER BY "rails_workflow_operations"."created_at" DESC
149146
+ RailsWorkflow::Process Load (7.0ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 292]]
149147
+ RailsWorkflow::OperationTemplate Load (15.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149148
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 291]]
149149
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149150
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 273]]
149151
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149152
+ RailsWorkflow::Process Load (0.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 258]]
149153
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149154
+ RailsWorkflow::Process Load (0.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 257]]
149155
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149156
+ RailsWorkflow::Process Load (0.4ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 250]]
149157
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149158
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 249]]
149159
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149160
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 248]]
149161
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149162
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 201]]
149163
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149164
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 200]]
149165
+ RailsWorkflow::OperationTemplate Load (0.5ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 63]]
149166
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operations/index.html.slim within layouts/rails_workflow/application (257.1ms)
149167
+ Completed 200 OK in 406ms (Views: 311.7ms | ActiveRecord: 55.2ms)
149168
+
149169
+
149170
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-02-04 16:43:46 +0400
149171
+
149172
+
149173
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for ::1 at 2016-02-04 16:43:46 +0400
149174
+
149175
+
149176
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for ::1 at 2016-02-04 16:43:46 +0400
149177
+
149178
+
149179
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-02-04 16:43:46 +0400
149180
+
149181
+
149182
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for ::1 at 2016-02-04 16:43:46 +0400
149183
+
149184
+
149185
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for ::1 at 2016-02-04 16:43:46 +0400
149186
+
149187
+
149188
+ Started GET "/workflow/processes/291/operations/471" for ::1 at 2016-02-04 16:43:48 +0400
149189
+ Processing by RailsWorkflow::OperationsController#show as HTML
149190
+ Parameters: {"process_id"=>"291", "id"=>"471"}
149191
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
149192
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 471]]
149193
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 291]]
149194
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (4.0ms)
149195
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149196
+ RailsWorkflow::Context Load (21.9ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 471], ["parent_type", "RailsWorkflow::Operation"]]
149197
+ RailsWorkflow::ProcessTemplate Load (13.2ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 18]]
149198
+ RailsWorkflow::Operation Load (0.4ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 470]]
149199
+ CACHE (0.0ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 470]]
149200
+ CACHE (0.0ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 291]]
149201
+  (0.2ms) SELECT "rails_workflow_operation_templates"."title" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 50]]
149202
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 471]]
149203
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149204
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_context.html.slim (6.3ms)
149205
+ RailsWorkflow::Error Load (18.5ms) SELECT "rails_workflow_errors".* FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 471], ["parent_type", "RailsWorkflow::Operation"]]
149206
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operations/show.html.slim within layouts/rails_workflow/application (166.6ms)
149207
+ Completed 200 OK in 213ms (Views: 141.2ms | ActiveRecord: 65.9ms)
149208
+
149209
+
149210
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for ::1 at 2016-02-04 16:43:48 +0400
149211
+
149212
+
149213
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-02-04 16:43:48 +0400
149214
+
149215
+
149216
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for ::1 at 2016-02-04 16:43:48 +0400
149217
+
149218
+
149219
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for ::1 at 2016-02-04 16:43:48 +0400
149220
+
149221
+
149222
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for ::1 at 2016-02-04 16:43:48 +0400
149223
+
149224
+
149225
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-02-04 16:43:48 +0400
149226
+
149227
+
149228
+ Started GET "/workflow/config/18/operation_templates/51" for ::1 at 2016-02-04 16:43:51 +0400
149229
+ Processing by RailsWorkflow::OperationTemplatesController#show as HTML
149230
+ Parameters: {"process_template_id"=>"18", "id"=>"51"}
149231
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
149232
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149233
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 18]]
149234
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
149235
+  (0.9ms) SELECT "rails_workflow_operation_templates"."title" FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 [["id", 50]]
149236
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/show.html.slim within layouts/rails_workflow/application (14.1ms)
149237
+ Completed 200 OK in 63ms (Views: 55.1ms | ActiveRecord: 1.8ms)
149238
+
149239
+
149240
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for ::1 at 2016-02-04 16:43:51 +0400
149241
+
149242
+
149243
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-02-04 16:43:51 +0400
149244
+
149245
+
149246
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-02-04 16:43:51 +0400
149247
+
149248
+
149249
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for ::1 at 2016-02-04 16:43:51 +0400
149250
+
149251
+
149252
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for ::1 at 2016-02-04 16:43:51 +0400
149253
+
149254
+
149255
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for ::1 at 2016-02-04 16:43:51 +0400
149256
+
149257
+
149258
+ Started GET "/workflow/operations" for ::1 at 2016-02-04 16:43:54 +0400
149259
+ Processing by RailsWorkflow::OperationsController#index as HTML
149260
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
149261
+ RailsWorkflow::Operation Load (0.4ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."status" = 3 ORDER BY "rails_workflow_operations"."created_at" DESC
149262
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 292]]
149263
+ RailsWorkflow::OperationTemplate Load (0.4ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149264
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 291]]
149265
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149266
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 273]]
149267
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149268
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 258]]
149269
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149270
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 257]]
149271
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149272
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 250]]
149273
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149274
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 249]]
149275
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149276
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 248]]
149277
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149278
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 201]]
149279
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 51]]
149280
+ RailsWorkflow::Process Load (0.2ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 200]]
149281
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 63]]
149282
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operations/index.html.slim within layouts/rails_workflow/application (23.1ms)
149283
+ Completed 200 OK in 70ms (Views: 63.9ms | ActiveRecord: 4.0ms)
149284
+
149285
+
149286
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for ::1 at 2016-02-04 16:43:54 +0400
149287
+
149288
+
149289
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for ::1 at 2016-02-04 16:43:54 +0400
149290
+
149291
+
149292
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-02-04 16:43:54 +0400
149293
+
149294
+
149295
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for ::1 at 2016-02-04 16:43:54 +0400
149296
+
149297
+
149298
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-02-04 16:43:54 +0400
149299
+
149300
+
149301
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for ::1 at 2016-02-04 16:43:54 +0400
149302
+
149303
+
149304
+ Started GET "/workflow/processes/250/operations/415" for ::1 at 2016-02-04 16:43:56 +0400
149305
+ Processing by RailsWorkflow::OperationsController#show as HTML
149306
+ Parameters: {"process_id"=>"250", "id"=>"415"}
149307
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
149308
+ RailsWorkflow::Operation Load (0.3ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 415]]
149309
+ RailsWorkflow::Process Load (0.3ms) SELECT "rails_workflow_processes".* FROM "rails_workflow_processes" WHERE "rails_workflow_processes"."id" = $1 LIMIT 1 [["id", 250]]
149310
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.0ms)
149311
+ RailsWorkflow::OperationTemplate Load (0.2ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149312
+ RailsWorkflow::Context Load (6.6ms) SELECT "rails_workflow_contexts".* FROM "rails_workflow_contexts" WHERE "rails_workflow_contexts"."parent_id" = $1 AND "rails_workflow_contexts"."parent_type" = $2 LIMIT 1 [["parent_id", 415], ["parent_type", "RailsWorkflow::Operation"]]
149313
+ RailsWorkflow::ProcessTemplate Load (0.3ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 27]]
149314
+ RailsWorkflow::Operation Load (0.5ms) SELECT "rails_workflow_operations".* FROM "rails_workflow_operations" WHERE "rails_workflow_operations"."id" = $1 LIMIT 1 [["id", 415]]
149315
+ CACHE (0.0ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149316
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_context.html.slim (0.1ms)
149317
+ RailsWorkflow::Error Load (0.3ms) SELECT "rails_workflow_errors".* FROM "rails_workflow_errors" WHERE "rails_workflow_errors"."parent_id" = $1 AND "rails_workflow_errors"."parent_type" = $2 AND (resolved is null or resolved = false) [["parent_id", 415], ["parent_type", "RailsWorkflow::Operation"]]
149318
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operations/show.html.slim within layouts/rails_workflow/application (18.5ms)
149319
+ Completed 200 OK in 65ms (Views: 51.7ms | ActiveRecord: 9.0ms)
149320
+
149321
+
149322
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for ::1 at 2016-02-04 16:43:56 +0400
149323
+
149324
+
149325
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-02-04 16:43:56 +0400
149326
+
149327
+
149328
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for ::1 at 2016-02-04 16:43:56 +0400
149329
+
149330
+
149331
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for ::1 at 2016-02-04 16:43:56 +0400
149332
+
149333
+
149334
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for ::1 at 2016-02-04 16:43:56 +0400
149335
+
149336
+
149337
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-02-04 16:43:56 +0400
149338
+
149339
+
149340
+ Started GET "/workflow/config/27/operation_templates/65" for ::1 at 2016-02-04 16:43:58 +0400
149341
+ Processing by RailsWorkflow::OperationTemplatesController#show as HTML
149342
+ Parameters: {"process_template_id"=>"27", "id"=>"65"}
149343
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
149344
+ RailsWorkflow::OperationTemplate Load (0.3ms) SELECT "rails_workflow_operation_templates".* FROM "rails_workflow_operation_templates" WHERE "rails_workflow_operation_templates"."id" = $1 LIMIT 1 [["id", 65]]
149345
+ RailsWorkflow::ProcessTemplate Load (0.4ms) SELECT "rails_workflow_process_templates".* FROM "rails_workflow_process_templates" WHERE "rails_workflow_process_templates"."id" = $1 LIMIT 1 [["id", 27]]
149346
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/application/_flash.html.slim (0.1ms)
149347
+ Rendered /Users/maxim/workflow/rails_workflow/app/views/rails_workflow/operation_templates/show.html.slim within layouts/rails_workflow/application (3.1ms)
149348
+ Completed 200 OK in 169ms (Views: 160.4ms | ActiveRecord: 1.4ms)
149349
+
149350
+
149351
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-02-04 16:43:59 +0400
149352
+
149353
+
149354
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-02-04 16:43:59 +0400
149355
+
149356
+
149357
+ Started GET "/assets/bootstrap/bootstrap.self.css?body=1" for ::1 at 2016-02-04 16:43:59 +0400
149358
+
149359
+
149360
+ Started GET "/assets/bootstrap/bootstrap.self.js?body=1" for ::1 at 2016-02-04 16:43:59 +0400
149361
+
149362
+
149363
+ Started GET "/assets/rails_workflow/application.self.js?body=1" for ::1 at 2016-02-04 16:43:59 +0400
149364
+
149365
+
149366
+ Started GET "/assets/rails_workflow/application.self.css?body=1" for ::1 at 2016-02-04 16:43:59 +0400