bootstrap_autocomplete_input 0.2.0 → 0.2.1

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 (20) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bootstrap_autocomplete_input/orm/active_record.rb +36 -8
  3. data/lib/bootstrap_autocomplete_input/version.rb +1 -1
  4. data/test/dummy/app/assets/javascripts/application.js +2 -2
  5. data/test/dummy/app/controllers/clients_controller.rb +60 -1
  6. data/test/dummy/app/views/orders/_form.html.erb +2 -2
  7. data/test/dummy/log/development.log +1577 -0
  8. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K0/K0X1qAgMDwQGAmV26P323POUszL9fnBr7X-pHLFMMg0.cache +0 -0
  9. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kq/KqDu_8GM5zyPBO-BFKwqVhEmFv1KW_u-Cd4dBSIlkFY.cache +0 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PJ/pjlgHaf8SaBKdbKLrcAMSGB7nDg_nYClLJd9TBxT-ww.cache +0 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TM/TMv2adXh4Fs59NwGHoEg5Jq5lQPXQ6gUl9Yldqunq_E.cache +0 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UT/UT8hIjhvc_dHi6D7eHMvYZV_7EDVdjyj-zEGgqsjGQM.cache +1 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V4/V4ZifMHAuVSRBhAaGj4wyZcXvl2iuyoxYzRscSZGXLk.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wg/WgbdB2kB5rCmiWqID2tSq_VuHBB79KG7crVme8M5-LI.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dS/dS2aI0Z9rCZ6Q2I__cmDfmnboplJq1fssb30z0vJjJk.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fK/fKTI9its9woBj0I74Nu_NPt1whb_uv7gQ_mBqA11WK0.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pg/pgYIpMC4iWAG2L3r1kdckU9a88Vlx-nNX-MHJUxJ9H8.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qI/qIf4AYxwvbMPQttOhgC0SXi7CI_iw6-OFNRBcjQPNp4.cache +0 -0
  19. data/test/dummy/tmp/pids/server.pid +1 -1
  20. metadata +24 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ceb809f38b24b8e41b467e9ba29225fc7399308
4
- data.tar.gz: 109aae91f83b19558b71f4b2429513080967a2f8
3
+ metadata.gz: 5852f0ae77a1126849cac2e5532c5c58848221d0
4
+ data.tar.gz: fd7e8f38832dda2233e203d59e6de37aaf47ba59
5
5
  SHA512:
6
- metadata.gz: 30d0d8e5433c540f0c43594c29d8e1e46d297d7f8314e0f72bf75845b9c41792d93696e4eef7389e315686afbc245353e021af2065811f0b7c6b0c5eae47d34b
7
- data.tar.gz: e88b63f9f04cb48542161195769a2cdd473f2a2cdfdeb7dfbbe985f91c15dc128ce0a4694975841d317a4205bb4334a0216a2a08772282b7712db53fdae7e4f6
6
+ metadata.gz: 48636fae56e40a1cb6ba464132c537045ef403265cbaa7c93fc3a8472ce0fd7aac9954c378e9335a5d18fdeb8d64eb29cf73650f89fa475ba431d0ef92132e7e
7
+ data.tar.gz: 54d42a32fe14758a1a0ed7f0e1924ef03a86cae1ba89ae50032aac4e48ad5e782f1ff4b8a5b9d5d0af8ffabd27beb8cc9505a3c50d84793190ee914488e63234
@@ -20,20 +20,46 @@ module BootstrapAutocompleteInput
20
20
  column_name = parameters[:method]
21
21
 
22
22
  #
23
+ items = model.all
24
+ unless options[:full_model]
25
+ items = items.select(get_autocomplete_select_clause(model, column_name, extra_columns, options))
26
+ end
27
+
28
+ # basic where
29
+ items = items.where(get_autocomplete_where_clause(model, term, column_name, options))
30
+
31
+
32
+ # additional where
23
33
  scopes = Array(options[:scopes])
24
34
  where = options[:where]
25
- limit = autocomplete_option_limit(options)
26
- order = get_autocomplete_order(column_name, options, model)
35
+ where_method = options[:where_method]
27
36
 
28
- items = model.all
37
+ unless scopes.empty?
38
+ scopes.each { |scope| items = items.send(scope) }
39
+ end
40
+
41
+ unless where.blank?
42
+ items = items.where(where)
43
+ end
29
44
 
30
- scopes.each { |scope| items = items.send(scope) } unless scopes.empty?
31
45
 
32
- items = items.select(get_autocomplete_select_clause(model, column_name, extra_columns, options)) unless options[:full_model]
33
- items = items.where(get_autocomplete_where_clause(model, term, column_name, options)).
34
- limit(limit).order(order)
35
- items = items.where(where) unless where.blank?
46
+ unless where_method.nil?
47
+ if respond_to?(where_method)
48
+ w = send(where_method)
49
+ if w
50
+ items = items.where(w)
51
+ end
52
+ end
53
+ end
36
54
 
55
+
56
+ # order, limit
57
+ limit = autocomplete_option_limit(options)
58
+ order = get_autocomplete_order(column_name, options, model)
59
+
60
+ items = items.limit(limit).order(order)
61
+
62
+ #
37
63
  items
38
64
  end
39
65
 
@@ -48,6 +74,8 @@ module BootstrapAutocompleteInput
48
74
 
49
75
  def get_autocomplete_where_clause(model, term, column_name, options)
50
76
  table_name = model.table_name
77
+
78
+ # basic search
51
79
  is_full_search = options[:full]
52
80
  like_clause = (postgres?(model) ? 'ILIKE' : 'LIKE')
53
81
  ["LOWER(#{table_name}.#{column_name}) #{like_clause} ?", "#{(is_full_search ? '%' : '')}#{term.downcase}%"]
@@ -1,3 +1,3 @@
1
1
  module BootstrapAutocompleteInput
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -1,8 +1,8 @@
1
1
  //= require jquery2
2
2
  //= require jquery_ujs
3
3
 
4
-
5
- //= require bootstrap
4
+ //= require tether
5
+ //= require bootstrap-sprockets
6
6
 
7
7
  //= require bootstrap3-typeahead.min
8
8
  //= require bootstrap-autocomplete-input.min
@@ -2,13 +2,72 @@ class ClientsController < ApplicationController
2
2
  before_action :set_client, only: [:show, :edit, :update, :destroy]
3
3
 
4
4
  #autocomplete :client, :name
5
- autocomplete :client, :name, {extra_columns: ['id', 'name'], display_id: 'id', display_value: 'name'}
5
+ #autocomplete :client, :name, { :where_method => :w_region }
6
+ #autocomplete :client, :name, {order: Proc.new { params[:myorder] || 'id' }}
7
+ autocomplete :client, :name, { :where => 'company_id=1' }
8
+ #autocomplete :client, :name, {extra_columns: ['id', 'name'], display_id: 'id', display_value: 'name'}
9
+
10
+ def w_region
11
+ # get value from params
12
+ v = params[:company_id]
13
+
14
+ if v
15
+ w = "id=#{v}"
16
+ else
17
+ w = nil
18
+ end
19
+
20
+ w
21
+ end
22
+
6
23
 
7
24
  def temp_autocomplete_client_name
8
25
  a = [["123","First"],["456","Second"], ["3", "Third"]]
9
26
  render :json => a.to_json
10
27
  end
11
28
 
29
+ def example1_autocomplete_client_name
30
+ # your options
31
+ model = Client
32
+ options = {
33
+ display_id: 'id',
34
+ display_value: 'name',
35
+ limit: 10,
36
+ order: 'name ASC'
37
+ }
38
+
39
+
40
+ # input
41
+ q = params[:q] || ''
42
+
43
+ # change your query
44
+ #where = "your custom query here"
45
+ where = ["LOWER(name) LIKE ?", "#{q.downcase}%"] # basic query
46
+
47
+ limit = autocomplete_option_limit(options)
48
+ order = options[:order] || "id ASC"
49
+
50
+
51
+ # get rows from DB
52
+ items = model.where(where).order(order).limit(limit)
53
+
54
+ #
55
+ method_display_value = options[:display_value] if options.has_key?(:display_value)
56
+ #method_display_value ||= method
57
+
58
+ method_display_id = options[:display_id] if options.has_key?(:display_id)
59
+ method_display_id ||= model.primary_key
60
+
61
+ data = items.map do |item|
62
+ v = item.send(method_display_value)
63
+ id = item.send(method_display_id)
64
+
65
+ [id.to_s, v.to_s]
66
+ end
67
+
68
+ render :json => data.to_json
69
+ end
70
+
12
71
  # GET /clients
13
72
  def index
14
73
  @clients = Client.all
@@ -39,8 +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 %>
43
- <%= f.input :client, :as => :autocomplete, :source_query => autocomplete_client_name_clients_url, :field_id=>false %>
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 %>
44
44
 
45
45
 
46
46
  <div class="actions">
@@ -587,3 +587,1580 @@ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a4598
587
587
  Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-01-14 18:37:03 +0200
588
588
  Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-01-14 18:37:03 +0200
589
589
  Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-01-14 18:37:03 +0200
590
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-01-14 18:38:01 +0200
591
+ Processing by ClientsController#autocomplete_client_name as JSON
592
+ Parameters: {"q"=>"a"}
593
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
594
+ Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 3.0ms)
595
+
596
+
597
+ Started GET "/clients/autocomplete_client_name?q=an" for 127.0.0.1 at 2017-01-14 18:38:01 +0200
598
+ Processing by ClientsController#autocomplete_client_name as JSON
599
+ Parameters: {"q"=>"an"}
600
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'an%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
601
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
602
+
603
+
604
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
605
+ Started GET "/" for 127.0.0.1 at 2017-01-21 23:22:56 +0200
606
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
607
+ Processing by Rails::WelcomeController#index as HTML
608
+ Parameters: {"internal"=>true}
609
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb
610
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (9.0ms)
611
+ Completed 200 OK in 322ms (Views: 167.9ms | ActiveRecord: 0.0ms)
612
+
613
+
614
+ Started GET "/orders" for 127.0.0.1 at 2017-01-21 23:23:04 +0200
615
+ Processing by OrdersController#index as HTML
616
+ Rendering orders/index.html.erb within layouts/application
617
+ Order Load (0.0ms) SELECT "orders".* FROM "orders"
618
+ Rendered orders/index.html.erb within layouts/application (40.0ms)
619
+ Completed 200 OK in 2007ms (Views: 1939.5ms | ActiveRecord: 1.0ms)
620
+
621
+
622
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
623
+ Started GET "/assets/bootstrap.self-9acfc28c4d35348d353eb47afc72c287bc271ea4f7e8c9b05f2f9554ddc3f202.js?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
624
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
625
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
626
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
627
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
628
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
629
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-01-21 23:23:20 +0200
630
+ Started GET "/orders/new" for 127.0.0.1 at 2017-01-21 23:23:23 +0200
631
+ Processing by OrdersController#new as HTML
632
+ Rendering orders/new.html.erb within layouts/application
633
+ Rendered orders/_form.html.erb (603.0ms)
634
+ Rendered orders/new.html.erb within layouts/application (650.0ms)
635
+ Completed 200 OK in 872ms (Views: 831.7ms | ActiveRecord: 0.0ms)
636
+
637
+
638
+ Started GET "/orders" for 127.0.0.1 at 2017-01-21 23:23:29 +0200
639
+ Processing by OrdersController#index as HTML
640
+ Rendering orders/index.html.erb within layouts/application
641
+ Order Load (0.0ms) SELECT "orders".* FROM "orders"
642
+ Rendered orders/index.html.erb within layouts/application (3.0ms)
643
+ Completed 200 OK in 160ms (Views: 150.0ms | ActiveRecord: 0.0ms)
644
+
645
+
646
+ Started GET "/clients" for 127.0.0.1 at 2017-01-21 23:23:32 +0200
647
+ Processing by ClientsController#index as HTML
648
+ Rendering clients/index.html.erb within layouts/application
649
+ Client Load (0.0ms) SELECT "clients".* FROM "clients"
650
+ Rendered clients/index.html.erb within layouts/application (7.0ms)
651
+ Completed 200 OK in 158ms (Views: 139.8ms | ActiveRecord: 0.0ms)
652
+
653
+
654
+ Started GET "/clients/3/edit" for 127.0.0.1 at 2017-01-21 23:23:35 +0200
655
+ Processing by ClientsController#edit as HTML
656
+ Parameters: {"id"=>"3"}
657
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
658
+ Rendering clients/edit.html.erb within layouts/application
659
+ Rendered clients/_form.html.erb (1.0ms)
660
+ Rendered clients/edit.html.erb within layouts/application (17.0ms)
661
+ Completed 200 OK in 300ms (Views: 155.6ms | ActiveRecord: 0.0ms)
662
+
663
+
664
+ Started GET "/clients" for 127.0.0.1 at 2017-01-21 23:23:36 +0200
665
+ Processing by ClientsController#index as HTML
666
+ Rendering clients/index.html.erb within layouts/application
667
+ Client Load (1.0ms) SELECT "clients".* FROM "clients"
668
+ Rendered clients/index.html.erb within layouts/application (3.0ms)
669
+ Completed 200 OK in 141ms (Views: 131.4ms | ActiveRecord: 1.0ms)
670
+
671
+
672
+ Started GET "/orders" for 127.0.0.1 at 2017-01-21 23:23:41 +0200
673
+ Processing by OrdersController#index as HTML
674
+ Rendering orders/index.html.erb within layouts/application
675
+ Order Load (0.0ms) SELECT "orders".* FROM "orders"
676
+ Rendered orders/index.html.erb within layouts/application (3.0ms)
677
+ Completed 200 OK in 151ms (Views: 141.9ms | ActiveRecord: 0.0ms)
678
+
679
+
680
+ Started GET "/orders/new" for 127.0.0.1 at 2017-01-21 23:23:52 +0200
681
+ Processing by OrdersController#new as HTML
682
+ Rendering orders/new.html.erb within layouts/application
683
+ Rendered orders/_form.html.erb (5.0ms)
684
+ Rendered orders/new.html.erb within layouts/application (14.0ms)
685
+ Completed 200 OK in 156ms (Views: 146.9ms | ActiveRecord: 0.0ms)
686
+
687
+
688
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
689
+ Started GET "/orders/new" for 127.0.0.1 at 2017-01-21 23:24:59 +0200
690
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
691
+ Processing by OrdersController#new as HTML
692
+ Rendering orders/new.html.erb within layouts/application
693
+ Rendered orders/_form.html.erb (96.0ms)
694
+ Rendered orders/new.html.erb within layouts/application (107.0ms)
695
+ Completed 200 OK in 2106ms (Views: 2073.9ms | ActiveRecord: 0.0ms)
696
+
697
+
698
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
699
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
700
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
701
+ Started GET "/assets/tether/tether.self-0e1103bd72084f20bc17863434595ea99e999bcf530d80110698608f35ff5620.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
702
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
703
+ Started GET "/assets/bootstrap/alert.self-5a586b490b4c9332249b231956b361b852b128a0d82f7f08549f205bba1bfeb0.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
704
+ Started GET "/assets/bootstrap/button.self-30412f39aaa761313878531076ce8187fe6c017e42111bf2c283fce4a7c850f8.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
705
+ Started GET "/assets/bootstrap/carousel.self-f18afa468f85125228747ec83e00e56a26bbc71295e90a3848af25b258445615.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
706
+ Started GET "/assets/bootstrap/collapse.self-94c7455a70c5bb5ad5b3eae0c70388160c238afdea0b48d5345587fd176fb52d.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
707
+ Started GET "/assets/bootstrap/dropdown.self-954f8384ac380992dd91b2b176b570b0792365a334efb758774c718d9628a329.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
708
+ Started GET "/assets/bootstrap/modal.self-a406636221efb5add01fbaa60c24ac0ae6bc0c57008d8e2503d68f49fbe75ad0.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
709
+ Started GET "/assets/bootstrap/scrollspy.self-66781adda319363e67c65edfc73459411bd3948c0f32efddbc9928b810d5abf4.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:17 +0200
710
+ Started GET "/assets/bootstrap/tab.self-e3abc2817f699a2be95f78a4aff190ef7669d5590adbacd0c08867eb34ed16c6.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
711
+ Started GET "/assets/bootstrap/tooltip.self-dd8a9f3fa1f9fc58df30c7ed9a17dfc7303b812d72640899beee03609124b426.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
712
+ Started GET "/assets/bootstrap/popover.self-7d459fac34d4d96fd9d6da8efcd40dee55b66579a24ddcebf0a355c82dcad7e0.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
713
+ Started GET "/assets/bootstrap-sprockets.self-636159b35205da4142a43bc02d2849d77d3ac07a0946211585cde15a9c6ff21f.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
714
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
715
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
716
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
717
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
718
+ Started GET "/assets/bootstrap/util.self-5ae5b599fc2afe0f317696c5dfc0b51d6ce2ecb47d0341d1555b2fe971ada496.js?body=1" for 127.0.0.1 at 2017-01-21 23:25:18 +0200
719
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-01-21 23:27:44 +0200
720
+ Processing by ClientsController#autocomplete_client_name as JSON
721
+ Parameters: {"q"=>"a"}
722
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
723
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 1.0ms)
724
+
725
+
726
+ Started GET "/orders/new" for 127.0.0.1 at 2017-01-21 23:30:11 +0200
727
+ Processing by OrdersController#new as HTML
728
+ Rendering orders/new.html.erb within layouts/application
729
+ Rendered orders/_form.html.erb (5.0ms)
730
+ Rendered orders/new.html.erb within layouts/application (16.0ms)
731
+ Completed 200 OK in 210ms (Views: 200.9ms | ActiveRecord: 0.0ms)
732
+
733
+
734
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
735
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
736
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
737
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
738
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
739
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
740
+ Started GET "/assets/tether/tether.self-0e1103bd72084f20bc17863434595ea99e999bcf530d80110698608f35ff5620.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
741
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
742
+ Started GET "/assets/bootstrap/util.self-5ae5b599fc2afe0f317696c5dfc0b51d6ce2ecb47d0341d1555b2fe971ada496.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
743
+ Started GET "/assets/bootstrap/alert.self-5a586b490b4c9332249b231956b361b852b128a0d82f7f08549f205bba1bfeb0.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
744
+ Started GET "/assets/bootstrap/button.self-30412f39aaa761313878531076ce8187fe6c017e42111bf2c283fce4a7c850f8.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
745
+ Started GET "/assets/bootstrap/carousel.self-f18afa468f85125228747ec83e00e56a26bbc71295e90a3848af25b258445615.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
746
+ Started GET "/assets/bootstrap/collapse.self-94c7455a70c5bb5ad5b3eae0c70388160c238afdea0b48d5345587fd176fb52d.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
747
+ Started GET "/assets/bootstrap/dropdown.self-954f8384ac380992dd91b2b176b570b0792365a334efb758774c718d9628a329.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
748
+ Started GET "/assets/bootstrap/modal.self-a406636221efb5add01fbaa60c24ac0ae6bc0c57008d8e2503d68f49fbe75ad0.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
749
+ Started GET "/assets/bootstrap/scrollspy.self-66781adda319363e67c65edfc73459411bd3948c0f32efddbc9928b810d5abf4.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
750
+ Started GET "/assets/bootstrap/tab.self-e3abc2817f699a2be95f78a4aff190ef7669d5590adbacd0c08867eb34ed16c6.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
751
+ Started GET "/assets/bootstrap/tooltip.self-dd8a9f3fa1f9fc58df30c7ed9a17dfc7303b812d72640899beee03609124b426.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
752
+ Started GET "/assets/bootstrap/popover.self-7d459fac34d4d96fd9d6da8efcd40dee55b66579a24ddcebf0a355c82dcad7e0.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
753
+ Started GET "/assets/bootstrap-sprockets.self-636159b35205da4142a43bc02d2849d77d3ac07a0946211585cde15a9c6ff21f.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:12 +0200
754
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-01-21 23:30:13 +0200
755
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
756
+ Started GET "/" for 127.0.0.1 at 2017-05-10 21:46:10 +0300
757
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
758
+ Processing by Rails::WelcomeController#index as HTML
759
+ Parameters: {"internal"=>true}
760
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb
761
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (18.0ms)
762
+ Completed 200 OK in 299ms (Views: 126.5ms | ActiveRecord: 0.0ms)
763
+
764
+
765
+ Started GET "/order" for 127.0.0.1 at 2017-05-10 21:46:17 +0300
766
+
767
+ ActionController::RoutingError (No route matches [GET] "/order"):
768
+
769
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
770
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
771
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
772
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
773
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
774
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
775
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
776
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
777
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
778
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
779
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
780
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
781
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
782
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
783
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
784
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
785
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
786
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
787
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
788
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
789
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
790
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
791
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
792
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
793
+ Rendered collection of d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [19 times] (74.0ms)
794
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (102.0ms)
795
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
796
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
797
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (1665.1ms)
798
+ Started GET "/orders" for 127.0.0.1 at 2017-05-10 21:46:21 +0300
799
+ Processing by OrdersController#index as HTML
800
+ Rendering orders/index.html.erb within layouts/application
801
+ Order Load (1.0ms) SELECT "orders".* FROM "orders"
802
+ Rendered orders/index.html.erb within layouts/application (33.0ms)
803
+ Completed 200 OK in 5066ms (Views: 5332.1ms | ActiveRecord: 3.0ms)
804
+
805
+
806
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-05-10 21:47:01 +0300
807
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:02 +0300
808
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:02 +0300
809
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:02 +0300
810
+ Started GET "/assets/tether/tether.self-0e1103bd72084f20bc17863434595ea99e999bcf530d80110698608f35ff5620.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:02 +0300
811
+ Started GET "/assets/bootstrap/alert.self-5a586b490b4c9332249b231956b361b852b128a0d82f7f08549f205bba1bfeb0.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:02 +0300
812
+ Started GET "/assets/bootstrap/button.self-30412f39aaa761313878531076ce8187fe6c017e42111bf2c283fce4a7c850f8.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
813
+ Started GET "/assets/bootstrap/carousel.self-f18afa468f85125228747ec83e00e56a26bbc71295e90a3848af25b258445615.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
814
+ Started GET "/assets/bootstrap/collapse.self-94c7455a70c5bb5ad5b3eae0c70388160c238afdea0b48d5345587fd176fb52d.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
815
+ Started GET "/assets/bootstrap/dropdown.self-954f8384ac380992dd91b2b176b570b0792365a334efb758774c718d9628a329.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
816
+ Started GET "/assets/bootstrap/modal.self-a406636221efb5add01fbaa60c24ac0ae6bc0c57008d8e2503d68f49fbe75ad0.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
817
+ Started GET "/assets/bootstrap/scrollspy.self-66781adda319363e67c65edfc73459411bd3948c0f32efddbc9928b810d5abf4.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
818
+ Started GET "/assets/bootstrap/tab.self-e3abc2817f699a2be95f78a4aff190ef7669d5590adbacd0c08867eb34ed16c6.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
819
+ Started GET "/assets/bootstrap/tooltip.self-dd8a9f3fa1f9fc58df30c7ed9a17dfc7303b812d72640899beee03609124b426.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:03 +0300
820
+ Started GET "/assets/bootstrap/popover.self-7d459fac34d4d96fd9d6da8efcd40dee55b66579a24ddcebf0a355c82dcad7e0.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:04 +0300
821
+ Started GET "/assets/bootstrap-sprockets.self-636159b35205da4142a43bc02d2849d77d3ac07a0946211585cde15a9c6ff21f.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:04 +0300
822
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:04 +0300
823
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:04 +0300
824
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:04 +0300
825
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:04 +0300
826
+ Started GET "/assets/bootstrap/util.self-5ae5b599fc2afe0f317696c5dfc0b51d6ce2ecb47d0341d1555b2fe971ada496.js?body=1" for 127.0.0.1 at 2017-05-10 21:47:05 +0300
827
+ Started GET "/orders/new" for 127.0.0.1 at 2017-05-10 21:47:10 +0300
828
+ Processing by OrdersController#new as HTML
829
+ Rendering orders/new.html.erb within layouts/application
830
+ Rendered orders/_form.html.erb (733.0ms)
831
+ Rendered orders/new.html.erb within layouts/application (827.0ms)
832
+ Completed 200 OK in 1342ms (Views: 1319.6ms | ActiveRecord: 0.0ms)
833
+
834
+
835
+ Started GET "/orders" for 127.0.0.1 at 2017-05-10 21:47:51 +0300
836
+ Processing by OrdersController#index as HTML
837
+ Rendering orders/index.html.erb within layouts/application
838
+ Order Load (1.0ms) SELECT "orders".* FROM "orders"
839
+ Rendered orders/index.html.erb within layouts/application (3.0ms)
840
+ Completed 200 OK in 534ms (Views: 575.4ms | ActiveRecord: 1.0ms)
841
+
842
+
843
+ Started GET "/clients" for 127.0.0.1 at 2017-05-10 21:47:56 +0300
844
+ Processing by ClientsController#index as HTML
845
+ Rendering clients/index.html.erb within layouts/application
846
+ Client Load (0.0ms) SELECT "clients".* FROM "clients"
847
+ Rendered clients/index.html.erb within layouts/application (16.0ms)
848
+ Completed 200 OK in 638ms (Views: 595.3ms | ActiveRecord: 0.0ms)
849
+
850
+
851
+ Started GET "/clients/new" for 127.0.0.1 at 2017-05-10 21:48:01 +0300
852
+ Processing by ClientsController#new as HTML
853
+ Rendering clients/new.html.erb within layouts/application
854
+ Rendered clients/_form.html.erb (4.0ms)
855
+ Rendered clients/new.html.erb within layouts/application (49.0ms)
856
+ Completed 200 OK in 607ms (Views: 617.3ms | ActiveRecord: 0.0ms)
857
+
858
+
859
+ Started GET "/clients" for 127.0.0.1 at 2017-05-10 21:48:03 +0300
860
+ Processing by ClientsController#index as HTML
861
+ Rendering clients/index.html.erb within layouts/application
862
+ Client Load (1.0ms) SELECT "clients".* FROM "clients"
863
+ Rendered clients/index.html.erb within layouts/application (5.0ms)
864
+ Completed 200 OK in 539ms (Views: 586.6ms | ActiveRecord: 1.0ms)
865
+
866
+
867
+ Started GET "/orders/new" for 127.0.0.1 at 2017-05-10 21:48:08 +0300
868
+ Processing by OrdersController#new as HTML
869
+ Rendering orders/new.html.erb within layouts/application
870
+ Rendered orders/_form.html.erb (13.0ms)
871
+ Rendered orders/new.html.erb within layouts/application (37.0ms)
872
+ Completed 200 OK in 579ms (Views: 595.3ms | ActiveRecord: 0.0ms)
873
+
874
+
875
+ Started GET "/orders/new" for 127.0.0.1 at 2017-05-10 21:48:33 +0300
876
+ Processing by OrdersController#new as HTML
877
+ Rendering orders/new.html.erb within layouts/application
878
+ Rendered orders/_form.html.erb (26.0ms)
879
+ Rendered orders/new.html.erb within layouts/application (53.0ms)
880
+ Completed 200 OK in 578ms (Views: 554.4ms | ActiveRecord: 0.0ms)
881
+
882
+
883
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-05-10 21:48:34 +0300
884
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:34 +0300
885
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:34 +0300
886
+ Started GET "/assets/tether/tether.self-0e1103bd72084f20bc17863434595ea99e999bcf530d80110698608f35ff5620.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:35 +0300
887
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:35 +0300
888
+ Started GET "/assets/bootstrap/alert.self-5a586b490b4c9332249b231956b361b852b128a0d82f7f08549f205bba1bfeb0.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:35 +0300
889
+ Started GET "/assets/bootstrap/button.self-30412f39aaa761313878531076ce8187fe6c017e42111bf2c283fce4a7c850f8.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:35 +0300
890
+ Started GET "/assets/bootstrap/carousel.self-f18afa468f85125228747ec83e00e56a26bbc71295e90a3848af25b258445615.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:35 +0300
891
+ Started GET "/assets/bootstrap/collapse.self-94c7455a70c5bb5ad5b3eae0c70388160c238afdea0b48d5345587fd176fb52d.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:35 +0300
892
+ Started GET "/assets/bootstrap/dropdown.self-954f8384ac380992dd91b2b176b570b0792365a334efb758774c718d9628a329.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:35 +0300
893
+ Started GET "/assets/bootstrap/modal.self-a406636221efb5add01fbaa60c24ac0ae6bc0c57008d8e2503d68f49fbe75ad0.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:36 +0300
894
+ Started GET "/assets/bootstrap/scrollspy.self-66781adda319363e67c65edfc73459411bd3948c0f32efddbc9928b810d5abf4.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:36 +0300
895
+ Started GET "/assets/bootstrap/tab.self-e3abc2817f699a2be95f78a4aff190ef7669d5590adbacd0c08867eb34ed16c6.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:36 +0300
896
+ Started GET "/assets/bootstrap/tooltip.self-dd8a9f3fa1f9fc58df30c7ed9a17dfc7303b812d72640899beee03609124b426.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:36 +0300
897
+ Started GET "/assets/bootstrap/popover.self-7d459fac34d4d96fd9d6da8efcd40dee55b66579a24ddcebf0a355c82dcad7e0.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:36 +0300
898
+ Started GET "/assets/bootstrap-sprockets.self-636159b35205da4142a43bc02d2849d77d3ac07a0946211585cde15a9c6ff21f.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:36 +0300
899
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:36 +0300
900
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:37 +0300
901
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:37 +0300
902
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:37 +0300
903
+ Started GET "/assets/bootstrap/util.self-5ae5b599fc2afe0f317696c5dfc0b51d6ce2ecb47d0341d1555b2fe971ada496.js?body=1" for 127.0.0.1 at 2017-05-10 21:48:37 +0300
904
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2017-05-10 21:48:43 +0300
905
+ Processing by ClientsController#autocomplete_client_name as JSON
906
+ Parameters: {"q"=>"b"}
907
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
908
+ Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 0.0ms)
909
+
910
+
911
+ Started GET "/orders/new" for 127.0.0.1 at 2017-05-10 21:49:36 +0300
912
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
913
+ Processing by OrdersController#new as HTML
914
+ Rendering orders/new.html.erb within layouts/application
915
+ Rendered orders/_form.html.erb (29.0ms)
916
+ Rendered orders/new.html.erb within layouts/application (48.0ms)
917
+ Completed 200 OK in 587ms (Views: 590.8ms | ActiveRecord: 1.0ms)
918
+
919
+
920
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
921
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
922
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
923
+ Started GET "/assets/tether/tether.self-0e1103bd72084f20bc17863434595ea99e999bcf530d80110698608f35ff5620.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
924
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
925
+ Started GET "/assets/bootstrap/alert.self-5a586b490b4c9332249b231956b361b852b128a0d82f7f08549f205bba1bfeb0.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
926
+ Started GET "/assets/bootstrap/button.self-30412f39aaa761313878531076ce8187fe6c017e42111bf2c283fce4a7c850f8.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
927
+ Started GET "/assets/bootstrap/carousel.self-f18afa468f85125228747ec83e00e56a26bbc71295e90a3848af25b258445615.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:38 +0300
928
+ Started GET "/assets/bootstrap/collapse.self-94c7455a70c5bb5ad5b3eae0c70388160c238afdea0b48d5345587fd176fb52d.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
929
+ Started GET "/assets/bootstrap/dropdown.self-954f8384ac380992dd91b2b176b570b0792365a334efb758774c718d9628a329.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
930
+ Started GET "/assets/bootstrap/modal.self-a406636221efb5add01fbaa60c24ac0ae6bc0c57008d8e2503d68f49fbe75ad0.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
931
+ Started GET "/assets/bootstrap/scrollspy.self-66781adda319363e67c65edfc73459411bd3948c0f32efddbc9928b810d5abf4.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
932
+ Started GET "/assets/bootstrap/tab.self-e3abc2817f699a2be95f78a4aff190ef7669d5590adbacd0c08867eb34ed16c6.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
933
+ Started GET "/assets/bootstrap/tooltip.self-dd8a9f3fa1f9fc58df30c7ed9a17dfc7303b812d72640899beee03609124b426.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
934
+ Started GET "/assets/bootstrap/popover.self-7d459fac34d4d96fd9d6da8efcd40dee55b66579a24ddcebf0a355c82dcad7e0.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
935
+ Started GET "/assets/bootstrap-sprockets.self-636159b35205da4142a43bc02d2849d77d3ac07a0946211585cde15a9c6ff21f.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:39 +0300
936
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:40 +0300
937
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:40 +0300
938
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:40 +0300
939
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:40 +0300
940
+ Started GET "/assets/bootstrap/util.self-5ae5b599fc2afe0f317696c5dfc0b51d6ce2ecb47d0341d1555b2fe971ada496.js?body=1" for 127.0.0.1 at 2017-05-10 21:49:41 +0300
941
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2017-05-10 21:49:44 +0300
942
+ Processing by ClientsController#autocomplete_client_name as JSON
943
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 21:49:44 +0300
944
+ Parameters: {"q"=>"b"}
945
+ Processing by ClientsController#autocomplete_client_name as JSON
946
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
947
+ Parameters: {"q"=>"ba"}
948
+ Completed 500 Internal Server Error in 9ms (ActiveRecord: 2.0ms)
949
+
950
+
951
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'ba%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
952
+
953
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.0ms)
954
+
955
+
956
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: company_id: SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ?):
957
+
958
+
959
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: company_id: SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'ba%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ?):
960
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `initialize'
961
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `new'
962
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `prepare'
963
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:196:in `block in exec_query'
964
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:589:in `block in log'
965
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
966
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
967
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
968
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
969
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
970
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:93:in `block in select_all'
971
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:108:in `cache_sql'
972
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:93:in `select_all'
973
+ activerecord (5.0.1) lib/active_record/querying.rb:39:in `find_by_sql'
974
+ activerecord (5.0.1) lib/active_record/relation.rb:702:in `exec_queries'
975
+ activerecord (5.0.1) lib/active_record/relation.rb:583:in `load'
976
+ activerecord (5.0.1) lib/active_record/relation.rb:260:in `records'
977
+ activerecord (5.0.1) lib/active_record/relation/delegation.rb:38:in `collect'
978
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:63:in `items_to_json'
979
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:42:in `block in autocomplete'
980
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
981
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
982
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
983
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
984
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
985
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
986
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
987
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
988
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
989
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
990
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
991
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
992
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
993
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
994
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
995
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
996
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
997
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
998
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
999
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1000
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1001
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1002
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1003
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1004
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1005
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1006
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1007
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1008
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1009
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1010
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1011
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1012
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1013
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1014
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1015
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1016
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1017
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1018
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1019
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1020
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1021
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1022
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1023
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1024
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1025
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1026
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1027
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1028
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1029
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1030
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1031
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1032
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1033
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1034
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1035
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1036
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1037
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1038
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1039
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1040
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1041
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1042
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1043
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1044
+
1045
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `initialize'
1046
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `new'
1047
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `prepare'
1048
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:196:in `block in exec_query'
1049
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:589:in `block in log'
1050
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1051
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
1052
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
1053
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
1054
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
1055
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:93:in `block in select_all'
1056
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:108:in `cache_sql'
1057
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:93:in `select_all'
1058
+ activerecord (5.0.1) lib/active_record/querying.rb:39:in `find_by_sql'
1059
+ activerecord (5.0.1) lib/active_record/relation.rb:702:in `exec_queries'
1060
+ activerecord (5.0.1) lib/active_record/relation.rb:583:in `load'
1061
+ activerecord (5.0.1) lib/active_record/relation.rb:260:in `records'
1062
+ activerecord (5.0.1) lib/active_record/relation/delegation.rb:38:in `collect'
1063
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:63:in `items_to_json'
1064
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:42:in `block in autocomplete'
1065
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
1066
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
1067
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
1068
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1069
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
1070
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
1071
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
1072
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
1073
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
1074
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1075
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1076
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
1077
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1078
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
1079
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1080
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
1081
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1082
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
1083
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1084
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1085
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1086
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1087
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1088
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1089
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1090
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1091
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1092
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1093
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1094
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1095
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1096
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1097
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1098
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1099
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1100
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1101
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1102
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1103
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1104
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1105
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1106
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1107
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1108
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1109
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1110
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1111
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1112
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1113
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1114
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1115
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1116
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1117
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1118
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1119
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1120
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1121
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1122
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1123
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1124
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1125
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1126
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1127
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1128
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1129
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
1130
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
1131
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
1132
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
1133
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (3.0ms)
1134
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.0ms)
1135
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
1136
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms)
1137
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
1138
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms)
1139
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
1140
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (2.0ms)
1141
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
1142
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (2112.1ms)
1143
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (2.0ms)
1144
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (1796.1ms)
1145
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 21:51:19 +0300
1146
+ Processing by ClientsController#autocomplete_client_name as HTML
1147
+ Parameters: {"q"=>"ba"}
1148
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'ba%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1149
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 1.0ms)
1150
+
1151
+
1152
+
1153
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: company_id: SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'ba%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ?):
1154
+
1155
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `initialize'
1156
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `new'
1157
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `prepare'
1158
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:196:in `block in exec_query'
1159
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:589:in `block in log'
1160
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1161
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
1162
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
1163
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
1164
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
1165
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:93:in `block in select_all'
1166
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:108:in `cache_sql'
1167
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:93:in `select_all'
1168
+ activerecord (5.0.1) lib/active_record/querying.rb:39:in `find_by_sql'
1169
+ activerecord (5.0.1) lib/active_record/relation.rb:702:in `exec_queries'
1170
+ activerecord (5.0.1) lib/active_record/relation.rb:583:in `load'
1171
+ activerecord (5.0.1) lib/active_record/relation.rb:260:in `records'
1172
+ activerecord (5.0.1) lib/active_record/relation/delegation.rb:38:in `collect'
1173
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:63:in `items_to_json'
1174
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:42:in `block in autocomplete'
1175
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
1176
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
1177
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
1178
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1179
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
1180
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
1181
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
1182
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
1183
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
1184
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1185
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1186
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
1187
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1188
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
1189
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1190
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
1191
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1192
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
1193
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1194
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1195
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1196
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1197
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1198
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1199
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1200
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1201
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1202
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1203
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1204
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1205
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1206
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1207
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1208
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1209
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1210
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1211
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1212
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1213
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1214
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1215
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1216
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1217
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1218
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1219
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1220
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1221
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1222
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1223
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1224
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1225
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1226
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1227
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1228
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1229
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1230
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1231
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1232
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1233
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1234
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1235
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1236
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1237
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1238
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1239
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1240
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1241
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (17.0ms)
1242
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1243
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.0ms)
1244
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1245
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
1246
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (1182.1ms)
1247
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:02:36 +0300
1248
+ Processing by ClientsController#autocomplete_client_name as HTML
1249
+ Parameters: {"q"=>"ba"}
1250
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'ba%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1251
+ Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 1.0ms)
1252
+
1253
+
1254
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:03:56 +0300
1255
+ Processing by ClientsController#autocomplete_client_name as HTML
1256
+ Parameters: {"q"=>"ba"}
1257
+ Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.0ms)
1258
+
1259
+
1260
+
1261
+ TypeError (Cannot visit Proc):
1262
+
1263
+ arel (7.1.4) lib/arel/visitors/reduce.rb:19:in `rescue in visit'
1264
+ arel (7.1.4) lib/arel/visitors/reduce.rb:13:in `visit'
1265
+ arel (7.1.4) lib/arel/visitors/to_sql.rb:223:in `block in visit_Arel_Nodes_SelectStatement'
1266
+ arel (7.1.4) lib/arel/visitors/to_sql.rb:222:in `each'
1267
+ arel (7.1.4) lib/arel/visitors/to_sql.rb:222:in `each_with_index'
1268
+ arel (7.1.4) lib/arel/visitors/to_sql.rb:222:in `visit_Arel_Nodes_SelectStatement'
1269
+ arel (7.1.4) lib/arel/visitors/sqlite.rb:13:in `visit_Arel_Nodes_SelectStatement'
1270
+ arel (7.1.4) lib/arel/visitors/reduce.rb:13:in `visit'
1271
+ arel (7.1.4) lib/arel/visitors/reduce.rb:7:in `accept'
1272
+ activerecord (5.0.1) lib/active_record/connection_adapters/determine_if_preparable_visitor.rb:8:in `accept'
1273
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:12:in `to_sql'
1274
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:92:in `select_all'
1275
+ activerecord (5.0.1) lib/active_record/querying.rb:39:in `find_by_sql'
1276
+ activerecord (5.0.1) lib/active_record/relation.rb:702:in `exec_queries'
1277
+ activerecord (5.0.1) lib/active_record/relation.rb:583:in `load'
1278
+ activerecord (5.0.1) lib/active_record/relation.rb:260:in `records'
1279
+ activerecord (5.0.1) lib/active_record/relation/delegation.rb:38:in `collect'
1280
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:63:in `items_to_json'
1281
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:42:in `block in autocomplete'
1282
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
1283
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
1284
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
1285
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1286
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
1287
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
1288
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
1289
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
1290
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
1291
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1292
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1293
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
1294
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1295
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
1296
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1297
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
1298
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1299
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
1300
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1301
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1302
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1303
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1304
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1305
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1306
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1307
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1308
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1309
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1310
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1311
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1312
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1313
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1314
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1315
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1316
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1317
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1318
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1319
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1320
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1321
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1322
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1323
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1324
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1325
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1326
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1327
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1328
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1329
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1330
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1331
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1332
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1333
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1334
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1335
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1336
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1337
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1338
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1339
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1340
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1341
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1342
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1343
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1344
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1345
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1346
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1347
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1348
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.0ms)
1349
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1350
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
1351
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1352
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
1353
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (740.0ms)
1354
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:19:26 +0300
1355
+ Processing by ClientsController#autocomplete_client_name as HTML
1356
+ Parameters: {"q"=>"ba"}
1357
+ Completed 500 Internal Server Error in 109ms (ActiveRecord: 0.0ms)
1358
+
1359
+
1360
+
1361
+ NameError (undefined local variable or method `column_name' for #<ClientsController:0x0000000ce264e8>):
1362
+
1363
+ app/controllers/clients_controller.rb:35:in `autocomplete_client_name'
1364
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1365
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1366
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (8.0ms)
1367
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1368
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms)
1369
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1370
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1371
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (486.0ms)
1372
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:24:17 +0300
1373
+ Processing by ClientsController#autocomplete_client_name as HTML
1374
+ Parameters: {"q"=>"ba"}
1375
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE (LOWER(name) LIKE 'ba%') ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1376
+ Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 1.0ms)
1377
+
1378
+
1379
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:24:28 +0300
1380
+ Processing by ClientsController#autocomplete_client_name as HTML
1381
+ Parameters: {"q"=>"ba"}
1382
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE (id=1 AND LOWER(name) LIKE 'ba%') ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1383
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1384
+
1385
+
1386
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:24:40 +0300
1387
+ Processing by ClientsController#autocomplete_client_name as HTML
1388
+ Parameters: {"q"=>"ba"}
1389
+ Completed 500 Internal Server Error in 97ms (ActiveRecord: 0.0ms)
1390
+
1391
+
1392
+
1393
+ NameError (undefined local variable or method `items' for #<ClientsController:0x0000000c3e0060>):
1394
+
1395
+ app/controllers/clients_controller.rb:52:in `autocomplete_client_name'
1396
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1397
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1398
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (2.0ms)
1399
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1400
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
1401
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1402
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1403
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (436.0ms)
1404
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:24:43 +0300
1405
+ Processing by ClientsController#autocomplete_client_name as HTML
1406
+ Parameters: {"q"=>"ba"}
1407
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE (you custom query here) ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1408
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
1409
+
1410
+
1411
+
1412
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: near "custom": syntax error: SELECT "clients".* FROM "clients" WHERE (you custom query here) ORDER BY name ASC LIMIT ?):
1413
+
1414
+ app/controllers/clients_controller.rb:52:in `autocomplete_client_name'
1415
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1416
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1417
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms)
1418
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1419
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1420
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1421
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1422
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (592.0ms)
1423
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:24:47 +0300
1424
+ Processing by ClientsController#autocomplete_client_name as HTML
1425
+ Parameters: {"q"=>"ba"}
1426
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE (LOWER(name) LIKE 'ba%') ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1427
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1428
+
1429
+
1430
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:28:11 +0300
1431
+ Processing by ClientsController#autocomplete_client_name as HTML
1432
+ Parameters: {"q"=>"ba"}
1433
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE (your custom query here) ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1434
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
1435
+
1436
+
1437
+
1438
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: near "custom": syntax error: SELECT "clients".* FROM "clients" WHERE (your custom query here) ORDER BY name ASC LIMIT ?):
1439
+
1440
+ app/controllers/clients_controller.rb:48:in `autocomplete_client_name'
1441
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1442
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1443
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms)
1444
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1445
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1446
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1447
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1448
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (418.0ms)
1449
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:28:32 +0300
1450
+ Processing by ClientsController#autocomplete_client_name as HTML
1451
+ Parameters: {"q"=>"ba"}
1452
+ Client Load (1.0ms) SELECT "clients".* FROM "clients" WHERE (your custom query here) ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1453
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 1.0ms)
1454
+
1455
+
1456
+
1457
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: near "custom": syntax error: SELECT "clients".* FROM "clients" WHERE (your custom query here) ORDER BY name ASC LIMIT ?):
1458
+
1459
+ app/controllers/clients_controller.rb:48:in `autocomplete_client_name'
1460
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1461
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1462
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.0ms)
1463
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1464
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1465
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1466
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
1467
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (431.0ms)
1468
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:28:50 +0300
1469
+ Processing by ClientsController#autocomplete_client_name as HTML
1470
+ Parameters: {"q"=>"ba"}
1471
+ Completed 500 Internal Server Error in 66ms (ActiveRecord: 0.0ms)
1472
+
1473
+
1474
+
1475
+ NameError (undefined local variable or method `term' for #<ClientsController:0x0000000c072608>):
1476
+
1477
+ app/controllers/clients_controller.rb:30:in `autocomplete_client_name'
1478
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1479
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1480
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (2.0ms)
1481
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1482
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1483
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1484
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1485
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (451.0ms)
1486
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:28:59 +0300
1487
+ Processing by ClientsController#autocomplete_client_name as HTML
1488
+ Parameters: {"q"=>"ba"}
1489
+ Client Load (1.0ms) SELECT "clients".* FROM "clients" WHERE (LOWER(name) LIKE 'ba%') ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1490
+ Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.0ms)
1491
+
1492
+
1493
+ Started GET "/clients/autocomplete_client_name?q=ba" for 127.0.0.1 at 2017-05-10 22:29:03 +0300
1494
+ Processing by ClientsController#autocomplete_client_name as HTML
1495
+ Parameters: {"q"=>"ba"}
1496
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE (LOWER(name) LIKE 'ba%') ORDER BY name ASC LIMIT ? [["LIMIT", 10]]
1497
+ Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.0ms)
1498
+
1499
+
1500
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
1501
+ Started GET "/" for 127.0.0.1 at 2017-05-13 17:39:44 +0300
1502
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
1503
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1504
+ Processing by Rails::WelcomeController#index as HTML
1505
+ Parameters: {"internal"=>true}
1506
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb
1507
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (10.0ms)
1508
+ Completed 200 OK in 139ms (Views: 83.9ms | ActiveRecord: 0.0ms)
1509
+
1510
+
1511
+ Started GET "/orders" for 127.0.0.1 at 2017-05-13 17:40:03 +0300
1512
+ Processing by OrdersController#index as HTML
1513
+ Rendering orders/index.html.erb within layouts/application
1514
+ Order Load (1.0ms) SELECT "orders".* FROM "orders"
1515
+ Rendered orders/index.html.erb within layouts/application (33.0ms)
1516
+ Completed 200 OK in 2606ms (Views: 2502.1ms | ActiveRecord: 3.0ms)
1517
+
1518
+
1519
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1520
+ Started GET "/assets/bootstrap/util.self-5ae5b599fc2afe0f317696c5dfc0b51d6ce2ecb47d0341d1555b2fe971ada496.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1521
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1522
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1523
+ Started GET "/assets/tether/tether.self-0e1103bd72084f20bc17863434595ea99e999bcf530d80110698608f35ff5620.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1524
+ Started GET "/assets/bootstrap/alert.self-5a586b490b4c9332249b231956b361b852b128a0d82f7f08549f205bba1bfeb0.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1525
+ Started GET "/assets/bootstrap/carousel.self-f18afa468f85125228747ec83e00e56a26bbc71295e90a3848af25b258445615.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1526
+ Started GET "/assets/bootstrap/button.self-30412f39aaa761313878531076ce8187fe6c017e42111bf2c283fce4a7c850f8.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1527
+ Started GET "/assets/bootstrap/collapse.self-94c7455a70c5bb5ad5b3eae0c70388160c238afdea0b48d5345587fd176fb52d.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1528
+ Started GET "/assets/bootstrap/dropdown.self-954f8384ac380992dd91b2b176b570b0792365a334efb758774c718d9628a329.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1529
+ Started GET "/assets/bootstrap/modal.self-a406636221efb5add01fbaa60c24ac0ae6bc0c57008d8e2503d68f49fbe75ad0.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1530
+ Started GET "/assets/bootstrap/scrollspy.self-66781adda319363e67c65edfc73459411bd3948c0f32efddbc9928b810d5abf4.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1531
+ Started GET "/assets/bootstrap/tab.self-e3abc2817f699a2be95f78a4aff190ef7669d5590adbacd0c08867eb34ed16c6.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1532
+ Started GET "/assets/bootstrap/tooltip.self-dd8a9f3fa1f9fc58df30c7ed9a17dfc7303b812d72640899beee03609124b426.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1533
+ Started GET "/assets/bootstrap/popover.self-7d459fac34d4d96fd9d6da8efcd40dee55b66579a24ddcebf0a355c82dcad7e0.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:06 +0300
1534
+ Started GET "/assets/bootstrap-sprockets.self-636159b35205da4142a43bc02d2849d77d3ac07a0946211585cde15a9c6ff21f.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:07 +0300
1535
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:07 +0300
1536
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:07 +0300
1537
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:07 +0300
1538
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:07 +0300
1539
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-05-13 17:40:07 +0300
1540
+ Started GET "/orders/new" for 127.0.0.1 at 2017-05-13 17:40:09 +0300
1541
+ Processing by OrdersController#new as HTML
1542
+ Rendering orders/new.html.erb within layouts/application
1543
+ Rendered orders/_form.html.erb (871.1ms)
1544
+ Rendered orders/new.html.erb within layouts/application (882.1ms)
1545
+ Completed 200 OK in 1098ms (Views: 1086.1ms | ActiveRecord: 0.0ms)
1546
+
1547
+
1548
+ Started GET "/orders/new" for 127.0.0.1 at 2017-05-13 17:49:00 +0300
1549
+ Processing by OrdersController#new as HTML
1550
+ Rendering orders/new.html.erb within layouts/application
1551
+ Rendered orders/_form.html.erb (5.0ms)
1552
+ Rendered orders/new.html.erb within layouts/application (15.0ms)
1553
+ Completed 200 OK in 234ms (Views: 217.9ms | ActiveRecord: 0.0ms)
1554
+
1555
+
1556
+ Started GET "/assets/application.self-48321f1ef82e35a81c0c79a1f14b0308143e6a45985f7b0acafabb16856881e9.css?body=1" for 127.0.0.1 at 2017-05-13 17:49:00 +0300
1557
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:00 +0300
1558
+ Started GET "/assets/tether/tether.self-0e1103bd72084f20bc17863434595ea99e999bcf530d80110698608f35ff5620.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:00 +0300
1559
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:00 +0300
1560
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:00 +0300
1561
+ Started GET "/assets/bootstrap/carousel.self-f18afa468f85125228747ec83e00e56a26bbc71295e90a3848af25b258445615.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1562
+ Started GET "/assets/bootstrap/button.self-30412f39aaa761313878531076ce8187fe6c017e42111bf2c283fce4a7c850f8.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1563
+ Started GET "/assets/bootstrap/alert.self-5a586b490b4c9332249b231956b361b852b128a0d82f7f08549f205bba1bfeb0.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1564
+ Started GET "/assets/bootstrap/util.self-5ae5b599fc2afe0f317696c5dfc0b51d6ce2ecb47d0341d1555b2fe971ada496.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1565
+ Started GET "/assets/bootstrap/modal.self-a406636221efb5add01fbaa60c24ac0ae6bc0c57008d8e2503d68f49fbe75ad0.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1566
+ Started GET "/assets/bootstrap/scrollspy.self-66781adda319363e67c65edfc73459411bd3948c0f32efddbc9928b810d5abf4.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1567
+ Started GET "/assets/bootstrap/tab.self-e3abc2817f699a2be95f78a4aff190ef7669d5590adbacd0c08867eb34ed16c6.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1568
+ Started GET "/assets/bootstrap/tooltip.self-dd8a9f3fa1f9fc58df30c7ed9a17dfc7303b812d72640899beee03609124b426.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1569
+ Started GET "/assets/bootstrap/dropdown.self-954f8384ac380992dd91b2b176b570b0792365a334efb758774c718d9628a329.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1570
+ Started GET "/assets/bootstrap/popover.self-7d459fac34d4d96fd9d6da8efcd40dee55b66579a24ddcebf0a355c82dcad7e0.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1571
+ Started GET "/assets/bootstrap-sprockets.self-636159b35205da4142a43bc02d2849d77d3ac07a0946211585cde15a9c6ff21f.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1572
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1573
+ Started GET "/assets/bootstrap-autocomplete-input.min.self-a62d5c85f65f9f4101234936f747c1d06ed14c92044823ac33003100ec8cc267.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1574
+ Started GET "/assets/turbolinks.self-c5acd7a204f5f25ce7a1d8a0e4d92e28d34c9e2df2c7371cd7af88e147e4ad82.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1575
+ Started GET "/assets/application.self-5c210454b1facc1e317a759f6059324f793841eb23d1f549179b64d1584c55f8.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1576
+ Started GET "/assets/bootstrap/collapse.self-94c7455a70c5bb5ad5b3eae0c70388160c238afdea0b48d5345587fd176fb52d.js?body=1" for 127.0.0.1 at 2017-05-13 17:49:01 +0300
1577
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:49:08 +0300
1578
+
1579
+ ActionController::RoutingError (undefined local variable or method `w_region' for ClientsController:Class):
1580
+
1581
+ app/controllers/clients_controller.rb:5:in `<class:ClientsController>'
1582
+ app/controllers/clients_controller.rb:1:in `<top (required)>'
1583
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
1584
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
1585
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms)
1586
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (192.0ms)
1587
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2017-05-13 17:51:07 +0300
1588
+
1589
+ ActionController::RoutingError (undefined local variable or method `w_region' for ClientsController:Class):
1590
+
1591
+ app/controllers/clients_controller.rb:5:in `<class:ClientsController>'
1592
+ app/controllers/clients_controller.rb:1:in `<top (required)>'
1593
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
1594
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
1595
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.0ms)
1596
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (129.0ms)
1597
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:51:14 +0300
1598
+
1599
+ ActionController::RoutingError (undefined local variable or method `w_region' for ClientsController:Class):
1600
+
1601
+ app/controllers/clients_controller.rb:5:in `<class:ClientsController>'
1602
+ app/controllers/clients_controller.rb:1:in `<top (required)>'
1603
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
1604
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1605
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
1606
+ Rendered collection of d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [19 times] (79.0ms)
1607
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.0ms)
1608
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1609
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1610
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (805.0ms)
1611
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:51:25 +0300
1612
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
1613
+ Processing by ClientsController#autocomplete_client_name as HTML
1614
+ Parameters: {"q"=>"a"}
1615
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1616
+ Completed 200 OK in 39ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1617
+
1618
+
1619
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:51:59 +0300
1620
+ Processing by ClientsController#autocomplete_client_name as HTML
1621
+ Parameters: {"q"=>"a"}
1622
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1623
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1624
+
1625
+
1626
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:52:14 +0300
1627
+ Processing by ClientsController#autocomplete_client_name as HTML
1628
+ Parameters: {"q"=>"a"}
1629
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1630
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1631
+
1632
+
1633
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:52:43 +0300
1634
+ Processing by ClientsController#autocomplete_client_name as HTML
1635
+ Parameters: {"q"=>"a"}
1636
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1637
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1638
+
1639
+
1640
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
1641
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:53:35 +0300
1642
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1643
+ Processing by ClientsController#autocomplete_client_name as HTML
1644
+ Parameters: {"q"=>"a"}
1645
+ Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)
1646
+
1647
+
1648
+
1649
+ RuntimeError (w=w_region):
1650
+
1651
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/orm/active_record.rb:37:in `get_autocomplete_items'
1652
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:33:in `block in autocomplete'
1653
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
1654
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
1655
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
1656
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1657
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
1658
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
1659
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
1660
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
1661
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
1662
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1663
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1664
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
1665
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1666
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
1667
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1668
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
1669
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1670
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
1671
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1672
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1673
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1674
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1675
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1676
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1677
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1678
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1679
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1680
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1681
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1682
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1683
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1684
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1685
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1686
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1687
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1688
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1689
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1690
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1691
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1692
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1693
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1694
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1695
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1696
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1697
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1698
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1699
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1700
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1701
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1702
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1703
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1704
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1705
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1706
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1707
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1708
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1709
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1710
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1711
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1712
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1713
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1714
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1715
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1716
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1717
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1718
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1719
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms)
1720
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1721
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1722
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1723
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1724
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (476.0ms)
1725
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:53:46 +0300
1726
+ Processing by ClientsController#autocomplete_client_name as HTML
1727
+ Parameters: {"q"=>"a"}
1728
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1729
+
1730
+
1731
+
1732
+ RuntimeError (w=w_region):
1733
+
1734
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/orm/active_record.rb:37:in `get_autocomplete_items'
1735
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:33:in `block in autocomplete'
1736
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
1737
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
1738
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
1739
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1740
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
1741
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
1742
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
1743
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
1744
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
1745
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1746
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1747
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
1748
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1749
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
1750
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1751
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
1752
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1753
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
1754
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1755
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1756
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1757
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1758
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1759
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1760
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1761
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1762
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1763
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1764
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1765
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1766
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1767
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1768
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1769
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1770
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1771
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1772
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1773
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1774
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1775
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1776
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1777
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1778
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1779
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1780
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1781
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1782
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1783
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1784
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1785
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1786
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1787
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1788
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1789
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1790
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1791
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1792
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1793
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1794
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1795
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1796
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1797
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1798
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1799
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1800
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1801
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1802
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.0ms)
1803
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1804
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
1805
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1806
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1807
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (423.0ms)
1808
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:53:52 +0300
1809
+ Processing by ClientsController#autocomplete_client_name as HTML
1810
+ Parameters: {"q"=>"a"}
1811
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1812
+
1813
+
1814
+
1815
+ RuntimeError (w=w_region):
1816
+
1817
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/orm/active_record.rb:37:in `get_autocomplete_items'
1818
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:33:in `block in autocomplete'
1819
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
1820
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
1821
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
1822
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1823
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
1824
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
1825
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
1826
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
1827
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
1828
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1829
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1830
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
1831
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1832
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
1833
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1834
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
1835
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1836
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
1837
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1838
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1839
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1840
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1841
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1842
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1843
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1844
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1845
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1846
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1847
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1848
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1849
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1850
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1851
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1852
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1853
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1854
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1855
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1856
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1857
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1858
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1859
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1860
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1861
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1862
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1863
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1864
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1865
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1866
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1867
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1868
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1869
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1870
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1871
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1872
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1873
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1874
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1875
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1876
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1877
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1878
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1879
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1880
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1881
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1882
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1883
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1884
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1885
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms)
1886
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1887
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1888
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1889
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1890
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (415.0ms)
1891
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
1892
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:54:06 +0300
1893
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1894
+ Processing by ClientsController#autocomplete_client_name as HTML
1895
+ Parameters: {"q"=>"a"}
1896
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') AND (id=) ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1897
+ Completed 500 Internal Server Error in 24ms (ActiveRecord: 1.0ms)
1898
+
1899
+
1900
+
1901
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: near ")": syntax error: SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') AND (id=) ORDER BY clients.name ASC LIMIT ?):
1902
+
1903
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `initialize'
1904
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `new'
1905
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `prepare'
1906
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:196:in `block in exec_query'
1907
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:589:in `block in log'
1908
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1909
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
1910
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
1911
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
1912
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
1913
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:95:in `select_all'
1914
+ activerecord (5.0.1) lib/active_record/querying.rb:39:in `find_by_sql'
1915
+ activerecord (5.0.1) lib/active_record/relation.rb:702:in `exec_queries'
1916
+ activerecord (5.0.1) lib/active_record/relation.rb:583:in `load'
1917
+ activerecord (5.0.1) lib/active_record/relation.rb:260:in `records'
1918
+ activerecord (5.0.1) lib/active_record/relation/delegation.rb:38:in `collect'
1919
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:63:in `items_to_json'
1920
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:42:in `block in autocomplete'
1921
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
1922
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
1923
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
1924
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1925
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
1926
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
1927
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
1928
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
1929
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
1930
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1931
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
1932
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
1933
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1934
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
1935
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1936
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
1937
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1938
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
1939
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1940
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
1941
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
1942
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
1943
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
1944
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
1945
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
1946
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
1947
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
1948
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
1949
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
1950
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
1951
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
1952
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
1953
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
1954
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
1955
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
1956
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
1957
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
1958
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
1959
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
1960
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
1961
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
1962
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1963
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
1964
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
1965
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
1966
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
1967
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
1968
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
1969
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
1970
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
1971
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
1972
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
1973
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
1974
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
1975
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1976
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
1977
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
1978
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
1979
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
1980
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
1981
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
1982
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
1983
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
1984
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
1985
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
1986
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
1987
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms)
1988
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
1989
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1990
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
1991
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
1992
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (399.0ms)
1993
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:54:52 +0300
1994
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
1995
+ Processing by ClientsController#autocomplete_client_name as HTML
1996
+ Parameters: {"q"=>"a"}
1997
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
1998
+ Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.0ms)
1999
+
2000
+
2001
+ Started GET "/clients/autocomplete_client_name?q=a" for 127.0.0.1 at 2017-05-13 17:55:26 +0300
2002
+ Processing by ClientsController#autocomplete_client_name as HTML
2003
+ Parameters: {"q"=>"a"}
2004
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2005
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2006
+
2007
+
2008
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=1" for 127.0.0.1 at 2017-05-13 17:55:49 +0300
2009
+ Processing by ClientsController#autocomplete_client_name as HTML
2010
+ Parameters: {"q"=>"a", "company_id"=>"1"}
2011
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') AND (id=1) ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2012
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 1.0ms)
2013
+
2014
+
2015
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:55:55 +0300
2016
+ Processing by ClientsController#autocomplete_client_name as HTML
2017
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2018
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') AND (id=2) ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2019
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 1.0ms)
2020
+
2021
+
2022
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:56:47 +0300
2023
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
2024
+ Processing by ClientsController#autocomplete_client_name as HTML
2025
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2026
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2027
+ Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2028
+
2029
+
2030
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:56:53 +0300
2031
+ Processing by ClientsController#autocomplete_client_name as HTML
2032
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2033
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2034
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2035
+
2036
+
2037
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:57:02 +0300
2038
+ Processing by ClientsController#autocomplete_client_name as HTML
2039
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2040
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2041
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2042
+
2043
+
2044
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:57:03 +0300
2045
+ Processing by ClientsController#autocomplete_client_name as HTML
2046
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2047
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2048
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2049
+
2050
+
2051
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:57:18 +0300
2052
+ Processing by ClientsController#autocomplete_client_name as HTML
2053
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2054
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2055
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.0ms)
2056
+
2057
+
2058
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:57:26 +0300
2059
+ Processing by ClientsController#autocomplete_client_name as HTML
2060
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2061
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2062
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2063
+
2064
+
2065
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 5.1. (called from block in <top (required)> at W:/myrails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
2066
+ Started GET "/clients/autocomplete_client_name?q=a&company_id=2" for 127.0.0.1 at 2017-05-13 17:57:40 +0300
2067
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
2068
+ Processing by ClientsController#autocomplete_client_name as HTML
2069
+ Parameters: {"q"=>"a", "company_id"=>"2"}
2070
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2071
+ Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.0ms)
2072
+
2073
+
2074
+
2075
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: company_id: SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'a%') AND (company_id=1) ORDER BY clients.name ASC LIMIT ?):
2076
+
2077
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `initialize'
2078
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `new'
2079
+ sqlite3-1.3.13-x64 (mingw32) lib/sqlite3/database.rb:91:in `prepare'
2080
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:196:in `block in exec_query'
2081
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:589:in `block in log'
2082
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
2083
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
2084
+ activerecord (5.0.1) lib/active_record/connection_adapters/sqlite3_adapter.rb:193:in `exec_query'
2085
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:373:in `select'
2086
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/database_statements.rb:41:in `select_all'
2087
+ activerecord (5.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:95:in `select_all'
2088
+ activerecord (5.0.1) lib/active_record/querying.rb:39:in `find_by_sql'
2089
+ activerecord (5.0.1) lib/active_record/relation.rb:702:in `exec_queries'
2090
+ activerecord (5.0.1) lib/active_record/relation.rb:583:in `load'
2091
+ activerecord (5.0.1) lib/active_record/relation.rb:260:in `records'
2092
+ activerecord (5.0.1) lib/active_record/relation/delegation.rb:38:in `collect'
2093
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:63:in `items_to_json'
2094
+ W:/myrails/mygems/bootstrap_autocomplete_input/lib/bootstrap_autocomplete_input/controllers/autocomplete.rb:42:in `block in autocomplete'
2095
+ actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
2096
+ actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action'
2097
+ actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
2098
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2099
+ activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call'
2100
+ activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
2101
+ activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call'
2102
+ activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
2103
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
2104
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
2105
+ actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
2106
+ actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
2107
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2108
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
2109
+ activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
2110
+ activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument'
2111
+ actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2112
+ actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
2113
+ activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2114
+ actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process'
2115
+ actionview (5.0.1) lib/action_view/rendering.rb:30:in `process'
2116
+ actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch'
2117
+ actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch'
2118
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
2119
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
2120
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
2121
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
2122
+ actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
2123
+ actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
2124
+ rack (2.0.1) lib/rack/etag.rb:25:in `call'
2125
+ rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
2126
+ rack (2.0.1) lib/rack/head.rb:12:in `call'
2127
+ rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
2128
+ rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
2129
+ actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
2130
+ activerecord (5.0.1) lib/active_record/migration.rb:553:in `call'
2131
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
2132
+ activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
2133
+ activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
2134
+ activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
2135
+ actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
2136
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
2137
+ actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
2138
+ actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
2139
+ actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
2140
+ railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app'
2141
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call'
2142
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged'
2143
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
2144
+ activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged'
2145
+ railties (5.0.1) lib/rails/rack/logger.rb:24:in `call'
2146
+ actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
2147
+ rack (2.0.1) lib/rack/method_override.rb:22:in `call'
2148
+ rack (2.0.1) lib/rack/runtime.rb:22:in `call'
2149
+ activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2150
+ actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
2151
+ actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
2152
+ rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
2153
+ railties (5.0.1) lib/rails/engine.rb:522:in `call'
2154
+ puma (3.6.2) lib/puma/configuration.rb:225:in `call'
2155
+ puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
2156
+ puma (3.6.2) lib/puma/server.rb:415:in `process_client'
2157
+ puma (3.6.2) lib/puma/server.rb:275:in `block in run'
2158
+ puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
2159
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
2160
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
2161
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms)
2162
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
2163
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
2164
+ Rendering d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
2165
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
2166
+ Rendered d:/Ruby23x64/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (412.0ms)