bootstrap3_autocomplete_input 0.1.8 → 0.1.9

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 (91) hide show
  1. checksums.yaml +4 -4
  2. data/lib/assets/javascripts/bootstrap3-autocomplete-input.js +5 -1
  3. data/lib/assets/javascripts/bootstrap3-autocomplete-input.min.js +1 -1
  4. data/lib/bootstrap3_autocomplete_input/version.rb +1 -1
  5. data/test/dummy/app/assets/javascripts/application.js +1 -0
  6. data/test/dummy/app/views/orders/_form.html.erb +2 -1
  7. data/test/dummy/log/development.log +506 -0
  8. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-SJoN93HURcJaS1sC9lK6An23MwKTU69RKk_JOW5MDA.cache +1 -0
  9. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0v6ezQ1ntrVccD6ZAXG52-FNn5nlPTPLrvVNAuUZ6GU.cache +0 -0
  10. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1P-hnJRnR1nSow4aa5hac6-C4ffauORhMXRvZnbQKgY.cache +0 -0
  11. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2GwBbx2X85knPKA6srN3UW1xVDgraP8Q-6v2abgQB2Y.cache +0 -0
  12. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2lz-tO1UDhu-JJdShSxh-Keub-2MCtSYKiCyGc5T-Ls.cache +1 -0
  13. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4AqwwmXBJOqfXqXr8ZBeNqA1u9_9cKnnQ0-s_P6PZBk.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4kqHn3fH4jLeDuhsQYelOjfMemhcnOITCiM1g8cQefU.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5ZxcCDuXtHVWqgrPlZEBhU9Xnqeh5fbYC5Ufn-DaV9M.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5oBk7MMj7qifd901hYnw3GhR7OqpYPUJZmi6_bwYkDg.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6B-DFyD3hiEHnHfyyD4nC_ZXAWCz3GrIZrF6cg6V8Kw.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6K5MQYmdnOR3yATHtiALIVDC4M0ajZ9T1ajlWvshb8g.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6le2VaCr43HN5-NdGux97B6uOyUZoFsGoPePnT_cZEA.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7xpmnz7wuTaJNBRGqXfzasEwNB2zh5e7xUsJzOEku9w.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8MSM5VQlZpHb7m5uyKjHKM04QpN8npQObEph63NBNJ8.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8leLC7oUxei7OiIbkPQFEeM_KcqZ67FVk78UZjTu9dg.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9RKivCgwBSCOVufyGR9vY5iKZ432wuzzv0lHFMob3Zk.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A_KjY10ebIhF_k7kRG-_VYSf6C3xgON3sC9OB4J1O2c.cache +0 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BLVYTeMP33vO-QyA9kJi2caVSv8wfwJOW1YYOAsKIQk.cache +2 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/D7gVauyMweqz7XvofS55REGNBeRxlk2wUoT4y8ojZL8.cache +3 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Duh-xWkJK32N9fE61BFnfaARZi3zLo5MYxNQ1Er5hNc.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EXUzL8Pe1nF-mSFm5J3N1izxeeXUhC3x1dI1SmnoclU.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FOgxp3YlNhV4rKiYIiEF3_37PPAB41K2o3C4GN8PLHY.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FcJbjlPip9HMm_wYlY1ReFKVxjw_wvBFClrhT5K8r-E.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Fer0hXywA3nfRg60VV3SkaKwrbFw8267iVBdXI8qAkM.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FsMJKIJUcG3CJ-WLxQLgVEwkCZniedMtPT6qeJJ_Oao.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FyImZ8K6dqo6E4iMrNTNOs-78y2RhWQAO2SjF0Dyz7A.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HnA4QDM7atr6n_Jx6oIYX2YrygGymUULhW_p6gmhPhw.cache +1 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Hp621ASqywz_sD50k_f4ZXdUZ03BmdUEK1b5ty_MWho.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IYjpzqkKUXwfv4hkUnhuxbjqo_IrPU1UQ0vPHgmzYXA.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IdFb7SsCb4476aaPc7FHpGM8SE2LtGz9qQLzMEO-X4I.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ifj3krpqLEyQNXavS8Vb7dwnumhr3DNFrvN6UjMw-WE.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JgpdzA5vRmIeua9h9lLis9kdrrXO4AyHuX2esMpVVsw.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/K-GxWO6BPbU_s1pSRZsxLKYKOfJVn47YYnDtimImyNw.cache +1 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KSNqkZEzMwREfj4YImf41vhGxt2opy7OyHpspFlYLaI.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Kda8oRjiqdvmVz9dOt-CBc68F2qGR17PAl7CBKvgUTA.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LIKEpJXy-L_oRVaRxYxKPrlRRvyzADn1rNjj7T_JGg4.cache +3 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Lfr5zrRjZi3tp20Cphice2JFKhPwoybfK3lr5vQFkgA.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MWnPN9ZbiyAhXrWsqmOCPRPXD07pt0EJzQfAJRIcQmI.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MxD46CTw8sbNnKuAcFlvAWM9h-AcoIZuDbTg8QyQVaM.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NLc1g7BEANgzFY65kH0xmyZDyhngupHS4vQdNvS8O5k.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O-NhAtNnGstNYf4wCr3n3NyS7Z4_j47lkZITg3J1jmk.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O3aVqFwjl9ud_pMcJXXFpjLiiviQkUmhKXFuUSYZWCg.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OHvHBqG_FUcrZjsfKuZwxU_NHXqVKlHFmbTl227MJuM.cache +0 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OOE_zLL2A6gRXDG64le1c7zwzNXZz_Bnr6zJLDDR1Fg.cache +1 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q4Gq-Zldko71NyiYxML_vvDzWuIEoD_1yLcXM3ghJus.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QmGmAa3kprrcsp4dG_Q8E76gtaOKd-jVO4tZqKaO3_E.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S4eUAHjIC6yAJDFizfGWmuM9zRFSU5qltOYlcydwDb8.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SsGdyJMn-01aghmBWuDoMSKeRThQ1k1GMLiWWRMfdTU.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TD-Lt5R7oTJIX1AvYf689WvqfY9BE4VgWJ9p5WfQJok.cache +3 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TVzBXH-0Iur-C4yq8XJ8risEzBj9PiAjOkgAxfBSrG0.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UEk4z_lHzeNbPKjwcJ-HJxRUBkjlSifMpGI6_awlo8Y.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VOp0pIv_pTt1jyD5JQn5Ee721CyQFQTGdnz4ODw38i4.cache +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VaKLrFvRAMYPV8D8zXnJIZXbkXC1Xwn8phHE9vI55bQ.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/W9KBtJqY_zi9nFnv-ujz8XQNokeKQ2WuUk5s07-03ws.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WB-kliJyyTYAo1onCmwzjpSsDba1acAj0rypYbW-Qto.cache +2 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZCDGqSUQQYgQNiBIV4zvYt5Ykd1xvyykmirTwouJXTg.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZFBpmT3-djNGGdyFx4ELDnw-gLcQ7E1GlcQmFLXJIGc.cache +1 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a-wlMGQmQmrGzmbjIfMaR_awXUy8ShLfR5R0Hd9g6Wg.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a_tOrtH7lZ5arIb-j7SEOlYPjfC520eXolSAAp8kGBw.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bdYMcqWHD7chdgaVKirb0NCnCJ2IjpGMdqKKf9s1ER4.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c2Q08h5PkrIZtS_LwHaDlWZ3dr1ZApiWjm41taU0AJI.cache +3 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cDHtEsHqrLrEPrFCOxbRwZJgQ7vz8wiIqx_sU35hMJU.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dMawKez51gDhB4i1xsU90PHPDokeAWhwYtsdknpAOwE.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ecp-TzzfQg1OqLbgKQwXGJRGLlDpN6zxsej42p9luMA.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gHaF5-K-h6HKPS1gl4RiRVcpM8MMTyUI_yF5FFuO79M.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gNKwkNw7aQk84CIQQQ5QWDL5ybETGXGDxZkdSYQSwx8.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ggxCbmeHFC9vfR81m9HjF0_29kAuyXl-UgyDtSZXzkE.cache +1 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ilq8C1taX66dmcBIx_4wnk_kKYZn7nRqo15XQIN3ZHw.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jMRnHAtInOm0FGf_K7NAKNhXZmxHF31SYiWsfOp0cSw.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lQWp-KbVLmBjfWz7NtMPFu_VjyN9BdmK3qR2jRRdBZU.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mk_tQ0d68OOKve8VpahHM-X9IkaveakfILZwDf7O98M.cache +1 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ouGpweG80e8F0MNRt4JCBfkw4lb8R3Tvv24yz-Meng8.cache +1 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pDmF-1BiXb_7VCCD7Z6fzlYHnpbOwF94ynS7WbB5qLg.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pSDuzRb4Rl421FSQ-om1W67DaV3HDU8FLvR1CQphtRk.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ratFJITmCwbLx3oce0f__J7MVwAiByiQsJtybjftNDc.cache +3 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/spX6_jw9y_pgnasYHvVOP8OzTf-4zB1EETcbLztoZTo.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sqpl1GhGFR1tEgBxrhQ5Qo01lc_dgKJPVPK8ntS58-0.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/u3kL-y09XVLEUVbeT8UerJcvH9119aReaz4kp0qxMIk.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vRwwjo_i_ambLPk4DapV6q5vjR8yBb0boMvkjLFrE40.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wUL2HusA2znq8bRrXIOUAgh8TYPY7WGGXIuOab5c3jc.cache +2 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xDTqdPiQNhEslkBuC4hmNTLVy047m4opWGzCqKJJE5M.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zvX-tIolF0NaN0UwgTg4tqAyUinIby9TpP3tWwqS1YI.cache +0 -0
  90. data/test/dummy/tmp/pids/server.pid +1 -1
  91. metadata +138 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2c19502abb74bf85cd1c63ad899f9dc4fa9b494
4
- data.tar.gz: 91712d91d2257ba97a18ea2eb9e6c57fc7ea6efc
3
+ metadata.gz: e8b00efa4d13a95d2f24ea935c3433e99d4db0ba
4
+ data.tar.gz: 51714ca3b04fb2eb35f8017c90b4b3f28297aca9
5
5
  SHA512:
6
- metadata.gz: 23581c686c329f2b43ccc3ec1eff2e2c286b8b1a65eb4cc3745badebe90a6f1fac8eaf4e893a88601c7dd02dd7bbc6f22de8f26804c9583f9215294b9e5c9f07
7
- data.tar.gz: 0199c4249935b6854f883f7111bfef86b241214582f7a2437f4da2c1c17ebfa09133086cf25f5e14d3ec74ac65093b5bd15d9bf24876da1ca7bc13198cc2d4b9
6
+ metadata.gz: 7880575b214bb08fb95c837bdd414749d60e1ad202bd056b74e343cb0c510d057c2175bf51d9b8a0d83b4b5d450992b4d4bde042a4708664680aa44f5014b3fe
7
+ data.tar.gz: 733d00b098abcd300f75b523bc11bd8777b5f722c871cf94fd147e10c73c852aaaa577945dcbd355d614dd3eb06600b2d36f0e01aba1b5060ffb2b27da3d94b7
@@ -1,7 +1,11 @@
1
1
  var autocomplete_data_static = {};
2
2
 
3
3
  function autocomplete_get_hidden_field(obj){
4
- var hidden_id = obj.attr("data-field-id").replace(/(:|\.|\[|\])/g,'\\$1');;
4
+ var hidden_id = obj.attr("data-field-id");
5
+ if (!hidden_id)
6
+ return false;
7
+
8
+ hidden_id = hidden_id.replace(/(:|\.|\[|\])/g,'\\$1');
5
9
  return $('#'+hidden_id);
6
10
  }
7
11
 
@@ -1 +1 @@
1
- function autocomplete_get_hidden_field(t){var a=t.attr("data-field-id").replace(/(:|\.|\[|\])/g,"\\$1");return $("#"+a)}function autocomplete_query(t){t.typeahead({source:function(a,e){t=this.$element,rows=[];var o=t.attr("name");$.getJSON(t.attr("data-source-query"),{q:a},function(t){autocomplete_data_static[o]={map:[],values:[]},$.each(t,function(t,a){autocomplete_data_static[o].values.push(a[1]),autocomplete_data_static[o].map[a[1]]=a[0]}),e(autocomplete_data_static[o].values)})},updater:function(a){t=this.$element;var e=autocomplete_get_hidden_field(t);if(e){var o=t.attr("name");e.val(autocomplete_data_static[o].map[a])}return a},items:t.attr("data-items"),minLength:t.attr("data-min-length"),afterSelect:function(a){var e=t.attr("data-afterSelect")||"";if(""!=e){var o=window[e];"function"==typeof o&&o(a)}}}).on("change",function(){var t=$(this),a=t.typeahead("getActive"),e=autocomplete_get_hidden_field(t);e&&(a?a==t.val()||e&&e.val(""):e&&e.val(""))})}var autocomplete_data_static={};$(document).ready(function(){$('input[data-provide="typeahead"][data-source-array]').each(function(){obj=$(this);var t=JSON.parse(obj.attr("data-source-array").replace(/"/g,'"'));obj.typeahead({source:t,items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})}),$('input[data-provide="typeahead"][data-source]').each(function(){obj=$(this);var t=obj.attr("id");autocomplete_data_static[t]={map:[],values:[]},$.get(obj.attr("data-source"),function(a){$.each(a,function(a,e){autocomplete_data_static[t].values.push(e[1]),autocomplete_data_static[t].map[e[1]]=e[0]}),obj.typeahead({source:autocomplete_data_static[t].values,updater:function(a){return obj_id=$("#"+obj.attr("data-field-id")),obj_id&&obj_id.val(autocomplete_data_static[t].map[a]),a},items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})},"json")}),$('input[data-provide="typeahead"][data-source-query]').each(function(){autocomplete_query($(this))})});
1
+ function autocomplete_get_hidden_field(t){var a=t.attr("data-field-id");return a?(a=a.replace(/(:|\.|\[|\])/g,"\\$1"),$("#"+a)):!1}function autocomplete_query(t){t.typeahead({source:function(a,e){t=this.$element,rows=[];var o=t.attr("name");$.getJSON(t.attr("data-source-query"),{q:a},function(t){autocomplete_data_static[o]={map:[],values:[]},$.each(t,function(t,a){autocomplete_data_static[o].values.push(a[1]),autocomplete_data_static[o].map[a[1]]=a[0]}),e(autocomplete_data_static[o].values)})},updater:function(a){t=this.$element;var e=autocomplete_get_hidden_field(t);if(e){var o=t.attr("name");e.val(autocomplete_data_static[o].map[a])}return a},items:t.attr("data-items"),minLength:t.attr("data-min-length"),afterSelect:function(a){var e=t.attr("data-afterSelect")||"";if(""!=e){var o=window[e];"function"==typeof o&&o(a)}}}).on("change",function(){var t=$(this),a=t.typeahead("getActive"),e=autocomplete_get_hidden_field(t);e&&(a?a==t.val()||e&&e.val(""):e&&e.val(""))})}var autocomplete_data_static={};$(document).ready(function(){$('input[data-provide="typeahead"][data-source-array]').each(function(){obj=$(this);var t=JSON.parse(obj.attr("data-source-array").replace(/"/g,'"'));obj.typeahead({source:t,items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})}),$('input[data-provide="typeahead"][data-source]').each(function(){obj=$(this);var t=obj.attr("id");autocomplete_data_static[t]={map:[],values:[]},$.get(obj.attr("data-source"),function(a){$.each(a,function(a,e){autocomplete_data_static[t].values.push(e[1]),autocomplete_data_static[t].map[e[1]]=e[0]}),obj.typeahead({source:autocomplete_data_static[t].values,updater:function(a){return obj_id=$("#"+obj.attr("data-field-id")),obj_id&&obj_id.val(autocomplete_data_static[t].map[a]),a},items:obj.attr("data-items"),minLength:obj.attr("data-min-length")})},"json")}),$('input[data-provide="typeahead"][data-source-query]').each(function(){autocomplete_query($(this))})});
@@ -1,3 +1,3 @@
1
1
  module Bootstrap3AutocompleteInput
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -16,3 +16,4 @@
16
16
  //= require bootstrap
17
17
  //= require bootstrap3-typeahead
18
18
  //= require bootstrap3-autocomplete-input.min
19
+ //= require turbolinks
@@ -39,7 +39,8 @@
39
39
  <br>
40
40
 
41
41
  <%#= f.input :client, :as => :autocomplete, :source_query => autocomplete_client_name_orders_url, :items => 2, :minLength=>1, :afterSelect=>'after_select_client' %>
42
- <%= f.input :client, :as => :autocomplete, :source_query => autocomplete_client_name_clients_url %>
42
+ <%#= f.input :client, :as => :autocomplete, :source_query => autocomplete_client_name_clients_url %>
43
+ <%= f.input :client, :as => :autocomplete, :source_query => autocomplete_client_name_clients_url, :field_id=>false %>
43
44
 
44
45
 
45
46
  <div class="actions">
@@ -2928,3 +2928,509 @@ Processing by ClientsController#autocomplete_client_name as JSON
2928
2928
  Parameters: {"q"=>"a"}
2929
2929
  Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
2930
2930
  Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)
2931
+
2932
+
2933
+ Started GET "/" for 127.0.0.1 at 2015-07-20 17:54:40 +0300
2934
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
2935
+ Processing by Rails::WelcomeController#index as HTML
2936
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (15.0ms)
2937
+ Completed 200 OK in 154ms (Views: 120.0ms | ActiveRecord: 0.0ms)
2938
+
2939
+
2940
+ Started GET "/" for 127.0.0.1 at 2015-07-20 17:54:59 +0300
2941
+ Processing by Rails::WelcomeController#index as HTML
2942
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
2943
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
2944
+
2945
+
2946
+ Started GET "/orders" for 127.0.0.1 at 2015-07-20 17:55:36 +0300
2947
+ Processing by OrdersController#index as HTML
2948
+ Order Load (0.0ms) SELECT "orders".* FROM "orders"
2949
+ Rendered orders/index.html.erb within layouts/application (3.0ms)
2950
+ Completed 200 OK in 4459ms (Views: 4409.3ms | ActiveRecord: 0.0ms)
2951
+
2952
+
2953
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-07-20 17:55:41 +0300
2954
+
2955
+
2956
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:41 +0300
2957
+
2958
+
2959
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:41 +0300
2960
+
2961
+
2962
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:41 +0300
2963
+
2964
+
2965
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:41 +0300
2966
+
2967
+
2968
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:41 +0300
2969
+
2970
+
2971
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:41 +0300
2972
+
2973
+
2974
+ Started GET "/orders/new" for 127.0.0.1 at 2015-07-20 17:55:45 +0300
2975
+ Processing by OrdersController#new as HTML
2976
+ Rendered orders/_form.html.erb (766.0ms)
2977
+ Rendered orders/new.html.erb within layouts/application (840.0ms)
2978
+ Completed 200 OK in 917ms (Views: 912.1ms | ActiveRecord: 1.0ms)
2979
+
2980
+
2981
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:46 +0300
2982
+
2983
+
2984
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:46 +0300
2985
+
2986
+
2987
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:46 +0300
2988
+
2989
+
2990
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:46 +0300
2991
+
2992
+
2993
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-07-20 17:55:46 +0300
2994
+
2995
+
2996
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:46 +0300
2997
+
2998
+
2999
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-07-20 17:55:46 +0300
3000
+
3001
+
3002
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-07-20 17:55:53 +0300
3003
+ Processing by ClientsController#autocomplete_client_name as JSON
3004
+ Parameters: {"q"=>"a"}
3005
+ Client Load (12.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3006
+ Completed 200 OK in 24ms (Views: 0.0ms | ActiveRecord: 12.0ms)
3007
+
3008
+
3009
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-07-20 17:55:59 +0300
3010
+ Processing by ClientsController#autocomplete_client_name as JSON
3011
+ Parameters: {"q"=>"a"}
3012
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3013
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3014
+
3015
+
3016
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-07-20 18:00:56 +0300
3017
+ Processing by ClientsController#autocomplete_client_name as JSON
3018
+ Parameters: {"q"=>"a"}
3019
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3020
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3021
+
3022
+
3023
+ Started GET "/" for 127.0.0.1 at 2015-07-23 03:14:06 +0300
3024
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
3025
+ Processing by Rails::WelcomeController#index as HTML
3026
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (19.0ms)
3027
+ Completed 200 OK in 177ms (Views: 177.0ms | ActiveRecord: 0.0ms)
3028
+
3029
+
3030
+ Started GET "/orders/new" for 127.0.0.1 at 2015-07-23 03:14:32 +0300
3031
+ Processing by OrdersController#new as HTML
3032
+ Rendered orders/_form.html.erb (686.0ms)
3033
+ Rendered orders/new.html.erb within layouts/application (756.0ms)
3034
+ Completed 500 Internal Server Error in 1794ms (ActiveRecord: 2.0ms)
3035
+
3036
+ ActionView::Template::Error (couldn't find file 'turbolinks' with type 'application/javascript'):
3037
+ 3: <head>
3038
+ 4: <title>Dummy</title>
3039
+ 5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
3040
+ 6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
3041
+ 7: <%= csrf_meta_tags %>
3042
+ 8: </head>
3043
+ 9: <body>
3044
+ app/assets/javascripts/application.js:19
3045
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__22023174_52272516'
3046
+
3047
+
3048
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
3049
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.0ms)
3050
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
3051
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (120.0ms)
3052
+
3053
+
3054
+ Started GET "/orders/new" for 127.0.0.1 at 2015-07-23 03:14:45 +0300
3055
+ Processing by OrdersController#new as HTML
3056
+ Rendered orders/_form.html.erb (6.0ms)
3057
+ Rendered orders/new.html.erb within layouts/application (8.0ms)
3058
+ Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.0ms)
3059
+
3060
+ ActionView::Template::Error (couldn't find file 'turbolinks' with type 'application/javascript'):
3061
+ 3: <head>
3062
+ 4: <title>Dummy</title>
3063
+ 5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
3064
+ 6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
3065
+ 7: <%= csrf_meta_tags %>
3066
+ 8: </head>
3067
+ 9: <body>
3068
+ app/assets/javascripts/application.js:19
3069
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__22023174_52272516'
3070
+
3071
+
3072
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
3073
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms)
3074
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
3075
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.0ms)
3076
+
3077
+
3078
+ Started GET "/orders/new" for 127.0.0.1 at 2015-07-23 03:15:09 +0300
3079
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
3080
+ Processing by OrdersController#new as HTML
3081
+ Rendered orders/_form.html.erb (92.0ms)
3082
+ Rendered orders/new.html.erb within layouts/application (99.0ms)
3083
+ Completed 200 OK in 3104ms (Views: 3076.2ms | ActiveRecord: 1.0ms)
3084
+
3085
+
3086
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3087
+
3088
+
3089
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3090
+
3091
+
3092
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3093
+
3094
+
3095
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3096
+
3097
+
3098
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3099
+
3100
+
3101
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3102
+
3103
+
3104
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3105
+
3106
+
3107
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-07-23 03:15:12 +0300
3108
+
3109
+
3110
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-07-23 03:15:21 +0300
3111
+ Processing by ClientsController#autocomplete_client_name as JSON
3112
+ Parameters: {"q"=>"a"}
3113
+ Client Load (11.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3114
+ Completed 200 OK in 17ms (Views: 0.0ms | ActiveRecord: 11.0ms)
3115
+
3116
+
3117
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2015-07-23 03:15:22 +0300
3118
+ Processing by ClientsController#autocomplete_client_name as JSON
3119
+ Parameters: {"q"=>"b"}
3120
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT 10
3121
+ Completed 200 OK in 7ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3122
+
3123
+
3124
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2015-07-23 03:15:32 +0300
3125
+ Processing by ClientsController#autocomplete_client_name as JSON
3126
+ Parameters: {"q"=>"b"}
3127
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT 10
3128
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3129
+
3130
+
3131
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-07-23 03:15:34 +0300
3132
+ Processing by ClientsController#autocomplete_client_name as JSON
3133
+ Parameters: {"q"=>"a"}
3134
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3135
+ Completed 200 OK in 6ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3136
+
3137
+
3138
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2015-07-23 03:18:33 +0300
3139
+ Processing by ClientsController#autocomplete_client_name as JSON
3140
+ Parameters: {"q"=>"b"}
3141
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT 10
3142
+ Completed 200 OK in 3ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3143
+
3144
+
3145
+ Started GET "/" for 127.0.0.1 at 2015-08-02 23:01:42 +0300
3146
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
3147
+ Processing by Rails::WelcomeController#index as HTML
3148
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (18.0ms)
3149
+ Completed 200 OK in 174ms (Views: 137.0ms | ActiveRecord: 0.0ms)
3150
+
3151
+
3152
+ Started GET "/orders" for 127.0.0.1 at 2015-08-02 23:02:26 +0300
3153
+ Processing by OrdersController#index as HTML
3154
+ Order Load (0.0ms) SELECT "orders".* FROM "orders"
3155
+ Rendered orders/index.html.erb within layouts/application (3.0ms)
3156
+ Completed 200 OK in 1242ms (Views: 1190.1ms | ActiveRecord: 0.0ms)
3157
+
3158
+
3159
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3160
+
3161
+
3162
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3163
+
3164
+
3165
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3166
+
3167
+
3168
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3169
+
3170
+
3171
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3172
+
3173
+
3174
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3175
+
3176
+
3177
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3178
+
3179
+
3180
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:02:28 +0300
3181
+
3182
+
3183
+ Started GET "/orders/new" for 127.0.0.1 at 2015-08-02 23:02:29 +0300
3184
+ Processing by OrdersController#new as HTML
3185
+ Rendered orders/_form.html.erb (674.0ms)
3186
+ Rendered orders/new.html.erb within layouts/application (748.0ms)
3187
+ Completed 200 OK in 837ms (Views: 831.0ms | ActiveRecord: 0.0ms)
3188
+
3189
+
3190
+ Started GET "/orders/new" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3191
+ Processing by OrdersController#new as HTML
3192
+ Rendered orders/_form.html.erb (7.0ms)
3193
+ Rendered orders/new.html.erb within layouts/application (8.0ms)
3194
+ Completed 200 OK in 86ms (Views: 85.0ms | ActiveRecord: 0.0ms)
3195
+
3196
+
3197
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3198
+
3199
+
3200
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3201
+
3202
+
3203
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3204
+
3205
+
3206
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3207
+
3208
+
3209
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3210
+
3211
+
3212
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3213
+
3214
+
3215
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3216
+
3217
+
3218
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:09 +0300
3219
+
3220
+
3221
+ Started GET "/orders/new" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3222
+ Processing by OrdersController#new as HTML
3223
+ Rendered orders/_form.html.erb (6.0ms)
3224
+ Rendered orders/new.html.erb within layouts/application (7.0ms)
3225
+ Completed 200 OK in 99ms (Views: 98.0ms | ActiveRecord: 0.0ms)
3226
+
3227
+
3228
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3229
+
3230
+
3231
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3232
+
3233
+
3234
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3235
+
3236
+
3237
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3238
+
3239
+
3240
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3241
+
3242
+
3243
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3244
+
3245
+
3246
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3247
+
3248
+
3249
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:03:45 +0300
3250
+
3251
+
3252
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-08-02 23:05:39 +0300
3253
+ Processing by ClientsController#autocomplete_client_name as JSON
3254
+ Parameters: {"q"=>"a"}
3255
+ Client Load (11.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3256
+ Completed 200 OK in 33ms (Views: 1.0ms | ActiveRecord: 12.0ms)
3257
+
3258
+
3259
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-08-02 23:05:43 +0300
3260
+ Processing by ClientsController#autocomplete_client_name as JSON
3261
+ Parameters: {"q"=>"a"}
3262
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3263
+ Completed 200 OK in 3ms (Views: 0.0ms | ActiveRecord: 1.0ms)
3264
+
3265
+
3266
+ Started GET "/clients/autocomplete_client_name?q=an" for 127.0.0.1 at 2015-08-02 23:05:43 +0300
3267
+ Processing by ClientsController#autocomplete_client_name as JSON
3268
+ Parameters: {"q"=>"an"}
3269
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'an%') ORDER BY clients.name ASC LIMIT 10
3270
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
3271
+
3272
+
3273
+ Started GET "/orders/new" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3274
+ Processing by OrdersController#new as HTML
3275
+ Rendered orders/_form.html.erb (6.0ms)
3276
+ Rendered orders/new.html.erb within layouts/application (7.0ms)
3277
+ Completed 200 OK in 94ms (Views: 93.0ms | ActiveRecord: 0.0ms)
3278
+
3279
+
3280
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3281
+
3282
+
3283
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3284
+
3285
+
3286
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3287
+
3288
+
3289
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3290
+
3291
+
3292
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3293
+
3294
+
3295
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3296
+
3297
+
3298
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3299
+
3300
+
3301
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:11 +0300
3302
+
3303
+
3304
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-08-02 23:07:14 +0300
3305
+ Processing by ClientsController#autocomplete_client_name as JSON
3306
+ Parameters: {"q"=>"a"}
3307
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3308
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3309
+
3310
+
3311
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-08-02 23:07:19 +0300
3312
+ Processing by ClientsController#autocomplete_client_name as JSON
3313
+ Parameters: {"q"=>"a"}
3314
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3315
+ Completed 200 OK in 3ms (Views: 0.0ms | ActiveRecord: 1.0ms)
3316
+
3317
+
3318
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-08-02 23:07:25 +0300
3319
+ Processing by ClientsController#autocomplete_client_name as JSON
3320
+ Parameters: {"q"=>"a"}
3321
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3322
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3323
+
3324
+
3325
+ Started GET "/orders/new" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3326
+ Processing by OrdersController#new as HTML
3327
+ Rendered orders/_form.html.erb (8.0ms)
3328
+ Rendered orders/new.html.erb within layouts/application (9.0ms)
3329
+ Completed 200 OK in 243ms (Views: 242.0ms | ActiveRecord: 0.0ms)
3330
+
3331
+
3332
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3333
+
3334
+
3335
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3336
+
3337
+
3338
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3339
+
3340
+
3341
+ Started GET "/assets/bootstrap3-autocomplete-input.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3342
+
3343
+
3344
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3345
+
3346
+
3347
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3348
+
3349
+
3350
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3351
+
3352
+
3353
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:07:32 +0300
3354
+
3355
+
3356
+ Started GET "/orders/new" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3357
+ Processing by OrdersController#new as HTML
3358
+ Rendered orders/_form.html.erb (6.0ms)
3359
+ Rendered orders/new.html.erb within layouts/application (7.0ms)
3360
+ Completed 200 OK in 96ms (Views: 95.0ms | ActiveRecord: 0.0ms)
3361
+
3362
+
3363
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3364
+
3365
+
3366
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3367
+
3368
+
3369
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3370
+
3371
+
3372
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3373
+
3374
+
3375
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3376
+
3377
+
3378
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3379
+
3380
+
3381
+ Started GET "/assets/bootstrap3-autocomplete-input.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3382
+
3383
+
3384
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:08:53 +0300
3385
+
3386
+
3387
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-08-02 23:08:56 +0300
3388
+ Processing by ClientsController#autocomplete_client_name as JSON
3389
+ Parameters: {"q"=>"a"}
3390
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3391
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 1.0ms)
3392
+
3393
+
3394
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2015-08-02 23:09:04 +0300
3395
+ Processing by ClientsController#autocomplete_client_name as JSON
3396
+ Parameters: {"q"=>"b"}
3397
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT 10
3398
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3399
+
3400
+
3401
+ Started GET "/orders/new" for 127.0.0.1 at 2015-08-02 23:09:32 +0300
3402
+ Processing by OrdersController#new as HTML
3403
+ Rendered orders/_form.html.erb (7.0ms)
3404
+ Rendered orders/new.html.erb within layouts/application (10.0ms)
3405
+ Completed 200 OK in 337ms (Views: 336.0ms | ActiveRecord: 0.0ms)
3406
+
3407
+
3408
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3409
+
3410
+
3411
+ Started GET "/assets/jquery2.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3412
+
3413
+
3414
+ Started GET "/assets/jquery_ujs.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3415
+
3416
+
3417
+ Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3418
+
3419
+
3420
+ Started GET "/assets/bootstrap.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3421
+
3422
+
3423
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3424
+
3425
+
3426
+ Started GET "/assets/bootstrap3-typeahead.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3427
+
3428
+
3429
+ Started GET "/assets/bootstrap3-autocomplete-input.min.self.js?body=1" for 127.0.0.1 at 2015-08-02 23:09:33 +0300
3430
+
3431
+
3432
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2015-08-02 23:09:49 +0300
3433
+ Processing by ClientsController#autocomplete_client_name as JSON
3434
+ Parameters: {"q"=>"a"}
3435
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT 10
3436
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 0.0ms)