indexes 4.0.0.2 → 4.0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. metadata +11 -198
  3. data/MIT-LICENSE +0 -20
  4. data/README.md +0 -265
  5. data/Rakefile +0 -19
  6. data/lib/generators/index/index_generator.rb +0 -15
  7. data/lib/generators/index/templates/index.rb +0 -12
  8. data/lib/generators/indexes/install/install_generator.rb +0 -15
  9. data/lib/generators/indexes/install/templates/initializer.rb +0 -10
  10. data/lib/indexes.rb +0 -85
  11. data/lib/indexes/collection.rb +0 -186
  12. data/lib/indexes/concern.rb +0 -23
  13. data/lib/indexes/configuration.rb +0 -39
  14. data/lib/indexes/definitions.rb +0 -24
  15. data/lib/indexes/dsl/api.rb +0 -90
  16. data/lib/indexes/dsl/mappings.rb +0 -14
  17. data/lib/indexes/dsl/search.rb +0 -27
  18. data/lib/indexes/dsl/serialization.rb +0 -17
  19. data/lib/indexes/index.rb +0 -147
  20. data/lib/indexes/pagination.rb +0 -33
  21. data/lib/indexes/proxy.rb +0 -17
  22. data/lib/indexes/railtie.rb +0 -15
  23. data/lib/indexes/version.rb +0 -5
  24. data/lib/tasks/indexes.rake +0 -11
  25. data/test/dsl_test.rb +0 -128
  26. data/test/dummy/Rakefile +0 -5
  27. data/test/dummy/app/assets/javascripts/application.js +0 -13
  28. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  29. data/test/dummy/app/controllers/application_controller.rb +0 -5
  30. data/test/dummy/app/helpers/application_helper.rb +0 -2
  31. data/test/dummy/app/indexes/products_index.rb +0 -51
  32. data/test/dummy/app/indexes/shops_index.rb +0 -28
  33. data/test/dummy/app/models/product.rb +0 -5
  34. data/test/dummy/app/models/shop.rb +0 -5
  35. data/test/dummy/app/views/layouts/application.html.erb +0 -12
  36. data/test/dummy/bin/bundle +0 -4
  37. data/test/dummy/bin/rails +0 -5
  38. data/test/dummy/bin/rake +0 -5
  39. data/test/dummy/bin/setup +0 -30
  40. data/test/dummy/config.ru +0 -4
  41. data/test/dummy/config/application.rb +0 -25
  42. data/test/dummy/config/boot.rb +0 -5
  43. data/test/dummy/config/database.yml +0 -7
  44. data/test/dummy/config/database.yml.travis +0 -3
  45. data/test/dummy/config/environment.rb +0 -5
  46. data/test/dummy/config/environments/development.rb +0 -41
  47. data/test/dummy/config/environments/production.rb +0 -79
  48. data/test/dummy/config/environments/test.rb +0 -42
  49. data/test/dummy/config/initializers/assets.rb +0 -11
  50. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  51. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  52. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  53. data/test/dummy/config/initializers/indexes.rb +0 -67
  54. data/test/dummy/config/initializers/inflections.rb +0 -16
  55. data/test/dummy/config/initializers/mime_types.rb +0 -4
  56. data/test/dummy/config/initializers/session_store.rb +0 -3
  57. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  58. data/test/dummy/config/locales/en.yml +0 -23
  59. data/test/dummy/config/routes.rb +0 -56
  60. data/test/dummy/config/secrets.yml +0 -22
  61. data/test/dummy/db/migrate/20161104164148_create_products.rb +0 -14
  62. data/test/dummy/db/migrate/20161104182219_create_shops.rb +0 -9
  63. data/test/dummy/db/schema.rb +0 -36
  64. data/test/dummy/log/development.log +0 -38
  65. data/test/dummy/log/test.log +0 -3643
  66. data/test/dummy/public/404.html +0 -61
  67. data/test/dummy/public/422.html +0 -61
  68. data/test/dummy/public/500.html +0 -60
  69. data/test/dummy/public/favicon.ico +0 -0
  70. data/test/generator_test.rb +0 -25
  71. data/test/index_test.rb +0 -46
  72. data/test/record_test.rb +0 -25
  73. data/test/search_test.rb +0 -164
  74. data/test/task_test.rb +0 -25
  75. data/test/test_helper.rb +0 -14
@@ -1,67 +0,0 @@
1
- Indexes.configure do |config|
2
-
3
- config.hosts = %w(localhost:9200)
4
- config.log = false
5
- config.trace = false
6
-
7
- config.mappings do
8
- category type: 'string'
9
- shop_id type: 'long'
10
- price type: 'long'
11
- currency type: 'string'
12
- name do
13
- type 'string'
14
- fields do
15
- raw do
16
- type 'string'
17
- index 'not_analyzed'
18
- end
19
- end
20
- end
21
- product_suggestions do
22
- type 'completion'
23
- analyzer 'simple'
24
- context do
25
- shop_id do
26
- type 'category'
27
- default 'all'
28
- end
29
- end
30
- end
31
- end
32
-
33
- config.analysis do
34
- filter do
35
- ngram do
36
- type 'nGram'
37
- min_gram 2
38
- max_gram 20
39
- end
40
- end
41
- end
42
-
43
- config.suggestions do |name, term, options={}|
44
- type = name.to_s.singularize
45
- text (term || '')
46
- shop = options[:shop]
47
- completion do
48
- field "#{type}_suggestions"
49
- context do
50
- if shop
51
- shop_id (shop.id.to_s || 'all')
52
- end
53
- end
54
- end
55
- end
56
-
57
- config.computed_sort :price do |direction|
58
- _script do
59
- type 'number'
60
- script do
61
- inline "if (_source.currency == 'UYU') { doc['price'].value * 30 }"
62
- end
63
- order direction
64
- end
65
- end
66
-
67
- end
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register 'text/richtext', :rtf
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
@@ -1,23 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization
2
- # and are automatically loaded by Rails. If you want to use locales other
3
- # than English, add the necessary files in this directory.
4
- #
5
- # To use the locales, use `I18n.t`:
6
- #
7
- # I18n.t 'hello'
8
- #
9
- # In views, this is aliased to just `t`:
10
- #
11
- # <%= t('hello') %>
12
- #
13
- # To use a different locale, set it with `I18n.locale`:
14
- #
15
- # I18n.locale = :es
16
- #
17
- # This would use the information in config/locales/es.yml.
18
- #
19
- # To learn more, please read the Rails Internationalization guide
20
- # available at http://guides.rubyonrails.org/i18n.html.
21
-
22
- en:
23
- hello: "Hello world"
@@ -1,56 +0,0 @@
1
- Rails.application.routes.draw do
2
- # The priority is based upon order of creation: first created -> highest priority.
3
- # See how all your routes lay out with "rake routes".
4
-
5
- # You can have the root of your site routed with "root"
6
- # root 'welcome#index'
7
-
8
- # Example of regular route:
9
- # get 'products/:id' => 'catalog#view'
10
-
11
- # Example of named route that can be invoked with purchase_url(id: product.id)
12
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
-
14
- # Example resource route (maps HTTP verbs to controller actions automatically):
15
- # resources :products
16
-
17
- # Example resource route with options:
18
- # resources :products do
19
- # member do
20
- # get 'short'
21
- # post 'toggle'
22
- # end
23
- #
24
- # collection do
25
- # get 'sold'
26
- # end
27
- # end
28
-
29
- # Example resource route with sub-resources:
30
- # resources :products do
31
- # resources :comments, :sales
32
- # resource :seller
33
- # end
34
-
35
- # Example resource route with more complex sub-resources:
36
- # resources :products do
37
- # resources :comments
38
- # resources :sales do
39
- # get 'recent', on: :collection
40
- # end
41
- # end
42
-
43
- # Example resource route with concerns:
44
- # concern :toggleable do
45
- # post 'toggle'
46
- # end
47
- # resources :posts, concerns: :toggleable
48
- # resources :photos, concerns: :toggleable
49
-
50
- # Example resource route within a namespace:
51
- # namespace :admin do
52
- # # Directs /admin/products/* to Admin::ProductsController
53
- # # (app/controllers/admin/products_controller.rb)
54
- # resources :products
55
- # end
56
- end
@@ -1,22 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- development:
14
- secret_key_base: 2c1c8d4cbaa726b21aa6483b7d556125f4897508e2b94f8b3ddaec675168382c9b3b6eb5a9359d2fade03f539c16ac1ef905891c2410f2fd00b83b76c1666feb
15
-
16
- test:
17
- secret_key_base: 9dd531171128e7c3d11dd2c5c18c84ba43d29b677043002634a6f4d58bf2687a283b7b6dc6af741d63c3824f11fa1f858010d7c2509a932023f2ece0d3bfe6cf
18
-
19
- # Do not keep production secrets in the repository,
20
- # instead read values from the environment.
21
- production:
22
- secret_key_base: <%= ENV['SECRET_KEY_BASE'] %>
@@ -1,14 +0,0 @@
1
- class CreateProducts < ActiveRecord::Migration
2
- def change
3
- create_table :products do |t|
4
- t.string :name
5
- t.string :category
6
- t.integer :shop_id
7
- t.integer :price
8
- t.integer :position
9
- t.string :currency
10
-
11
- t.timestamps null: false
12
- end
13
- end
14
- end
@@ -1,9 +0,0 @@
1
- class CreateShops < ActiveRecord::Migration
2
- def change
3
- create_table :shops do |t|
4
- t.string :name
5
-
6
- t.timestamps null: false
7
- end
8
- end
9
- end
@@ -1,36 +0,0 @@
1
- # encoding: UTF-8
2
- # This file is auto-generated from the current state of the database. Instead
3
- # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database, and then regenerate this schema definition.
5
- #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
11
- #
12
- # It's strongly recommended that you check this file into your version control system.
13
-
14
- ActiveRecord::Schema.define(version: 20161104182219) do
15
-
16
- # These are extensions that must be enabled in order to support this database
17
- enable_extension "plpgsql"
18
-
19
- create_table "products", force: :cascade do |t|
20
- t.string "name"
21
- t.string "category"
22
- t.integer "shop_id"
23
- t.integer "price"
24
- t.integer "position"
25
- t.string "currency"
26
- t.datetime "created_at", null: false
27
- t.datetime "updated_at", null: false
28
- end
29
-
30
- create_table "shops", force: :cascade do |t|
31
- t.string "name"
32
- t.datetime "created_at", null: false
33
- t.datetime "updated_at", null: false
34
- end
35
-
36
- end
@@ -1,38 +0,0 @@
1
-  (27.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreateProducts (20161104164148)
5
-  (0.2ms) BEGIN
6
-  (23.9ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "category" character varying, "shop_id" integer, "price" integer, "position" integer, "currency" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
7
- SQL (9.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104164148"]]
8
-  (5.9ms) COMMIT
9
- Migrating to CreateShops (20161104182219)
10
-  (6.8ms) BEGIN
11
-  (3.1ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
12
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104182219"]]
13
-  (0.5ms) COMMIT
14
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
-  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
16
- FROM pg_constraint c
17
- JOIN pg_class t1 ON c.conrelid = t1.oid
18
- JOIN pg_class t2 ON c.confrelid = t2.oid
19
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
20
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
21
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
22
- WHERE c.contype = 'f'
23
- AND t1.relname = 'products'
24
- AND t3.nspname = ANY (current_schemas(false))
25
- ORDER BY c.conname
26
- 
27
-  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
28
- FROM pg_constraint c
29
- JOIN pg_class t1 ON c.conrelid = t1.oid
30
- JOIN pg_class t2 ON c.confrelid = t2.oid
31
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
32
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
33
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
34
- WHERE c.contype = 'f'
35
- AND t1.relname = 'shops'
36
- AND t3.nspname = ANY (current_schemas(false))
37
- ORDER BY c.conname
38
-
@@ -1,3643 +0,0 @@
1
-  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreateProducts (20161104164148)
5
-  (0.1ms) BEGIN
6
-  (2.8ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "category" character varying, "shop_id" integer, "price" integer, "position" integer, "currency" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
7
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104164148"]]
8
-  (0.5ms) COMMIT
9
- Migrating to CreateShops (20161104182219)
10
-  (0.3ms) BEGIN
11
-  (2.8ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
12
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104182219"]]
13
-  (0.4ms) COMMIT
14
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
-  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
16
- FROM pg_constraint c
17
- JOIN pg_class t1 ON c.conrelid = t1.oid
18
- JOIN pg_class t2 ON c.confrelid = t2.oid
19
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
20
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
21
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
22
- WHERE c.contype = 'f'
23
- AND t1.relname = 'products'
24
- AND t3.nspname = ANY (current_schemas(false))
25
- ORDER BY c.conname
26
- 
27
-  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
28
- FROM pg_constraint c
29
- JOIN pg_class t1 ON c.conrelid = t1.oid
30
- JOIN pg_class t2 ON c.confrelid = t2.oid
31
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
32
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
33
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
34
- WHERE c.contype = 'f'
35
- AND t1.relname = 'shops'
36
- AND t3.nspname = ANY (current_schemas(false))
37
- ORDER BY c.conname
38
-
39
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
-  (0.3ms) BEGIN
41
- ---------------------------
42
- IndexesTest: test_namespace
43
- ---------------------------
44
-  (0.2ms) SAVEPOINT active_record_1
45
- -------------------------
46
- IndexesTest: test_suggest
47
- -------------------------
48
-  (0.2ms) SAVEPOINT active_record_2
49
- -----------------------
50
- IndexesTest: test_exist
51
- -----------------------
52
-  (0.1ms) SAVEPOINT active_record_3
53
- ----------------------
54
- IndexesTest: test_find
55
- ----------------------
56
-  (0.1ms) SAVEPOINT active_record_4
57
- -------------------------
58
- RecordTest: test_indexing
59
- -------------------------
60
-  (0.1ms) SAVEPOINT active_record_5
61
- --------------------
62
- DslTest: test_search
63
- --------------------
64
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_5
65
-  (0.1ms) SAVEPOINT active_record_5
66
- -------------------------
67
- SearchTest: test_includes
68
- -------------------------
69
-  (0.2ms) SAVEPOINT active_record_6
70
- ----------------------
71
- SearchTest: test_order
72
- ----------------------
73
-  (0.2ms) SAVEPOINT active_record_7
74
- ---------------------------
75
- SearchTest: test_pagination
76
- ---------------------------
77
-  (0.1ms) SAVEPOINT active_record_8
78
- ---------------------------------
79
- SearchTest: test_with_and_without
80
- ---------------------------------
81
-  (0.1ms) SAVEPOINT active_record_9
82
- --------------------------
83
- GeneratorsTest: test_index
84
- --------------------------
85
-  (0.3ms) ROLLBACK TO SAVEPOINT active_record_9
86
-  (0.2ms) SAVEPOINT active_record_9
87
- ----------------------------
88
- GeneratorsTest: test_install
89
- ----------------------------
90
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_9
91
-  (0.2ms) SAVEPOINT active_record_9
92
- ---------------------
93
- TasksTest: test_build
94
- ---------------------
95
-  (0.2ms) SAVEPOINT active_record_10
96
- -----------------------
97
- TasksTest: test_rebuild
98
- -----------------------
99
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
100
-  (0.2ms) BEGIN
101
- --------------------------
102
- GeneratorsTest: test_index
103
- --------------------------
104
-  (0.3ms) ROLLBACK
105
-  (0.2ms) BEGIN
106
- ----------------------------
107
- GeneratorsTest: test_install
108
- ----------------------------
109
-  (0.2ms) ROLLBACK
110
-  (0.2ms) BEGIN
111
- --------------------
112
- DslTest: test_search
113
- --------------------
114
-  (0.5ms) ROLLBACK
115
-  (0.1ms) BEGIN
116
- ---------------------------
117
- IndexesTest: test_namespace
118
- ---------------------------
119
-  (0.3ms) ROLLBACK
120
-  (0.1ms) BEGIN
121
- ----------------------
122
- IndexesTest: test_find
123
- ----------------------
124
-  (0.2ms) ROLLBACK
125
-  (0.2ms) BEGIN
126
- -----------------------
127
- IndexesTest: test_exist
128
- -----------------------
129
-  (0.2ms) ROLLBACK
130
-  (0.2ms) BEGIN
131
- -------------------------
132
- IndexesTest: test_suggest
133
- -------------------------
134
-  (0.2ms) SAVEPOINT active_record_1
135
- SQL (17.1ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:15:27.114763"], ["updated_at", "2016-11-29 23:15:27.114763"]]
136
-  (0.2ms) RELEASE SAVEPOINT active_record_1
137
-  (0.1ms) SAVEPOINT active_record_1
138
- SQL (0.5ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 1], ["created_at", "2016-11-29 23:15:27.156413"], ["updated_at", "2016-11-29 23:15:27.156413"]]
139
-  (0.1ms) RELEASE SAVEPOINT active_record_1
140
-  (0.1ms) SAVEPOINT active_record_1
141
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 1], ["created_at", "2016-11-29 23:15:27.158897"], ["updated_at", "2016-11-29 23:15:27.158897"]]
142
-  (0.2ms) RELEASE SAVEPOINT active_record_1
143
-  (0.4ms) ROLLBACK
144
-  (0.1ms) BEGIN
145
- ---------------------
146
- TasksTest: test_build
147
- ---------------------
148
-  (0.2ms) ROLLBACK
149
-  (0.1ms) BEGIN
150
- -----------------------
151
- TasksTest: test_rebuild
152
- -----------------------
153
-  (0.2ms) ROLLBACK
154
-  (0.1ms) BEGIN
155
- -------------------------
156
- RecordTest: test_indexing
157
- -------------------------
158
-  (0.2ms) SAVEPOINT active_record_1
159
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-29 23:15:29.425579"], ["updated_at", "2016-11-29 23:15:29.425579"]]
160
-  (0.2ms) RELEASE SAVEPOINT active_record_1
161
-  (0.1ms) SAVEPOINT active_record_1
162
- SQL (0.9ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 2], ["created_at", "2016-11-29 23:15:29.429208"], ["updated_at", "2016-11-29 23:15:29.429208"]]
163
-  (1.1ms) RELEASE SAVEPOINT active_record_1
164
-  (0.2ms) ROLLBACK
165
-  (0.1ms) BEGIN
166
- ---------------------------
167
- SearchTest: test_pagination
168
- ---------------------------
169
-  (0.3ms) SAVEPOINT active_record_1
170
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:15:31.482348"], ["updated_at", "2016-11-29 23:15:31.482348"]]
171
-  (1.1ms) RELEASE SAVEPOINT active_record_1
172
-  (1.0ms) SAVEPOINT active_record_1
173
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:15:31.486509"], ["updated_at", "2016-11-29 23:15:31.486509"]]
174
-  (0.1ms) RELEASE SAVEPOINT active_record_1
175
-  (0.1ms) SAVEPOINT active_record_1
176
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:15:31.488280"], ["updated_at", "2016-11-29 23:15:31.488280"]]
177
-  (0.5ms) RELEASE SAVEPOINT active_record_1
178
-  (1.1ms) SAVEPOINT active_record_1
179
- SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:15:31.491477"], ["updated_at", "2016-11-29 23:15:31.491477"]]
180
-  (0.1ms) RELEASE SAVEPOINT active_record_1
181
-  (0.8ms) SAVEPOINT active_record_1
182
- SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-29 23:15:31.494094"], ["updated_at", "2016-11-29 23:15:31.494094"]]
183
-  (0.1ms) RELEASE SAVEPOINT active_record_1
184
-  (0.2ms) ROLLBACK
185
-  (0.1ms) BEGIN
186
- -------------------------
187
- SearchTest: test_includes
188
- -------------------------
189
-  (0.3ms) SAVEPOINT active_record_1
190
- SQL (0.9ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:15:33.536284"], ["updated_at", "2016-11-29 23:15:33.536284"]]
191
-  (0.2ms) RELEASE SAVEPOINT active_record_1
192
-  (0.2ms) SAVEPOINT active_record_1
193
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 3], ["created_at", "2016-11-29 23:15:33.539742"], ["updated_at", "2016-11-29 23:15:33.539742"]]
194
-  (1.4ms) RELEASE SAVEPOINT active_record_1
195
-  (0.2ms) ROLLBACK
196
-  (0.1ms) BEGIN
197
- ----------------------
198
- SearchTest: test_order
199
- ----------------------
200
-  (0.2ms) SAVEPOINT active_record_1
201
- SQL (0.7ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:15:35.587322"], ["updated_at", "2016-11-29 23:15:35.587322"]]
202
-  (1.7ms) RELEASE SAVEPOINT active_record_1
203
-  (0.2ms) SAVEPOINT active_record_1
204
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 4], ["created_at", "2016-11-29 23:15:35.592253"], ["updated_at", "2016-11-29 23:15:35.592253"]]
205
-  (0.2ms) RELEASE SAVEPOINT active_record_1
206
-  (0.1ms) SAVEPOINT active_record_1
207
- SQL (0.4ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 4], ["created_at", "2016-11-29 23:15:35.595042"], ["updated_at", "2016-11-29 23:15:35.595042"]]
208
-  (0.1ms) RELEASE SAVEPOINT active_record_1
209
-  (0.1ms) SAVEPOINT active_record_1
210
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 4], ["created_at", "2016-11-29 23:15:35.597605"], ["updated_at", "2016-11-29 23:15:35.597605"]]
211
-  (0.2ms) RELEASE SAVEPOINT active_record_1
212
-  (0.3ms) ROLLBACK
213
-  (0.1ms) BEGIN
214
- ---------------------------------
215
- SearchTest: test_with_and_without
216
- ---------------------------------
217
-  (0.2ms) SAVEPOINT active_record_1
218
- SQL (1.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:15:37.636396"], ["updated_at", "2016-11-29 23:15:37.636396"]]
219
-  (0.6ms) RELEASE SAVEPOINT active_record_1
220
-  (0.2ms) SAVEPOINT active_record_1
221
- SQL (0.8ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:15:37.639816"], ["updated_at", "2016-11-29 23:15:37.639816"]]
222
-  (0.7ms) RELEASE SAVEPOINT active_record_1
223
-  (0.2ms) SAVEPOINT active_record_1
224
- SQL (0.4ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:15:37.643000"], ["updated_at", "2016-11-29 23:15:37.643000"]]
225
-  (0.1ms) RELEASE SAVEPOINT active_record_1
226
-  (0.2ms) SAVEPOINT active_record_1
227
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:15:37.645117"], ["updated_at", "2016-11-29 23:15:37.645117"]]
228
-  (0.2ms) RELEASE SAVEPOINT active_record_1
229
-  (0.2ms) ROLLBACK
230
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
231
-  (0.2ms) BEGIN
232
- ---------------------
233
- TasksTest: test_build
234
- ---------------------
235
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
236
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
237
-  (0.2ms) ROLLBACK
238
-  (0.1ms) BEGIN
239
- -----------------------
240
- TasksTest: test_rebuild
241
- -----------------------
242
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
243
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
244
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
245
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
246
-  (0.2ms) ROLLBACK
247
-  (0.1ms) BEGIN
248
- ----------------------
249
- IndexesTest: test_find
250
- ----------------------
251
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
252
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
253
-  (0.2ms) ROLLBACK
254
-  (0.1ms) BEGIN
255
- -----------------------
256
- IndexesTest: test_exist
257
- -----------------------
258
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
259
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
260
-  (0.2ms) ROLLBACK
261
-  (0.2ms) BEGIN
262
- ---------------------------
263
- IndexesTest: test_namespace
264
- ---------------------------
265
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
266
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
267
-  (0.3ms) ROLLBACK
268
-  (0.2ms) BEGIN
269
- -------------------------
270
- IndexesTest: test_suggest
271
- -------------------------
272
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
273
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
274
-  (0.2ms) SAVEPOINT active_record_1
275
- SQL (0.6ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:17:33.628942"], ["updated_at", "2016-11-29 23:17:33.628942"]]
276
-  (0.1ms) RELEASE SAVEPOINT active_record_1
277
-  (0.2ms) SAVEPOINT active_record_1
278
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 5], ["created_at", "2016-11-29 23:17:33.653058"], ["updated_at", "2016-11-29 23:17:33.653058"]]
279
-  (0.2ms) RELEASE SAVEPOINT active_record_1
280
-  (0.1ms) SAVEPOINT active_record_1
281
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 5], ["created_at", "2016-11-29 23:17:33.746599"], ["updated_at", "2016-11-29 23:17:33.746599"]]
282
-  (0.2ms) RELEASE SAVEPOINT active_record_1
283
-  (0.4ms) ROLLBACK
284
-  (0.2ms) BEGIN
285
- -------------------------
286
- RecordTest: test_indexing
287
- -------------------------
288
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
289
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
290
-  (0.2ms) SAVEPOINT active_record_1
291
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-29 23:17:35.844046"], ["updated_at", "2016-11-29 23:17:35.844046"]]
292
-  (0.1ms) RELEASE SAVEPOINT active_record_1
293
-  (0.1ms) SAVEPOINT active_record_1
294
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 6], ["created_at", "2016-11-29 23:17:35.846646"], ["updated_at", "2016-11-29 23:17:35.846646"]]
295
-  (0.1ms) RELEASE SAVEPOINT active_record_1
296
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 7
297
-  (0.1ms) SAVEPOINT active_record_1
298
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 7]]
299
-  (0.1ms) RELEASE SAVEPOINT active_record_1
300
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 7
301
-  (0.2ms) ROLLBACK
302
-  (0.1ms) BEGIN
303
- ---------------------------
304
- SearchTest: test_pagination
305
- ---------------------------
306
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
307
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
308
-  (0.1ms) SAVEPOINT active_record_1
309
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:17:38.064676"], ["updated_at", "2016-11-29 23:17:38.064676"]]
310
-  (0.1ms) RELEASE SAVEPOINT active_record_1
311
-  (0.2ms) SAVEPOINT active_record_1
312
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:17:38.072866"], ["updated_at", "2016-11-29 23:17:38.072866"]]
313
-  (0.1ms) RELEASE SAVEPOINT active_record_1
314
-  (0.2ms) SAVEPOINT active_record_1
315
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:17:38.080326"], ["updated_at", "2016-11-29 23:17:38.080326"]]
316
-  (0.1ms) RELEASE SAVEPOINT active_record_1
317
-  (0.2ms) SAVEPOINT active_record_1
318
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:17:38.087721"], ["updated_at", "2016-11-29 23:17:38.087721"]]
319
-  (0.1ms) RELEASE SAVEPOINT active_record_1
320
-  (1.2ms) SAVEPOINT active_record_1
321
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-29 23:17:38.095107"], ["updated_at", "2016-11-29 23:17:38.095107"]]
322
-  (0.1ms) RELEASE SAVEPOINT active_record_1
323
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
324
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
325
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
326
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
327
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
328
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
329
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
330
-  (0.2ms) ROLLBACK
331
-  (0.2ms) BEGIN
332
- -------------------------
333
- SearchTest: test_includes
334
- -------------------------
335
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
336
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
337
-  (0.1ms) SAVEPOINT active_record_1
338
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:17:40.226084"], ["updated_at", "2016-11-29 23:17:40.226084"]]
339
-  (0.1ms) RELEASE SAVEPOINT active_record_1
340
-  (0.1ms) SAVEPOINT active_record_1
341
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 7], ["created_at", "2016-11-29 23:17:40.228674"], ["updated_at", "2016-11-29 23:17:40.228674"]]
342
-  (0.1ms) RELEASE SAVEPOINT active_record_1
343
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 8
344
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (7)
345
-  (0.3ms) ROLLBACK
346
-  (0.2ms) BEGIN
347
- ----------------------
348
- SearchTest: test_order
349
- ----------------------
350
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
351
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
352
-  (0.1ms) SAVEPOINT active_record_1
353
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-29 23:17:42.323209"], ["updated_at", "2016-11-29 23:17:42.323209"]]
354
-  (0.2ms) RELEASE SAVEPOINT active_record_1
355
-  (0.1ms) SAVEPOINT active_record_1
356
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 8], ["created_at", "2016-11-29 23:17:42.331207"], ["updated_at", "2016-11-29 23:17:42.331207"]]
357
-  (0.2ms) RELEASE SAVEPOINT active_record_1
358
-  (0.2ms) SAVEPOINT active_record_1
359
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 8], ["created_at", "2016-11-29 23:17:42.340886"], ["updated_at", "2016-11-29 23:17:42.340886"]]
360
-  (0.1ms) RELEASE SAVEPOINT active_record_1
361
-  (0.1ms) SAVEPOINT active_record_1
362
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 8], ["created_at", "2016-11-29 23:17:42.349290"], ["updated_at", "2016-11-29 23:17:42.349290"]]
363
-  (0.1ms) RELEASE SAVEPOINT active_record_1
364
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
365
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
366
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
367
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
368
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
369
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
370
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
371
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
372
-  (0.2ms) ROLLBACK
373
-  (0.2ms) BEGIN
374
- ---------------------------------
375
- SearchTest: test_with_and_without
376
- ---------------------------------
377
- Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
378
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
379
-  (0.1ms) SAVEPOINT active_record_1
380
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-29 23:17:45.038832"], ["updated_at", "2016-11-29 23:17:45.038832"]]
381
-  (0.1ms) RELEASE SAVEPOINT active_record_1
382
-  (0.1ms) SAVEPOINT active_record_1
383
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-29 23:17:45.045008"], ["updated_at", "2016-11-29 23:17:45.045008"]]
384
-  (0.1ms) RELEASE SAVEPOINT active_record_1
385
-  (0.2ms) SAVEPOINT active_record_1
386
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-29 23:17:45.051108"], ["updated_at", "2016-11-29 23:17:45.051108"]]
387
-  (0.1ms) RELEASE SAVEPOINT active_record_1
388
-  (0.1ms) SAVEPOINT active_record_1
389
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-29 23:17:45.056741"], ["updated_at", "2016-11-29 23:17:45.056741"]]
390
-  (0.1ms) RELEASE SAVEPOINT active_record_1
391
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
392
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
393
-  (0.2ms) ROLLBACK
394
-  (0.1ms) BEGIN
395
- --------------------
396
- DslTest: test_search
397
- --------------------
398
-  (0.1ms) ROLLBACK
399
-  (0.1ms) BEGIN
400
- --------------------------
401
- GeneratorsTest: test_index
402
- --------------------------
403
-  (0.2ms) ROLLBACK
404
-  (0.1ms) BEGIN
405
- ----------------------------
406
- GeneratorsTest: test_install
407
- ----------------------------
408
-  (0.3ms) ROLLBACK
409
- ActiveRecord::SchemaMigration Load (28.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
410
-  (0.2ms) BEGIN
411
- ---------------------
412
- TasksTest: test_build
413
- ---------------------
414
- Product Load (3.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
415
- Shop Load (1.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
416
-  (0.4ms) ROLLBACK
417
-  (0.1ms) BEGIN
418
- -----------------------
419
- TasksTest: test_rebuild
420
- -----------------------
421
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
422
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
423
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
424
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
425
-  (0.3ms) ROLLBACK
426
-  (0.1ms) BEGIN
427
- ----------------------
428
- IndexesTest: test_find
429
- ----------------------
430
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
431
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
432
-  (0.4ms) ROLLBACK
433
-  (0.1ms) BEGIN
434
- -------------------------
435
- IndexesTest: test_suggest
436
- -------------------------
437
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
438
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
439
-  (0.2ms) SAVEPOINT active_record_1
440
- SQL (28.0ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:09:37.379145"], ["updated_at", "2016-11-30 22:09:37.379145"]]
441
-  (0.1ms) RELEASE SAVEPOINT active_record_1
442
-  (0.2ms) SAVEPOINT active_record_1
443
- SQL (7.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 9], ["created_at", "2016-11-30 22:09:37.429246"], ["updated_at", "2016-11-30 22:09:37.429246"]]
444
-  (0.1ms) RELEASE SAVEPOINT active_record_1
445
-  (0.6ms) ROLLBACK
446
-  (0.1ms) BEGIN
447
- -----------------------
448
- IndexesTest: test_exist
449
- -----------------------
450
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
451
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
452
-  (0.4ms) ROLLBACK
453
-  (0.2ms) BEGIN
454
- ---------------------------
455
- IndexesTest: test_namespace
456
- ---------------------------
457
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
458
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
459
-  (0.3ms) ROLLBACK
460
-  (0.2ms) BEGIN
461
- -------------------------
462
- SearchTest: test_includes
463
- -------------------------
464
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
465
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
466
-  (0.1ms) SAVEPOINT active_record_1
467
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:09:37.663352"], ["updated_at", "2016-11-30 22:09:37.663352"]]
468
-  (0.2ms) RELEASE SAVEPOINT active_record_1
469
-  (0.1ms) SAVEPOINT active_record_1
470
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 10], ["created_at", "2016-11-30 22:09:37.666783"], ["updated_at", "2016-11-30 22:09:37.666783"]]
471
-  (0.1ms) RELEASE SAVEPOINT active_record_1
472
-  (0.3ms) ROLLBACK
473
-  (0.1ms) BEGIN
474
- ----------------------
475
- SearchTest: test_order
476
- ----------------------
477
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
478
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
479
-  (0.1ms) SAVEPOINT active_record_1
480
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:09:37.737428"], ["updated_at", "2016-11-30 22:09:37.737428"]]
481
-  (0.1ms) RELEASE SAVEPOINT active_record_1
482
-  (0.3ms) ROLLBACK
483
-  (0.1ms) BEGIN
484
- ---------------------------
485
- SearchTest: test_pagination
486
- ---------------------------
487
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
488
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
489
-  (0.1ms) SAVEPOINT active_record_1
490
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:09:37.812572"], ["updated_at", "2016-11-30 22:09:37.812572"]]
491
-  (0.1ms) RELEASE SAVEPOINT active_record_1
492
-  (0.3ms) ROLLBACK
493
-  (0.2ms) BEGIN
494
- ---------------------------------
495
- SearchTest: test_with_and_without
496
- ---------------------------------
497
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
498
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
499
-  (0.2ms) SAVEPOINT active_record_1
500
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:09:37.884395"], ["updated_at", "2016-11-30 22:09:37.884395"]]
501
-  (0.2ms) RELEASE SAVEPOINT active_record_1
502
-  (0.4ms) ROLLBACK
503
-  (0.1ms) BEGIN
504
- --------------------
505
- DslTest: test_search
506
- --------------------
507
-  (0.2ms) ROLLBACK
508
-  (0.1ms) BEGIN
509
- --------------------------
510
- GeneratorsTest: test_index
511
- --------------------------
512
-  (0.2ms) ROLLBACK
513
-  (0.1ms) BEGIN
514
- ----------------------------
515
- GeneratorsTest: test_install
516
- ----------------------------
517
-  (0.2ms) ROLLBACK
518
-  (0.1ms) BEGIN
519
- -------------------------
520
- RecordTest: test_indexing
521
- -------------------------
522
- Product Load (2.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
523
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
524
-  (0.2ms) SAVEPOINT active_record_1
525
- SQL (0.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:09:38.001480"], ["updated_at", "2016-11-30 22:09:38.001480"]]
526
-  (0.5ms) RELEASE SAVEPOINT active_record_1
527
-  (1.2ms) SAVEPOINT active_record_1
528
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 12], ["created_at", "2016-11-30 22:09:38.006459"], ["updated_at", "2016-11-30 22:09:38.006459"]]
529
-  (0.1ms) RELEASE SAVEPOINT active_record_1
530
-  (0.3ms) ROLLBACK
531
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
532
-  (0.2ms) BEGIN
533
- -------------------------
534
- RecordTest: test_indexing
535
- -------------------------
536
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
537
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
538
-  (0.2ms) SAVEPOINT active_record_1
539
- SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:10:35.170969"], ["updated_at", "2016-11-30 22:10:35.170969"]]
540
-  (0.1ms) RELEASE SAVEPOINT active_record_1
541
-  (0.3ms) SAVEPOINT active_record_1
542
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 13], ["created_at", "2016-11-30 22:10:35.190327"], ["updated_at", "2016-11-30 22:10:35.190327"]]
543
-  (0.2ms) RELEASE SAVEPOINT active_record_1
544
-  (0.4ms) ROLLBACK
545
-  (0.2ms) BEGIN
546
- ---------------------
547
- TasksTest: test_build
548
- ---------------------
549
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
550
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
551
-  (0.3ms) ROLLBACK
552
-  (0.1ms) BEGIN
553
- -----------------------
554
- TasksTest: test_rebuild
555
- -----------------------
556
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
557
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
558
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
559
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
560
-  (0.3ms) ROLLBACK
561
-  (0.1ms) BEGIN
562
- --------------------------
563
- GeneratorsTest: test_index
564
- --------------------------
565
-  (0.2ms) ROLLBACK
566
-  (0.1ms) BEGIN
567
- ----------------------------
568
- GeneratorsTest: test_install
569
- ----------------------------
570
-  (0.2ms) ROLLBACK
571
-  (0.1ms) BEGIN
572
- ---------------------------------
573
- SearchTest: test_with_and_without
574
- ---------------------------------
575
- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
576
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
577
-  (0.1ms) SAVEPOINT active_record_1
578
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:10:35.514040"], ["updated_at", "2016-11-30 22:10:35.514040"]]
579
-  (0.1ms) RELEASE SAVEPOINT active_record_1
580
-  (0.3ms) ROLLBACK
581
-  (0.1ms) BEGIN
582
- -------------------------
583
- SearchTest: test_includes
584
- -------------------------
585
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
586
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
587
-  (0.1ms) SAVEPOINT active_record_1
588
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:10:35.591115"], ["updated_at", "2016-11-30 22:10:35.591115"]]
589
-  (0.1ms) RELEASE SAVEPOINT active_record_1
590
-  (0.1ms) SAVEPOINT active_record_1
591
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 14], ["created_at", "2016-11-30 22:10:35.594040"], ["updated_at", "2016-11-30 22:10:35.594040"]]
592
-  (0.2ms) RELEASE SAVEPOINT active_record_1
593
-  (0.3ms) ROLLBACK
594
-  (0.2ms) BEGIN
595
- ----------------------
596
- SearchTest: test_order
597
- ----------------------
598
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
599
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
600
-  (0.1ms) SAVEPOINT active_record_1
601
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:10:35.654000"], ["updated_at", "2016-11-30 22:10:35.654000"]]
602
-  (0.1ms) RELEASE SAVEPOINT active_record_1
603
-  (0.4ms) ROLLBACK
604
-  (0.2ms) BEGIN
605
- ---------------------------
606
- SearchTest: test_pagination
607
- ---------------------------
608
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
609
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
610
-  (0.2ms) SAVEPOINT active_record_1
611
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:10:35.717261"], ["updated_at", "2016-11-30 22:10:35.717261"]]
612
-  (0.1ms) RELEASE SAVEPOINT active_record_1
613
-  (0.4ms) ROLLBACK
614
-  (0.1ms) BEGIN
615
- --------------------
616
- DslTest: test_search
617
- --------------------
618
-  (0.2ms) ROLLBACK
619
-  (0.2ms) BEGIN
620
- ----------------------
621
- IndexesTest: test_find
622
- ----------------------
623
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
624
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
625
-  (0.3ms) ROLLBACK
626
-  (0.1ms) BEGIN
627
- -----------------------
628
- IndexesTest: test_exist
629
- -----------------------
630
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
631
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
632
-  (0.3ms) ROLLBACK
633
-  (0.2ms) BEGIN
634
- ---------------------------
635
- IndexesTest: test_namespace
636
- ---------------------------
637
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
638
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
639
-  (0.3ms) ROLLBACK
640
-  (0.2ms) BEGIN
641
- -------------------------
642
- IndexesTest: test_suggest
643
- -------------------------
644
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
645
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
646
-  (0.1ms) SAVEPOINT active_record_1
647
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:10:35.959191"], ["updated_at", "2016-11-30 22:10:35.959191"]]
648
-  (0.2ms) RELEASE SAVEPOINT active_record_1
649
-  (0.1ms) SAVEPOINT active_record_1
650
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 16], ["created_at", "2016-11-30 22:10:35.961310"], ["updated_at", "2016-11-30 22:10:35.961310"]]
651
-  (0.1ms) RELEASE SAVEPOINT active_record_1
652
-  (0.3ms) ROLLBACK
653
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
654
-  (0.2ms) BEGIN
655
- -------------------------
656
- RecordTest: test_indexing
657
- -------------------------
658
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
659
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
660
-  (0.2ms) SAVEPOINT active_record_1
661
- SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:12:42.973694"], ["updated_at", "2016-11-30 22:12:42.973694"]]
662
-  (0.1ms) RELEASE SAVEPOINT active_record_1
663
-  (0.2ms) SAVEPOINT active_record_1
664
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 17], ["created_at", "2016-11-30 22:12:42.992714"], ["updated_at", "2016-11-30 22:12:42.992714"]]
665
-  (0.1ms) RELEASE SAVEPOINT active_record_1
666
-  (0.4ms) ROLLBACK
667
-  (0.1ms) BEGIN
668
- --------------------------
669
- GeneratorsTest: test_index
670
- --------------------------
671
-  (0.2ms) ROLLBACK
672
-  (0.2ms) BEGIN
673
- ----------------------------
674
- GeneratorsTest: test_install
675
- ----------------------------
676
-  (0.2ms) ROLLBACK
677
-  (0.1ms) BEGIN
678
- ---------------------
679
- TasksTest: test_build
680
- ---------------------
681
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
682
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
683
-  (0.3ms) ROLLBACK
684
-  (0.1ms) BEGIN
685
- -----------------------
686
- TasksTest: test_rebuild
687
- -----------------------
688
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
689
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
690
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
691
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
692
-  (0.4ms) ROLLBACK
693
-  (0.2ms) BEGIN
694
- --------------------
695
- DslTest: test_search
696
- --------------------
697
-  (0.2ms) ROLLBACK
698
-  (0.2ms) BEGIN
699
- ---------------------------
700
- IndexesTest: test_namespace
701
- ---------------------------
702
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
703
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
704
-  (0.4ms) ROLLBACK
705
-  (0.2ms) BEGIN
706
- -------------------------
707
- IndexesTest: test_suggest
708
- -------------------------
709
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
710
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
711
-  (0.1ms) SAVEPOINT active_record_1
712
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:12:45.436502"], ["updated_at", "2016-11-30 22:12:45.436502"]]
713
-  (0.1ms) RELEASE SAVEPOINT active_record_1
714
-  (0.1ms) SAVEPOINT active_record_1
715
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 18], ["created_at", "2016-11-30 22:12:45.440134"], ["updated_at", "2016-11-30 22:12:45.440134"]]
716
-  (0.1ms) RELEASE SAVEPOINT active_record_1
717
-  (0.2ms) SAVEPOINT active_record_1
718
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 18], ["created_at", "2016-11-30 22:12:45.450803"], ["updated_at", "2016-11-30 22:12:45.450803"]]
719
-  (0.2ms) RELEASE SAVEPOINT active_record_1
720
-  (0.5ms) ROLLBACK
721
-  (0.1ms) BEGIN
722
- -----------------------
723
- IndexesTest: test_exist
724
- -----------------------
725
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
726
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
727
-  (0.3ms) ROLLBACK
728
-  (0.1ms) BEGIN
729
- ----------------------
730
- IndexesTest: test_find
731
- ----------------------
732
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
733
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
734
-  (0.3ms) ROLLBACK
735
-  (0.2ms) BEGIN
736
- ---------------------------
737
- SearchTest: test_pagination
738
- ---------------------------
739
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
740
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
741
-  (0.1ms) SAVEPOINT active_record_1
742
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:12:47.653796"], ["updated_at", "2016-11-30 22:12:47.653796"]]
743
-  (0.1ms) RELEASE SAVEPOINT active_record_1
744
-  (0.2ms) SAVEPOINT active_record_1
745
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:12:47.661861"], ["updated_at", "2016-11-30 22:12:47.661861"]]
746
-  (0.1ms) RELEASE SAVEPOINT active_record_1
747
-  (0.2ms) SAVEPOINT active_record_1
748
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:12:47.668597"], ["updated_at", "2016-11-30 22:12:47.668597"]]
749
-  (0.2ms) RELEASE SAVEPOINT active_record_1
750
-  (0.3ms) SAVEPOINT active_record_1
751
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:12:47.675621"], ["updated_at", "2016-11-30 22:12:47.675621"]]
752
-  (0.1ms) RELEASE SAVEPOINT active_record_1
753
-  (0.2ms) SAVEPOINT active_record_1
754
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:12:47.682022"], ["updated_at", "2016-11-30 22:12:47.682022"]]
755
-  (0.2ms) RELEASE SAVEPOINT active_record_1
756
-  (0.3ms) ROLLBACK
757
-  (0.2ms) BEGIN
758
- -------------------------
759
- SearchTest: test_includes
760
- -------------------------
761
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
762
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
763
-  (0.1ms) SAVEPOINT active_record_1
764
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:12:49.836641"], ["updated_at", "2016-11-30 22:12:49.836641"]]
765
-  (0.1ms) RELEASE SAVEPOINT active_record_1
766
-  (0.1ms) SAVEPOINT active_record_1
767
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 19], ["created_at", "2016-11-30 22:12:49.838870"], ["updated_at", "2016-11-30 22:12:49.838870"]]
768
-  (0.2ms) RELEASE SAVEPOINT active_record_1
769
-  (0.3ms) ROLLBACK
770
-  (0.2ms) BEGIN
771
- ----------------------
772
- SearchTest: test_order
773
- ----------------------
774
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
775
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
776
-  (0.1ms) SAVEPOINT active_record_1
777
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:12:51.900858"], ["updated_at", "2016-11-30 22:12:51.900858"]]
778
-  (0.2ms) RELEASE SAVEPOINT active_record_1
779
-  (0.2ms) SAVEPOINT active_record_1
780
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 20], ["created_at", "2016-11-30 22:12:51.906754"], ["updated_at", "2016-11-30 22:12:51.906754"]]
781
-  (0.2ms) RELEASE SAVEPOINT active_record_1
782
-  (0.2ms) SAVEPOINT active_record_1
783
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 20], ["created_at", "2016-11-30 22:12:51.914503"], ["updated_at", "2016-11-30 22:12:51.914503"]]
784
-  (0.1ms) RELEASE SAVEPOINT active_record_1
785
-  (0.3ms) SAVEPOINT active_record_1
786
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 20], ["created_at", "2016-11-30 22:12:51.920968"], ["updated_at", "2016-11-30 22:12:51.920968"]]
787
-  (0.2ms) RELEASE SAVEPOINT active_record_1
788
-  (0.3ms) ROLLBACK
789
-  (0.1ms) BEGIN
790
- ---------------------------------
791
- SearchTest: test_with_and_without
792
- ---------------------------------
793
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
794
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
795
-  (0.1ms) SAVEPOINT active_record_1
796
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:12:53.985672"], ["updated_at", "2016-11-30 22:12:53.985672"]]
797
-  (0.2ms) RELEASE SAVEPOINT active_record_1
798
-  (0.2ms) SAVEPOINT active_record_1
799
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:12:53.991395"], ["updated_at", "2016-11-30 22:12:53.991395"]]
800
-  (0.2ms) RELEASE SAVEPOINT active_record_1
801
-  (0.2ms) SAVEPOINT active_record_1
802
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:12:53.997389"], ["updated_at", "2016-11-30 22:12:53.997389"]]
803
-  (0.1ms) RELEASE SAVEPOINT active_record_1
804
-  (0.2ms) SAVEPOINT active_record_1
805
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:12:54.003275"], ["updated_at", "2016-11-30 22:12:54.003275"]]
806
-  (0.2ms) RELEASE SAVEPOINT active_record_1
807
-  (0.3ms) ROLLBACK
808
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
809
-  (0.2ms) BEGIN
810
- ----------------------
811
- IndexesTest: test_find
812
- ----------------------
813
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
814
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
815
-  (0.4ms) ROLLBACK
816
-  (0.2ms) BEGIN
817
- -------------------------
818
- IndexesTest: test_suggest
819
- -------------------------
820
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
821
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
822
-  (0.2ms) SAVEPOINT active_record_1
823
- SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:13:20.675161"], ["updated_at", "2016-11-30 22:13:20.675161"]]
824
-  (0.2ms) RELEASE SAVEPOINT active_record_1
825
-  (0.2ms) SAVEPOINT active_record_1
826
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 21], ["created_at", "2016-11-30 22:13:20.693132"], ["updated_at", "2016-11-30 22:13:20.693132"]]
827
-  (0.2ms) RELEASE SAVEPOINT active_record_1
828
-  (0.2ms) SAVEPOINT active_record_1
829
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 21], ["created_at", "2016-11-30 22:13:20.720488"], ["updated_at", "2016-11-30 22:13:20.720488"]]
830
-  (0.1ms) RELEASE SAVEPOINT active_record_1
831
-  (0.4ms) ROLLBACK
832
-  (0.2ms) BEGIN
833
- -----------------------
834
- IndexesTest: test_exist
835
- -----------------------
836
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
837
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
838
-  (0.4ms) ROLLBACK
839
-  (0.1ms) BEGIN
840
- ---------------------------
841
- IndexesTest: test_namespace
842
- ---------------------------
843
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
844
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
845
-  (0.7ms) ROLLBACK
846
-  (0.2ms) BEGIN
847
- -------------------------
848
- SearchTest: test_includes
849
- -------------------------
850
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
851
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
852
-  (0.1ms) SAVEPOINT active_record_1
853
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:13:22.934325"], ["updated_at", "2016-11-30 22:13:22.934325"]]
854
-  (0.1ms) RELEASE SAVEPOINT active_record_1
855
-  (0.2ms) SAVEPOINT active_record_1
856
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 22], ["created_at", "2016-11-30 22:13:22.937093"], ["updated_at", "2016-11-30 22:13:22.937093"]]
857
-  (0.1ms) RELEASE SAVEPOINT active_record_1
858
-  (0.4ms) ROLLBACK
859
-  (0.2ms) BEGIN
860
- ----------------------
861
- SearchTest: test_order
862
- ----------------------
863
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
864
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
865
-  (0.2ms) SAVEPOINT active_record_1
866
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:13:25.052563"], ["updated_at", "2016-11-30 22:13:25.052563"]]
867
-  (0.1ms) RELEASE SAVEPOINT active_record_1
868
-  (0.2ms) SAVEPOINT active_record_1
869
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 23], ["created_at", "2016-11-30 22:13:25.060266"], ["updated_at", "2016-11-30 22:13:25.060266"]]
870
-  (0.2ms) RELEASE SAVEPOINT active_record_1
871
-  (0.4ms) SAVEPOINT active_record_1
872
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 23], ["created_at", "2016-11-30 22:13:25.069104"], ["updated_at", "2016-11-30 22:13:25.069104"]]
873
-  (0.2ms) RELEASE SAVEPOINT active_record_1
874
-  (0.2ms) SAVEPOINT active_record_1
875
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 23], ["created_at", "2016-11-30 22:13:25.075974"], ["updated_at", "2016-11-30 22:13:25.075974"]]
876
-  (0.2ms) RELEASE SAVEPOINT active_record_1
877
-  (0.4ms) ROLLBACK
878
-  (0.2ms) BEGIN
879
- ---------------------------------
880
- SearchTest: test_with_and_without
881
- ---------------------------------
882
- Product Load (1.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
883
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
884
-  (0.1ms) SAVEPOINT active_record_1
885
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:13:27.145772"], ["updated_at", "2016-11-30 22:13:27.145772"]]
886
-  (0.1ms) RELEASE SAVEPOINT active_record_1
887
-  (0.1ms) SAVEPOINT active_record_1
888
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:13:27.151880"], ["updated_at", "2016-11-30 22:13:27.151880"]]
889
-  (0.1ms) RELEASE SAVEPOINT active_record_1
890
-  (0.2ms) SAVEPOINT active_record_1
891
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:13:27.159606"], ["updated_at", "2016-11-30 22:13:27.159606"]]
892
-  (0.1ms) RELEASE SAVEPOINT active_record_1
893
-  (0.3ms) SAVEPOINT active_record_1
894
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:13:27.167092"], ["updated_at", "2016-11-30 22:13:27.167092"]]
895
-  (0.1ms) RELEASE SAVEPOINT active_record_1
896
-  (0.4ms) ROLLBACK
897
-  (0.2ms) BEGIN
898
- ---------------------------
899
- SearchTest: test_pagination
900
- ---------------------------
901
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
902
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
903
-  (0.1ms) SAVEPOINT active_record_1
904
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:13:29.244815"], ["updated_at", "2016-11-30 22:13:29.244815"]]
905
-  (0.1ms) RELEASE SAVEPOINT active_record_1
906
-  (0.2ms) SAVEPOINT active_record_1
907
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:13:29.251598"], ["updated_at", "2016-11-30 22:13:29.251598"]]
908
-  (0.2ms) RELEASE SAVEPOINT active_record_1
909
-  (0.2ms) SAVEPOINT active_record_1
910
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:13:29.271166"], ["updated_at", "2016-11-30 22:13:29.271166"]]
911
-  (0.1ms) RELEASE SAVEPOINT active_record_1
912
-  (0.2ms) SAVEPOINT active_record_1
913
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:13:29.280759"], ["updated_at", "2016-11-30 22:13:29.280759"]]
914
-  (0.1ms) RELEASE SAVEPOINT active_record_1
915
-  (0.3ms) SAVEPOINT active_record_1
916
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:13:29.287306"], ["updated_at", "2016-11-30 22:13:29.287306"]]
917
-  (0.2ms) RELEASE SAVEPOINT active_record_1
918
-  (0.2ms) ROLLBACK
919
-  (0.1ms) BEGIN
920
- --------------------------
921
- GeneratorsTest: test_index
922
- --------------------------
923
-  (0.2ms) ROLLBACK
924
-  (0.1ms) BEGIN
925
- ----------------------------
926
- GeneratorsTest: test_install
927
- ----------------------------
928
-  (0.2ms) ROLLBACK
929
-  (0.2ms) BEGIN
930
- ---------------------
931
- TasksTest: test_build
932
- ---------------------
933
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
934
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
935
-  (0.3ms) ROLLBACK
936
-  (0.2ms) BEGIN
937
- -----------------------
938
- TasksTest: test_rebuild
939
- -----------------------
940
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
941
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
942
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
943
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
944
-  (0.4ms) ROLLBACK
945
-  (0.1ms) BEGIN
946
- -------------------------
947
- RecordTest: test_indexing
948
- -------------------------
949
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
950
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
951
-  (0.1ms) SAVEPOINT active_record_1
952
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:13:31.607074"], ["updated_at", "2016-11-30 22:13:31.607074"]]
953
-  (0.1ms) RELEASE SAVEPOINT active_record_1
954
-  (0.1ms) SAVEPOINT active_record_1
955
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 24], ["created_at", "2016-11-30 22:13:31.609632"], ["updated_at", "2016-11-30 22:13:31.609632"]]
956
-  (0.2ms) RELEASE SAVEPOINT active_record_1
957
-  (0.4ms) ROLLBACK
958
-  (0.1ms) BEGIN
959
- --------------------
960
- DslTest: test_search
961
- --------------------
962
-  (0.2ms) ROLLBACK
963
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
964
-  (0.2ms) BEGIN
965
- ----------------------
966
- SearchTest: test_order
967
- ----------------------
968
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
969
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
970
-  (0.2ms) SAVEPOINT active_record_1
971
- SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:17:56.059968"], ["updated_at", "2016-11-30 22:17:56.059968"]]
972
-  (0.2ms) RELEASE SAVEPOINT active_record_1
973
-  (0.2ms) ROLLBACK
974
-  (0.1ms) BEGIN
975
- -------------------------
976
- SearchTest: test_includes
977
- -------------------------
978
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
979
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
980
-  (0.1ms) SAVEPOINT active_record_1
981
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:17:56.113591"], ["updated_at", "2016-11-30 22:17:56.113591"]]
982
-  (0.9ms) RELEASE SAVEPOINT active_record_1
983
-  (0.2ms) SAVEPOINT active_record_1
984
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 26], ["created_at", "2016-11-30 22:17:56.130744"], ["updated_at", "2016-11-30 22:17:56.130744"]]
985
-  (0.2ms) RELEASE SAVEPOINT active_record_1
986
-  (0.3ms) ROLLBACK
987
-  (0.2ms) BEGIN
988
- ---------------------------------
989
- SearchTest: test_with_and_without
990
- ---------------------------------
991
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
992
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
993
-  (0.1ms) SAVEPOINT active_record_1
994
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:17:56.184950"], ["updated_at", "2016-11-30 22:17:56.184950"]]
995
-  (0.1ms) RELEASE SAVEPOINT active_record_1
996
-  (0.3ms) ROLLBACK
997
-  (0.1ms) BEGIN
998
- ---------------------------
999
- SearchTest: test_pagination
1000
- ---------------------------
1001
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1002
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1003
-  (0.1ms) SAVEPOINT active_record_1
1004
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:17:56.249443"], ["updated_at", "2016-11-30 22:17:56.249443"]]
1005
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1006
-  (0.4ms) ROLLBACK
1007
-  (0.1ms) BEGIN
1008
- -------------------------
1009
- IndexesTest: test_suggest
1010
- -------------------------
1011
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1012
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1013
-  (0.1ms) SAVEPOINT active_record_1
1014
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:17:56.302946"], ["updated_at", "2016-11-30 22:17:56.302946"]]
1015
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1016
-  (0.1ms) SAVEPOINT active_record_1
1017
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 27], ["created_at", "2016-11-30 22:17:56.305075"], ["updated_at", "2016-11-30 22:17:56.305075"]]
1018
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1019
-  (0.4ms) ROLLBACK
1020
-  (0.2ms) BEGIN
1021
- ----------------------
1022
- IndexesTest: test_find
1023
- ----------------------
1024
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1025
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1026
-  (0.2ms) ROLLBACK
1027
-  (0.1ms) BEGIN
1028
- ---------------------------
1029
- IndexesTest: test_namespace
1030
- ---------------------------
1031
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1032
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1033
-  (0.3ms) ROLLBACK
1034
-  (0.1ms) BEGIN
1035
- -----------------------
1036
- IndexesTest: test_exist
1037
- -----------------------
1038
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1039
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1040
-  (0.3ms) ROLLBACK
1041
-  (0.1ms) BEGIN
1042
- --------------------
1043
- DslTest: test_search
1044
- --------------------
1045
-  (0.2ms) ROLLBACK
1046
-  (0.2ms) BEGIN
1047
- -------------------------
1048
- RecordTest: test_indexing
1049
- -------------------------
1050
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1051
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1052
-  (0.1ms) SAVEPOINT active_record_1
1053
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:17:56.503354"], ["updated_at", "2016-11-30 22:17:56.503354"]]
1054
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1055
-  (0.1ms) SAVEPOINT active_record_1
1056
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 28], ["created_at", "2016-11-30 22:17:56.505598"], ["updated_at", "2016-11-30 22:17:56.505598"]]
1057
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1058
-  (0.3ms) ROLLBACK
1059
-  (0.2ms) BEGIN
1060
- --------------------------
1061
- GeneratorsTest: test_index
1062
- --------------------------
1063
-  (0.2ms) ROLLBACK
1064
-  (0.1ms) BEGIN
1065
- ----------------------------
1066
- GeneratorsTest: test_install
1067
- ----------------------------
1068
-  (0.2ms) ROLLBACK
1069
-  (0.2ms) BEGIN
1070
- ---------------------
1071
- TasksTest: test_build
1072
- ---------------------
1073
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1074
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1075
-  (0.3ms) ROLLBACK
1076
-  (0.1ms) BEGIN
1077
- -----------------------
1078
- TasksTest: test_rebuild
1079
- -----------------------
1080
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1081
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1082
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1083
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1084
-  (0.3ms) ROLLBACK
1085
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1086
-  (0.2ms) BEGIN
1087
- -------------------------
1088
- RecordTest: test_indexing
1089
- -------------------------
1090
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1091
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1092
-  (0.2ms) SAVEPOINT active_record_1
1093
- SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:18:24.419367"], ["updated_at", "2016-11-30 22:18:24.419367"]]
1094
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1095
-  (0.3ms) SAVEPOINT active_record_1
1096
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 29], ["created_at", "2016-11-30 22:18:24.435591"], ["updated_at", "2016-11-30 22:18:24.435591"]]
1097
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1098
-  (0.6ms) ROLLBACK
1099
-  (0.2ms) BEGIN
1100
- ---------------------------
1101
- IndexesTest: test_namespace
1102
- ---------------------------
1103
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1104
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1105
-  (0.3ms) ROLLBACK
1106
-  (0.2ms) BEGIN
1107
- -------------------------
1108
- IndexesTest: test_suggest
1109
- -------------------------
1110
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1111
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1112
-  (0.1ms) SAVEPOINT active_record_1
1113
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:24.535392"], ["updated_at", "2016-11-30 22:18:24.535392"]]
1114
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1115
-  (0.1ms) SAVEPOINT active_record_1
1116
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 30], ["created_at", "2016-11-30 22:18:24.537601"], ["updated_at", "2016-11-30 22:18:24.537601"]]
1117
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1118
-  (0.3ms) ROLLBACK
1119
-  (0.1ms) BEGIN
1120
- ----------------------
1121
- IndexesTest: test_find
1122
- ----------------------
1123
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1124
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1125
-  (0.2ms) ROLLBACK
1126
-  (0.1ms) BEGIN
1127
- -----------------------
1128
- IndexesTest: test_exist
1129
- -----------------------
1130
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1131
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1132
-  (0.3ms) ROLLBACK
1133
-  (0.1ms) BEGIN
1134
- ---------------------
1135
- TasksTest: test_build
1136
- ---------------------
1137
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1138
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1139
-  (0.2ms) ROLLBACK
1140
-  (0.1ms) BEGIN
1141
- -----------------------
1142
- TasksTest: test_rebuild
1143
- -----------------------
1144
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1145
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1146
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1147
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1148
-  (0.4ms) ROLLBACK
1149
-  (0.2ms) BEGIN
1150
- --------------------
1151
- DslTest: test_search
1152
- --------------------
1153
-  (0.2ms) ROLLBACK
1154
-  (0.2ms) BEGIN
1155
- --------------------------
1156
- GeneratorsTest: test_index
1157
- --------------------------
1158
-  (0.3ms) ROLLBACK
1159
-  (0.1ms) BEGIN
1160
- ----------------------------
1161
- GeneratorsTest: test_install
1162
- ----------------------------
1163
-  (0.2ms) ROLLBACK
1164
-  (0.2ms) BEGIN
1165
- -------------------------
1166
- SearchTest: test_includes
1167
- -------------------------
1168
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1169
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1170
-  (0.1ms) SAVEPOINT active_record_1
1171
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:24.900989"], ["updated_at", "2016-11-30 22:18:24.900989"]]
1172
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1173
-  (0.1ms) SAVEPOINT active_record_1
1174
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 31], ["created_at", "2016-11-30 22:18:24.903761"], ["updated_at", "2016-11-30 22:18:24.903761"]]
1175
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1176
-  (0.4ms) ROLLBACK
1177
-  (0.2ms) BEGIN
1178
- ----------------------
1179
- SearchTest: test_order
1180
- ----------------------
1181
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1182
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1183
-  (0.1ms) SAVEPOINT active_record_1
1184
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:24.951148"], ["updated_at", "2016-11-30 22:18:24.951148"]]
1185
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1186
-  (0.6ms) ROLLBACK
1187
-  (0.1ms) BEGIN
1188
- ---------------------------
1189
- SearchTest: test_pagination
1190
- ---------------------------
1191
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1192
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1193
-  (0.1ms) SAVEPOINT active_record_1
1194
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:18:25.000842"], ["updated_at", "2016-11-30 22:18:25.000842"]]
1195
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1196
-  (0.3ms) ROLLBACK
1197
-  (0.1ms) BEGIN
1198
- ---------------------------------
1199
- SearchTest: test_with_and_without
1200
- ---------------------------------
1201
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1202
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1203
-  (0.1ms) SAVEPOINT active_record_1
1204
- SQL (0.8ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:18:25.054668"], ["updated_at", "2016-11-30 22:18:25.054668"]]
1205
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1206
-  (0.3ms) ROLLBACK
1207
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1208
-  (0.2ms) BEGIN
1209
- ----------------------
1210
- SearchTest: test_order
1211
- ----------------------
1212
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1213
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1214
-  (0.2ms) SAVEPOINT active_record_1
1215
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:47.339539"], ["updated_at", "2016-11-30 22:18:47.339539"]]
1216
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1217
-  (0.3ms) ROLLBACK
1218
-  (0.1ms) BEGIN
1219
- ---------------------------
1220
- SearchTest: test_pagination
1221
- ---------------------------
1222
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1223
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1224
-  (0.2ms) SAVEPOINT active_record_1
1225
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:18:47.383193"], ["updated_at", "2016-11-30 22:18:47.383193"]]
1226
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1227
-  (0.3ms) ROLLBACK
1228
-  (0.1ms) BEGIN
1229
- ---------------------------------
1230
- SearchTest: test_with_and_without
1231
- ---------------------------------
1232
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1233
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1234
-  (0.1ms) SAVEPOINT active_record_1
1235
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:18:47.425450"], ["updated_at", "2016-11-30 22:18:47.425450"]]
1236
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1237
-  (0.4ms) ROLLBACK
1238
-  (0.1ms) BEGIN
1239
- -------------------------
1240
- SearchTest: test_includes
1241
- -------------------------
1242
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1243
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1244
-  (0.1ms) SAVEPOINT active_record_1
1245
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:47.473703"], ["updated_at", "2016-11-30 22:18:47.473703"]]
1246
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1247
-  (0.2ms) SAVEPOINT active_record_1
1248
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 34], ["created_at", "2016-11-30 22:18:47.488781"], ["updated_at", "2016-11-30 22:18:47.488781"]]
1249
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1250
-  (0.4ms) ROLLBACK
1251
-  (0.2ms) BEGIN
1252
- --------------------
1253
- DslTest: test_search
1254
- --------------------
1255
-  (0.2ms) ROLLBACK
1256
-  (0.1ms) BEGIN
1257
- ---------------------------
1258
- IndexesTest: test_namespace
1259
- ---------------------------
1260
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1261
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1262
-  (0.3ms) ROLLBACK
1263
-  (0.2ms) BEGIN
1264
- -------------------------
1265
- IndexesTest: test_suggest
1266
- -------------------------
1267
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1268
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1269
-  (0.1ms) SAVEPOINT active_record_1
1270
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:47.606526"], ["updated_at", "2016-11-30 22:18:47.606526"]]
1271
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1272
-  (0.1ms) SAVEPOINT active_record_1
1273
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 35], ["created_at", "2016-11-30 22:18:47.609208"], ["updated_at", "2016-11-30 22:18:47.609208"]]
1274
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1275
-  (0.4ms) ROLLBACK
1276
-  (0.2ms) BEGIN
1277
- -----------------------
1278
- IndexesTest: test_exist
1279
- -----------------------
1280
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1281
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1282
-  (0.4ms) ROLLBACK
1283
-  (0.2ms) BEGIN
1284
- ----------------------
1285
- IndexesTest: test_find
1286
- ----------------------
1287
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1288
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1289
-  (0.4ms) ROLLBACK
1290
-  (0.2ms) BEGIN
1291
- ---------------------
1292
- TasksTest: test_build
1293
- ---------------------
1294
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1295
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1296
-  (0.4ms) ROLLBACK
1297
-  (0.1ms) BEGIN
1298
- -----------------------
1299
- TasksTest: test_rebuild
1300
- -----------------------
1301
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1302
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1303
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1304
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1305
-  (0.2ms) ROLLBACK
1306
-  (0.1ms) BEGIN
1307
- -------------------------
1308
- RecordTest: test_indexing
1309
- -------------------------
1310
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1311
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1312
-  (0.1ms) SAVEPOINT active_record_1
1313
- SQL (0.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:18:47.924090"], ["updated_at", "2016-11-30 22:18:47.924090"]]
1314
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1315
-  (0.2ms) SAVEPOINT active_record_1
1316
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 36], ["created_at", "2016-11-30 22:18:47.927271"], ["updated_at", "2016-11-30 22:18:47.927271"]]
1317
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1318
-  (0.3ms) ROLLBACK
1319
-  (0.1ms) BEGIN
1320
- --------------------------
1321
- GeneratorsTest: test_index
1322
- --------------------------
1323
-  (0.2ms) ROLLBACK
1324
-  (0.2ms) BEGIN
1325
- ----------------------------
1326
- GeneratorsTest: test_install
1327
- ----------------------------
1328
-  (0.2ms) ROLLBACK
1329
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1330
-  (0.3ms) BEGIN
1331
- --------------------
1332
- DslTest: test_search
1333
- --------------------
1334
-  (0.2ms) ROLLBACK
1335
-  (0.2ms) BEGIN
1336
- ----------------------
1337
- IndexesTest: test_find
1338
- ----------------------
1339
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1340
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1341
-  (0.3ms) ROLLBACK
1342
-  (0.1ms) BEGIN
1343
- -------------------------
1344
- IndexesTest: test_suggest
1345
- -------------------------
1346
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1347
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1348
-  (0.2ms) SAVEPOINT active_record_1
1349
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:56.150417"], ["updated_at", "2016-11-30 22:18:56.150417"]]
1350
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1351
-  (0.2ms) SAVEPOINT active_record_1
1352
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 37], ["created_at", "2016-11-30 22:18:56.165681"], ["updated_at", "2016-11-30 22:18:56.165681"]]
1353
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1354
-  (0.2ms) SAVEPOINT active_record_1
1355
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 37], ["created_at", "2016-11-30 22:18:56.173157"], ["updated_at", "2016-11-30 22:18:56.173157"]]
1356
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1357
-  (0.4ms) ROLLBACK
1358
-  (0.1ms) BEGIN
1359
- -----------------------
1360
- IndexesTest: test_exist
1361
- -----------------------
1362
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1363
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1364
-  (0.4ms) ROLLBACK
1365
-  (0.2ms) BEGIN
1366
- ---------------------------
1367
- IndexesTest: test_namespace
1368
- ---------------------------
1369
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1370
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1371
-  (0.3ms) ROLLBACK
1372
-  (0.1ms) BEGIN
1373
- ---------------------
1374
- TasksTest: test_build
1375
- ---------------------
1376
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1377
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1378
-  (0.3ms) ROLLBACK
1379
-  (0.2ms) BEGIN
1380
- -----------------------
1381
- TasksTest: test_rebuild
1382
- -----------------------
1383
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1384
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1385
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1386
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1387
-  (0.3ms) ROLLBACK
1388
-  (0.1ms) BEGIN
1389
- -------------------------
1390
- SearchTest: test_includes
1391
- -------------------------
1392
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1393
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1394
-  (0.1ms) SAVEPOINT active_record_1
1395
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:18:58.501325"], ["updated_at", "2016-11-30 22:18:58.501325"]]
1396
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1397
-  (0.2ms) SAVEPOINT active_record_1
1398
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 38], ["created_at", "2016-11-30 22:18:58.504235"], ["updated_at", "2016-11-30 22:18:58.504235"]]
1399
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1400
-  (0.3ms) ROLLBACK
1401
-  (0.2ms) BEGIN
1402
- ---------------------------------
1403
- SearchTest: test_with_and_without
1404
- ---------------------------------
1405
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1406
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1407
-  (0.1ms) SAVEPOINT active_record_1
1408
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:19:00.565899"], ["updated_at", "2016-11-30 22:19:00.565899"]]
1409
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1410
-  (0.2ms) SAVEPOINT active_record_1
1411
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:19:00.572997"], ["updated_at", "2016-11-30 22:19:00.572997"]]
1412
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1413
-  (0.2ms) SAVEPOINT active_record_1
1414
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:19:00.579758"], ["updated_at", "2016-11-30 22:19:00.579758"]]
1415
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1416
-  (0.2ms) SAVEPOINT active_record_1
1417
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:19:00.587502"], ["updated_at", "2016-11-30 22:19:00.587502"]]
1418
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1419
-  (8.0ms) ROLLBACK
1420
-  (0.1ms) BEGIN
1421
- ----------------------
1422
- SearchTest: test_order
1423
- ----------------------
1424
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1425
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1426
-  (0.1ms) SAVEPOINT active_record_1
1427
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:19:02.704206"], ["updated_at", "2016-11-30 22:19:02.704206"]]
1428
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1429
-  (0.2ms) SAVEPOINT active_record_1
1430
- SQL (0.9ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 39], ["created_at", "2016-11-30 22:19:02.712702"], ["updated_at", "2016-11-30 22:19:02.712702"]]
1431
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1432
-  (4.2ms) SAVEPOINT active_record_1
1433
- SQL (0.4ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 39], ["created_at", "2016-11-30 22:19:02.729040"], ["updated_at", "2016-11-30 22:19:02.729040"]]
1434
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1435
-  (0.2ms) SAVEPOINT active_record_1
1436
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 39], ["created_at", "2016-11-30 22:19:02.737311"], ["updated_at", "2016-11-30 22:19:02.737311"]]
1437
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1438
-  (0.4ms) ROLLBACK
1439
-  (0.2ms) BEGIN
1440
- ---------------------------
1441
- SearchTest: test_pagination
1442
- ---------------------------
1443
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1444
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1445
-  (0.2ms) SAVEPOINT active_record_1
1446
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:19:04.797913"], ["updated_at", "2016-11-30 22:19:04.797913"]]
1447
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1448
-  (0.2ms) SAVEPOINT active_record_1
1449
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:19:04.803477"], ["updated_at", "2016-11-30 22:19:04.803477"]]
1450
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1451
-  (0.2ms) SAVEPOINT active_record_1
1452
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:19:04.809547"], ["updated_at", "2016-11-30 22:19:04.809547"]]
1453
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1454
-  (0.2ms) SAVEPOINT active_record_1
1455
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:19:04.815208"], ["updated_at", "2016-11-30 22:19:04.815208"]]
1456
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1457
-  (0.2ms) SAVEPOINT active_record_1
1458
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:19:04.820405"], ["updated_at", "2016-11-30 22:19:04.820405"]]
1459
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1460
-  (0.3ms) ROLLBACK
1461
-  (0.2ms) BEGIN
1462
- -------------------------
1463
- RecordTest: test_indexing
1464
- -------------------------
1465
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1466
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1467
-  (0.1ms) SAVEPOINT active_record_1
1468
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:19:06.882066"], ["updated_at", "2016-11-30 22:19:06.882066"]]
1469
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1470
-  (0.1ms) SAVEPOINT active_record_1
1471
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 40], ["created_at", "2016-11-30 22:19:06.884488"], ["updated_at", "2016-11-30 22:19:06.884488"]]
1472
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1473
-  (0.4ms) ROLLBACK
1474
-  (0.2ms) BEGIN
1475
- --------------------------
1476
- GeneratorsTest: test_index
1477
- --------------------------
1478
-  (0.2ms) ROLLBACK
1479
-  (0.2ms) BEGIN
1480
- ----------------------------
1481
- GeneratorsTest: test_install
1482
- ----------------------------
1483
-  (0.2ms) ROLLBACK
1484
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1485
-  (0.2ms) BEGIN
1486
- --------------------
1487
- DslTest: test_search
1488
- --------------------
1489
-  (0.1ms) ROLLBACK
1490
-  (0.1ms) BEGIN
1491
- ---------------------
1492
- TasksTest: test_build
1493
- ---------------------
1494
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1495
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1496
-  (0.3ms) ROLLBACK
1497
-  (0.2ms) BEGIN
1498
- -----------------------
1499
- TasksTest: test_rebuild
1500
- -----------------------
1501
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1502
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1503
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1504
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1505
-  (0.3ms) ROLLBACK
1506
-  (0.1ms) BEGIN
1507
- --------------------------
1508
- GeneratorsTest: test_index
1509
- --------------------------
1510
-  (0.2ms) ROLLBACK
1511
-  (0.1ms) BEGIN
1512
- ----------------------------
1513
- GeneratorsTest: test_install
1514
- ----------------------------
1515
-  (0.2ms) ROLLBACK
1516
-  (0.1ms) BEGIN
1517
- -------------------------
1518
- RecordTest: test_indexing
1519
- -------------------------
1520
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1521
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1522
-  (0.2ms) SAVEPOINT active_record_1
1523
- SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:19:56.252653"], ["updated_at", "2016-11-30 22:19:56.252653"]]
1524
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1525
-  (0.3ms) SAVEPOINT active_record_1
1526
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 41], ["created_at", "2016-11-30 22:19:56.269725"], ["updated_at", "2016-11-30 22:19:56.269725"]]
1527
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1528
-  (0.4ms) ROLLBACK
1529
-  (0.1ms) BEGIN
1530
- ----------------------
1531
- SearchTest: test_order
1532
- ----------------------
1533
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1534
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1535
-  (0.2ms) SAVEPOINT active_record_1
1536
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:19:58.324038"], ["updated_at", "2016-11-30 22:19:58.324038"]]
1537
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1538
-  (0.2ms) SAVEPOINT active_record_1
1539
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 42], ["created_at", "2016-11-30 22:19:58.332922"], ["updated_at", "2016-11-30 22:19:58.332922"]]
1540
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1541
-  (0.3ms) SAVEPOINT active_record_1
1542
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 42], ["created_at", "2016-11-30 22:19:58.342002"], ["updated_at", "2016-11-30 22:19:58.342002"]]
1543
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1544
-  (0.3ms) SAVEPOINT active_record_1
1545
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 42], ["created_at", "2016-11-30 22:19:58.350040"], ["updated_at", "2016-11-30 22:19:58.350040"]]
1546
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1547
-  (0.3ms) ROLLBACK
1548
-  (0.1ms) BEGIN
1549
- ---------------------------
1550
- SearchTest: test_pagination
1551
- ---------------------------
1552
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1553
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1554
-  (0.1ms) SAVEPOINT active_record_1
1555
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:20:00.405166"], ["updated_at", "2016-11-30 22:20:00.405166"]]
1556
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1557
-  (0.2ms) SAVEPOINT active_record_1
1558
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:20:00.410611"], ["updated_at", "2016-11-30 22:20:00.410611"]]
1559
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1560
-  (0.2ms) SAVEPOINT active_record_1
1561
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:20:00.416386"], ["updated_at", "2016-11-30 22:20:00.416386"]]
1562
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1563
-  (0.3ms) SAVEPOINT active_record_1
1564
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:20:00.421970"], ["updated_at", "2016-11-30 22:20:00.421970"]]
1565
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1566
-  (0.2ms) SAVEPOINT active_record_1
1567
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:20:00.428028"], ["updated_at", "2016-11-30 22:20:00.428028"]]
1568
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1569
-  (0.4ms) ROLLBACK
1570
-  (0.1ms) BEGIN
1571
- -------------------------
1572
- SearchTest: test_includes
1573
- -------------------------
1574
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1575
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1576
-  (0.1ms) SAVEPOINT active_record_1
1577
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:20:02.484854"], ["updated_at", "2016-11-30 22:20:02.484854"]]
1578
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1579
-  (0.1ms) SAVEPOINT active_record_1
1580
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 43], ["created_at", "2016-11-30 22:20:02.487723"], ["updated_at", "2016-11-30 22:20:02.487723"]]
1581
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1582
-  (0.4ms) ROLLBACK
1583
-  (0.1ms) BEGIN
1584
- ---------------------------------
1585
- SearchTest: test_with_and_without
1586
- ---------------------------------
1587
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1588
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1589
-  (0.3ms) SAVEPOINT active_record_1
1590
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:20:04.546721"], ["updated_at", "2016-11-30 22:20:04.546721"]]
1591
-  (0.6ms) RELEASE SAVEPOINT active_record_1
1592
-  (0.2ms) SAVEPOINT active_record_1
1593
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:20:04.554307"], ["updated_at", "2016-11-30 22:20:04.554307"]]
1594
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1595
-  (0.3ms) SAVEPOINT active_record_1
1596
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:20:04.560904"], ["updated_at", "2016-11-30 22:20:04.560904"]]
1597
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1598
-  (0.2ms) SAVEPOINT active_record_1
1599
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:20:04.567125"], ["updated_at", "2016-11-30 22:20:04.567125"]]
1600
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1601
-  (0.2ms) ROLLBACK
1602
-  (0.2ms) BEGIN
1603
- -----------------------
1604
- IndexesTest: test_exist
1605
- -----------------------
1606
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1607
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1608
-  (0.3ms) ROLLBACK
1609
-  (0.1ms) BEGIN
1610
- ---------------------------
1611
- IndexesTest: test_namespace
1612
- ---------------------------
1613
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1614
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1615
-  (0.3ms) ROLLBACK
1616
-  (0.1ms) BEGIN
1617
- ----------------------
1618
- IndexesTest: test_find
1619
- ----------------------
1620
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1621
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1622
-  (0.3ms) ROLLBACK
1623
-  (0.1ms) BEGIN
1624
- -------------------------
1625
- IndexesTest: test_suggest
1626
- -------------------------
1627
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1628
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1629
-  (0.1ms) SAVEPOINT active_record_1
1630
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:20:06.734755"], ["updated_at", "2016-11-30 22:20:06.734755"]]
1631
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1632
-  (0.1ms) SAVEPOINT active_record_1
1633
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 44], ["created_at", "2016-11-30 22:20:06.736901"], ["updated_at", "2016-11-30 22:20:06.736901"]]
1634
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1635
-  (0.3ms) SAVEPOINT active_record_1
1636
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 44], ["created_at", "2016-11-30 22:20:06.743628"], ["updated_at", "2016-11-30 22:20:06.743628"]]
1637
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1638
-  (0.4ms) ROLLBACK
1639
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1640
-  (0.2ms) BEGIN
1641
- ----------------------
1642
- IndexesTest: test_find
1643
- ----------------------
1644
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1645
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1646
-  (0.3ms) ROLLBACK
1647
-  (0.2ms) BEGIN
1648
- -------------------------
1649
- IndexesTest: test_suggest
1650
- -------------------------
1651
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1652
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1653
-  (0.2ms) SAVEPOINT active_record_1
1654
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:21:00.972775"], ["updated_at", "2016-11-30 22:21:00.972775"]]
1655
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1656
-  (0.3ms) SAVEPOINT active_record_1
1657
- SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 45], ["created_at", "2016-11-30 22:21:00.988525"], ["updated_at", "2016-11-30 22:21:00.988525"]]
1658
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1659
-  (0.4ms) SAVEPOINT active_record_1
1660
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 45], ["created_at", "2016-11-30 22:21:00.997072"], ["updated_at", "2016-11-30 22:21:00.997072"]]
1661
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1662
-  (0.4ms) ROLLBACK
1663
-  (0.2ms) BEGIN
1664
- -----------------------
1665
- IndexesTest: test_exist
1666
- -----------------------
1667
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1668
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1669
-  (0.3ms) ROLLBACK
1670
-  (0.1ms) BEGIN
1671
- ---------------------------
1672
- IndexesTest: test_namespace
1673
- ---------------------------
1674
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1675
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1676
-  (0.3ms) ROLLBACK
1677
-  (0.2ms) BEGIN
1678
- ----------------------------
1679
- GeneratorsTest: test_install
1680
- ----------------------------
1681
-  (0.2ms) ROLLBACK
1682
-  (0.1ms) BEGIN
1683
- --------------------------
1684
- GeneratorsTest: test_index
1685
- --------------------------
1686
-  (0.2ms) ROLLBACK
1687
-  (0.1ms) BEGIN
1688
- ---------------------
1689
- TasksTest: test_build
1690
- ---------------------
1691
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1692
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1693
-  (0.3ms) ROLLBACK
1694
-  (0.2ms) BEGIN
1695
- -----------------------
1696
- TasksTest: test_rebuild
1697
- -----------------------
1698
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1699
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1700
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1701
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1702
-  (0.3ms) ROLLBACK
1703
-  (0.1ms) BEGIN
1704
- --------------------
1705
- DslTest: test_search
1706
- --------------------
1707
-  (0.1ms) ROLLBACK
1708
-  (0.1ms) BEGIN
1709
- -------------------------
1710
- SearchTest: test_includes
1711
- -------------------------
1712
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1713
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1714
-  (0.1ms) SAVEPOINT active_record_1
1715
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:21:03.319812"], ["updated_at", "2016-11-30 22:21:03.319812"]]
1716
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1717
-  (0.1ms) SAVEPOINT active_record_1
1718
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 46], ["created_at", "2016-11-30 22:21:03.322247"], ["updated_at", "2016-11-30 22:21:03.322247"]]
1719
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1720
- Product Load (6.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = 42
1721
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (46)
1722
-  (0.3ms) ROLLBACK
1723
-  (0.2ms) BEGIN
1724
- ---------------------------------
1725
- SearchTest: test_with_and_without
1726
- ---------------------------------
1727
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1728
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1729
-  (0.2ms) SAVEPOINT active_record_1
1730
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:21:05.447965"], ["updated_at", "2016-11-30 22:21:05.447965"]]
1731
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1732
-  (0.2ms) SAVEPOINT active_record_1
1733
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:21:05.453657"], ["updated_at", "2016-11-30 22:21:05.453657"]]
1734
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1735
-  (0.2ms) SAVEPOINT active_record_1
1736
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:21:05.460049"], ["updated_at", "2016-11-30 22:21:05.460049"]]
1737
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1738
-  (0.2ms) SAVEPOINT active_record_1
1739
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:21:05.465190"], ["updated_at", "2016-11-30 22:21:05.465190"]]
1740
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1741
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
1742
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
1743
-  (0.4ms) ROLLBACK
1744
-  (0.1ms) BEGIN
1745
- ----------------------
1746
- SearchTest: test_order
1747
- ----------------------
1748
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1749
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1750
-  (0.1ms) SAVEPOINT active_record_1
1751
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:21:07.543937"], ["updated_at", "2016-11-30 22:21:07.543937"]]
1752
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1753
-  (0.2ms) SAVEPOINT active_record_1
1754
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 47], ["created_at", "2016-11-30 22:21:07.549814"], ["updated_at", "2016-11-30 22:21:07.549814"]]
1755
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1756
-  (0.3ms) SAVEPOINT active_record_1
1757
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 47], ["created_at", "2016-11-30 22:21:07.557138"], ["updated_at", "2016-11-30 22:21:07.557138"]]
1758
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1759
-  (0.3ms) SAVEPOINT active_record_1
1760
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 47], ["created_at", "2016-11-30 22:21:07.563396"], ["updated_at", "2016-11-30 22:21:07.563396"]]
1761
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1762
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
1763
-  (0.3ms) ROLLBACK
1764
-  (0.2ms) BEGIN
1765
- ---------------------------
1766
- SearchTest: test_pagination
1767
- ---------------------------
1768
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1769
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1770
-  (0.1ms) SAVEPOINT active_record_1
1771
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:21:09.622303"], ["updated_at", "2016-11-30 22:21:09.622303"]]
1772
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1773
-  (0.3ms) SAVEPOINT active_record_1
1774
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:21:09.627551"], ["updated_at", "2016-11-30 22:21:09.627551"]]
1775
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1776
-  (0.2ms) SAVEPOINT active_record_1
1777
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:21:09.633226"], ["updated_at", "2016-11-30 22:21:09.633226"]]
1778
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1779
-  (0.2ms) SAVEPOINT active_record_1
1780
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:21:09.638442"], ["updated_at", "2016-11-30 22:21:09.638442"]]
1781
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1782
-  (0.2ms) SAVEPOINT active_record_1
1783
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:21:09.643583"], ["updated_at", "2016-11-30 22:21:09.643583"]]
1784
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1785
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
1786
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
1787
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
1788
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0
1789
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
1790
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
1791
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0
1792
-  (0.4ms) ROLLBACK
1793
-  (0.1ms) BEGIN
1794
- -------------------------
1795
- RecordTest: test_indexing
1796
- -------------------------
1797
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1798
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1799
-  (0.3ms) SAVEPOINT active_record_1
1800
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:21:11.731824"], ["updated_at", "2016-11-30 22:21:11.731824"]]
1801
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1802
-  (0.1ms) SAVEPOINT active_record_1
1803
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 48], ["created_at", "2016-11-30 22:21:11.734182"], ["updated_at", "2016-11-30 22:21:11.734182"]]
1804
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1805
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 43
1806
-  (0.2ms) SAVEPOINT active_record_1
1807
- SQL (0.6ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 43]]
1808
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1809
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 43
1810
-  (0.3ms) ROLLBACK
1811
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1812
-  (0.2ms) BEGIN
1813
- -------------------------
1814
- RecordTest: test_indexing
1815
- -------------------------
1816
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1817
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1818
-  (0.2ms) SAVEPOINT active_record_1
1819
- SQL (0.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:22:12.409505"], ["updated_at", "2016-11-30 22:22:12.409505"]]
1820
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1821
-  (0.2ms) SAVEPOINT active_record_1
1822
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 49], ["created_at", "2016-11-30 22:22:12.428250"], ["updated_at", "2016-11-30 22:22:12.428250"]]
1823
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1824
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 44
1825
-  (0.1ms) SAVEPOINT active_record_1
1826
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 44]]
1827
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1828
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 44
1829
-  (0.4ms) ROLLBACK
1830
-  (0.1ms) BEGIN
1831
- -----------------------
1832
- IndexesTest: test_exist
1833
- -----------------------
1834
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1835
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1836
-  (0.3ms) ROLLBACK
1837
-  (0.2ms) BEGIN
1838
- ----------------------
1839
- IndexesTest: test_find
1840
- ----------------------
1841
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1842
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1843
-  (0.3ms) ROLLBACK
1844
-  (0.1ms) BEGIN
1845
- ---------------------------
1846
- IndexesTest: test_namespace
1847
- ---------------------------
1848
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1849
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1850
-  (0.3ms) ROLLBACK
1851
-  (0.1ms) BEGIN
1852
- -------------------------
1853
- IndexesTest: test_suggest
1854
- -------------------------
1855
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1856
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1857
-  (0.1ms) SAVEPOINT active_record_1
1858
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:22:14.707730"], ["updated_at", "2016-11-30 22:22:14.707730"]]
1859
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1860
-  (0.1ms) SAVEPOINT active_record_1
1861
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 50], ["created_at", "2016-11-30 22:22:14.710303"], ["updated_at", "2016-11-30 22:22:14.710303"]]
1862
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1863
-  (0.4ms) SAVEPOINT active_record_1
1864
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 50], ["created_at", "2016-11-30 22:22:14.718566"], ["updated_at", "2016-11-30 22:22:14.718566"]]
1865
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1866
-  (0.4ms) ROLLBACK
1867
-  (0.2ms) BEGIN
1868
- ---------------------------------
1869
- SearchTest: test_with_and_without
1870
- ---------------------------------
1871
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1872
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1873
-  (0.1ms) SAVEPOINT active_record_1
1874
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:22:16.784831"], ["updated_at", "2016-11-30 22:22:16.784831"]]
1875
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1876
-  (0.2ms) SAVEPOINT active_record_1
1877
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:22:16.791031"], ["updated_at", "2016-11-30 22:22:16.791031"]]
1878
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1879
-  (0.2ms) SAVEPOINT active_record_1
1880
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:22:16.796753"], ["updated_at", "2016-11-30 22:22:16.796753"]]
1881
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1882
-  (0.1ms) SAVEPOINT active_record_1
1883
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:22:16.802590"], ["updated_at", "2016-11-30 22:22:16.802590"]]
1884
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1885
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
1886
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
1887
-  (0.3ms) ROLLBACK
1888
-  (0.1ms) BEGIN
1889
- -------------------------
1890
- SearchTest: test_includes
1891
- -------------------------
1892
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1893
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1894
-  (0.1ms) SAVEPOINT active_record_1
1895
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:22:18.863924"], ["updated_at", "2016-11-30 22:22:18.863924"]]
1896
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1897
-  (0.1ms) SAVEPOINT active_record_1
1898
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 51], ["created_at", "2016-11-30 22:22:18.866159"], ["updated_at", "2016-11-30 22:22:18.866159"]]
1899
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1900
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 47
1901
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (51)
1902
-  (0.4ms) ROLLBACK
1903
-  (0.1ms) BEGIN
1904
- ---------------------------
1905
- SearchTest: test_pagination
1906
- ---------------------------
1907
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1908
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1909
-  (0.2ms) SAVEPOINT active_record_1
1910
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:22:20.930530"], ["updated_at", "2016-11-30 22:22:20.930530"]]
1911
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1912
-  (0.2ms) SAVEPOINT active_record_1
1913
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:22:20.936228"], ["updated_at", "2016-11-30 22:22:20.936228"]]
1914
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1915
-  (0.3ms) SAVEPOINT active_record_1
1916
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:22:20.942669"], ["updated_at", "2016-11-30 22:22:20.942669"]]
1917
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1918
-  (0.2ms) SAVEPOINT active_record_1
1919
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:22:20.948649"], ["updated_at", "2016-11-30 22:22:20.948649"]]
1920
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1921
-  (0.2ms) SAVEPOINT active_record_1
1922
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:22:20.954392"], ["updated_at", "2016-11-30 22:22:20.954392"]]
1923
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1924
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
1925
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
1926
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
1927
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
1928
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
1929
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
1930
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0
1931
-  (0.3ms) ROLLBACK
1932
-  (0.2ms) BEGIN
1933
- ----------------------
1934
- SearchTest: test_order
1935
- ----------------------
1936
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1937
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1938
-  (0.1ms) SAVEPOINT active_record_1
1939
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:22:23.049772"], ["updated_at", "2016-11-30 22:22:23.049772"]]
1940
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1941
-  (0.2ms) SAVEPOINT active_record_1
1942
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 52], ["created_at", "2016-11-30 22:22:23.056875"], ["updated_at", "2016-11-30 22:22:23.056875"]]
1943
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1944
-  (0.2ms) SAVEPOINT active_record_1
1945
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 52], ["created_at", "2016-11-30 22:22:23.066553"], ["updated_at", "2016-11-30 22:22:23.066553"]]
1946
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1947
-  (0.3ms) SAVEPOINT active_record_1
1948
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 52], ["created_at", "2016-11-30 22:22:23.073039"], ["updated_at", "2016-11-30 22:22:23.073039"]]
1949
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1950
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
1951
-  (0.4ms) ROLLBACK
1952
-  (0.1ms) BEGIN
1953
- --------------------
1954
- DslTest: test_search
1955
- --------------------
1956
-  (0.2ms) ROLLBACK
1957
-  (0.1ms) BEGIN
1958
- --------------------------
1959
- GeneratorsTest: test_index
1960
- --------------------------
1961
-  (0.2ms) ROLLBACK
1962
-  (0.1ms) BEGIN
1963
- ----------------------------
1964
- GeneratorsTest: test_install
1965
- ----------------------------
1966
-  (0.3ms) ROLLBACK
1967
-  (0.1ms) BEGIN
1968
- ---------------------
1969
- TasksTest: test_build
1970
- ---------------------
1971
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1972
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1973
-  (0.4ms) ROLLBACK
1974
-  (0.2ms) BEGIN
1975
- -----------------------
1976
- TasksTest: test_rebuild
1977
- -----------------------
1978
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1979
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1980
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1981
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1982
-  (0.4ms) ROLLBACK
1983
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1984
-  (0.2ms) BEGIN
1985
- --------------------
1986
- DslTest: test_search
1987
- --------------------
1988
-  (0.2ms) ROLLBACK
1989
-  (0.1ms) BEGIN
1990
- -------------------------
1991
- RecordTest: test_indexing
1992
- -------------------------
1993
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
1994
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
1995
-  (0.2ms) SAVEPOINT active_record_1
1996
- SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:23:02.937205"], ["updated_at", "2016-11-30 22:23:02.937205"]]
1997
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1998
-  (0.2ms) SAVEPOINT active_record_1
1999
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 53], ["created_at", "2016-11-30 22:23:02.955108"], ["updated_at", "2016-11-30 22:23:02.955108"]]
2000
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2001
-  (0.4ms) ROLLBACK
2002
-  (0.1ms) BEGIN
2003
- -----------------------
2004
- TasksTest: test_rebuild
2005
- -----------------------
2006
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2007
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2008
-  (0.3ms) ROLLBACK
2009
-  (0.1ms) BEGIN
2010
- ---------------------
2011
- TasksTest: test_build
2012
- ---------------------
2013
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2014
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2015
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2016
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2017
-  (0.3ms) ROLLBACK
2018
-  (0.1ms) BEGIN
2019
- ----------------------
2020
- SearchTest: test_order
2021
- ----------------------
2022
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2023
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2024
-  (0.1ms) SAVEPOINT active_record_1
2025
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:05.213119"], ["updated_at", "2016-11-30 22:23:05.213119"]]
2026
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2027
-  (0.2ms) SAVEPOINT active_record_1
2028
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 54], ["created_at", "2016-11-30 22:23:05.220355"], ["updated_at", "2016-11-30 22:23:05.220355"]]
2029
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2030
-  (0.7ms) SAVEPOINT active_record_1
2031
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 54], ["created_at", "2016-11-30 22:23:05.229312"], ["updated_at", "2016-11-30 22:23:05.229312"]]
2032
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2033
-  (0.2ms) SAVEPOINT active_record_1
2034
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 54], ["created_at", "2016-11-30 22:23:05.238090"], ["updated_at", "2016-11-30 22:23:05.238090"]]
2035
-  (0.4ms) RELEASE SAVEPOINT active_record_1
2036
-  (0.4ms) ROLLBACK
2037
-  (0.2ms) BEGIN
2038
- ---------------------------
2039
- SearchTest: test_pagination
2040
- ---------------------------
2041
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2042
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2043
-  (0.1ms) SAVEPOINT active_record_1
2044
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:07.297748"], ["updated_at", "2016-11-30 22:23:07.297748"]]
2045
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2046
-  (0.2ms) SAVEPOINT active_record_1
2047
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:23:07.304882"], ["updated_at", "2016-11-30 22:23:07.304882"]]
2048
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2049
-  (0.2ms) SAVEPOINT active_record_1
2050
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:23:07.312027"], ["updated_at", "2016-11-30 22:23:07.312027"]]
2051
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2052
-  (0.2ms) SAVEPOINT active_record_1
2053
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:23:07.317722"], ["updated_at", "2016-11-30 22:23:07.317722"]]
2054
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2055
-  (0.2ms) SAVEPOINT active_record_1
2056
- SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:23:07.323231"], ["updated_at", "2016-11-30 22:23:07.323231"]]
2057
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2058
-  (0.3ms) ROLLBACK
2059
-  (0.2ms) BEGIN
2060
- -------------------------
2061
- SearchTest: test_includes
2062
- -------------------------
2063
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2064
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2065
-  (0.2ms) SAVEPOINT active_record_1
2066
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:09.379301"], ["updated_at", "2016-11-30 22:23:09.379301"]]
2067
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2068
-  (0.1ms) SAVEPOINT active_record_1
2069
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 55], ["created_at", "2016-11-30 22:23:09.382277"], ["updated_at", "2016-11-30 22:23:09.382277"]]
2070
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2071
-  (0.3ms) ROLLBACK
2072
-  (0.2ms) BEGIN
2073
- ---------------------------------
2074
- SearchTest: test_with_and_without
2075
- ---------------------------------
2076
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2077
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2078
-  (0.1ms) SAVEPOINT active_record_1
2079
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:11.439541"], ["updated_at", "2016-11-30 22:23:11.439541"]]
2080
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2081
-  (0.1ms) SAVEPOINT active_record_1
2082
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:23:11.445027"], ["updated_at", "2016-11-30 22:23:11.445027"]]
2083
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2084
-  (0.3ms) SAVEPOINT active_record_1
2085
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:23:11.450575"], ["updated_at", "2016-11-30 22:23:11.450575"]]
2086
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2087
-  (0.2ms) SAVEPOINT active_record_1
2088
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:23:11.456464"], ["updated_at", "2016-11-30 22:23:11.456464"]]
2089
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2090
-  (0.3ms) ROLLBACK
2091
-  (0.2ms) BEGIN
2092
- --------------------------
2093
- GeneratorsTest: test_index
2094
- --------------------------
2095
-  (0.2ms) ROLLBACK
2096
-  (0.2ms) BEGIN
2097
- ----------------------------
2098
- GeneratorsTest: test_install
2099
- ----------------------------
2100
-  (0.3ms) ROLLBACK
2101
-  (0.1ms) BEGIN
2102
- -------------------------
2103
- IndexesTest: test_suggest
2104
- -------------------------
2105
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2106
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2107
-  (0.1ms) SAVEPOINT active_record_1
2108
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:13.534759"], ["updated_at", "2016-11-30 22:23:13.534759"]]
2109
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2110
-  (0.1ms) SAVEPOINT active_record_1
2111
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 56], ["created_at", "2016-11-30 22:23:13.537396"], ["updated_at", "2016-11-30 22:23:13.537396"]]
2112
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2113
-  (0.3ms) SAVEPOINT active_record_1
2114
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 56], ["created_at", "2016-11-30 22:23:13.550488"], ["updated_at", "2016-11-30 22:23:13.550488"]]
2115
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2116
-  (0.4ms) ROLLBACK
2117
-  (0.2ms) BEGIN
2118
- -----------------------
2119
- IndexesTest: test_exist
2120
- -----------------------
2121
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2122
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2123
-  (0.4ms) ROLLBACK
2124
-  (0.2ms) BEGIN
2125
- ---------------------------
2126
- IndexesTest: test_namespace
2127
- ---------------------------
2128
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2129
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2130
-  (0.4ms) ROLLBACK
2131
-  (0.2ms) BEGIN
2132
- ----------------------
2133
- IndexesTest: test_find
2134
- ----------------------
2135
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2136
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2137
-  (0.3ms) ROLLBACK
2138
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2139
-  (0.3ms) BEGIN
2140
- -----------------------
2141
- IndexesTest: test_exist
2142
- -----------------------
2143
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2144
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2145
-  (0.3ms) ROLLBACK
2146
-  (0.2ms) BEGIN
2147
- ---------------------------
2148
- IndexesTest: test_namespace
2149
- ---------------------------
2150
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2151
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2152
-  (0.3ms) ROLLBACK
2153
-  (0.1ms) BEGIN
2154
- -------------------------
2155
- IndexesTest: test_suggest
2156
- -------------------------
2157
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2158
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2159
-  (0.2ms) SAVEPOINT active_record_1
2160
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:27.307721"], ["updated_at", "2016-11-30 22:23:27.307721"]]
2161
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2162
-  (0.2ms) SAVEPOINT active_record_1
2163
- SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 57], ["created_at", "2016-11-30 22:23:27.325675"], ["updated_at", "2016-11-30 22:23:27.325675"]]
2164
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2165
-  (0.2ms) SAVEPOINT active_record_1
2166
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 57], ["created_at", "2016-11-30 22:23:27.344962"], ["updated_at", "2016-11-30 22:23:27.344962"]]
2167
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2168
-  (0.4ms) ROLLBACK
2169
-  (0.1ms) BEGIN
2170
- ----------------------
2171
- IndexesTest: test_find
2172
- ----------------------
2173
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2174
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2175
-  (0.3ms) ROLLBACK
2176
-  (0.2ms) BEGIN
2177
- --------------------
2178
- DslTest: test_search
2179
- --------------------
2180
-  (0.1ms) ROLLBACK
2181
-  (0.1ms) BEGIN
2182
- ---------------------------------
2183
- SearchTest: test_with_and_without
2184
- ---------------------------------
2185
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2186
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2187
-  (0.1ms) SAVEPOINT active_record_1
2188
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:29.450243"], ["updated_at", "2016-11-30 22:23:29.450243"]]
2189
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2190
-  (0.2ms) SAVEPOINT active_record_1
2191
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:23:29.456164"], ["updated_at", "2016-11-30 22:23:29.456164"]]
2192
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2193
-  (0.2ms) SAVEPOINT active_record_1
2194
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:23:29.461387"], ["updated_at", "2016-11-30 22:23:29.461387"]]
2195
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2196
-  (0.2ms) SAVEPOINT active_record_1
2197
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:23:29.466324"], ["updated_at", "2016-11-30 22:23:29.466324"]]
2198
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2199
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
2200
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
2201
-  (0.3ms) ROLLBACK
2202
-  (0.1ms) BEGIN
2203
- ----------------------
2204
- SearchTest: test_order
2205
- ----------------------
2206
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2207
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2208
-  (0.1ms) SAVEPOINT active_record_1
2209
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:31.530300"], ["updated_at", "2016-11-30 22:23:31.530300"]]
2210
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2211
-  (0.2ms) SAVEPOINT active_record_1
2212
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 58], ["created_at", "2016-11-30 22:23:31.536358"], ["updated_at", "2016-11-30 22:23:31.536358"]]
2213
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2214
-  (0.2ms) SAVEPOINT active_record_1
2215
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 58], ["created_at", "2016-11-30 22:23:31.543801"], ["updated_at", "2016-11-30 22:23:31.543801"]]
2216
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2217
-  (0.3ms) SAVEPOINT active_record_1
2218
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 58], ["created_at", "2016-11-30 22:23:31.550208"], ["updated_at", "2016-11-30 22:23:31.550208"]]
2219
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2220
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2221
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2222
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2223
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2224
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2225
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2226
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2227
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2228
-  (0.8ms) ROLLBACK
2229
-  (0.1ms) BEGIN
2230
- ---------------------------
2231
- SearchTest: test_pagination
2232
- ---------------------------
2233
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2234
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2235
-  (0.1ms) SAVEPOINT active_record_1
2236
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:23:34.194085"], ["updated_at", "2016-11-30 22:23:34.194085"]]
2237
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2238
-  (0.2ms) SAVEPOINT active_record_1
2239
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:23:34.201073"], ["updated_at", "2016-11-30 22:23:34.201073"]]
2240
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2241
-  (0.2ms) SAVEPOINT active_record_1
2242
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:23:34.207771"], ["updated_at", "2016-11-30 22:23:34.207771"]]
2243
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2244
-  (0.2ms) SAVEPOINT active_record_1
2245
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:23:34.213571"], ["updated_at", "2016-11-30 22:23:34.213571"]]
2246
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2247
-  (0.2ms) SAVEPOINT active_record_1
2248
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:23:34.219661"], ["updated_at", "2016-11-30 22:23:34.219661"]]
2249
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2250
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
2251
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2252
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2253
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
2254
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2255
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2256
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
2257
-  (0.4ms) ROLLBACK
2258
-  (0.2ms) BEGIN
2259
- -------------------------
2260
- SearchTest: test_includes
2261
- -------------------------
2262
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2263
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2264
-  (0.2ms) SAVEPOINT active_record_1
2265
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:23:36.319849"], ["updated_at", "2016-11-30 22:23:36.319849"]]
2266
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2267
-  (0.1ms) SAVEPOINT active_record_1
2268
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 59], ["created_at", "2016-11-30 22:23:36.322005"], ["updated_at", "2016-11-30 22:23:36.322005"]]
2269
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2270
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 54
2271
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (59)
2272
-  (0.4ms) ROLLBACK
2273
-  (0.1ms) BEGIN
2274
- -------------------------
2275
- RecordTest: test_indexing
2276
- -------------------------
2277
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2278
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2279
-  (0.1ms) SAVEPOINT active_record_1
2280
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:23:38.404430"], ["updated_at", "2016-11-30 22:23:38.404430"]]
2281
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2282
-  (0.2ms) SAVEPOINT active_record_1
2283
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 60], ["created_at", "2016-11-30 22:23:38.407846"], ["updated_at", "2016-11-30 22:23:38.407846"]]
2284
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2285
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 55
2286
-  (0.1ms) SAVEPOINT active_record_1
2287
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 55]]
2288
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2289
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 55
2290
-  (0.3ms) ROLLBACK
2291
-  (0.1ms) BEGIN
2292
- ---------------------
2293
- TasksTest: test_build
2294
- ---------------------
2295
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2296
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2297
-  (0.3ms) ROLLBACK
2298
-  (0.1ms) BEGIN
2299
- -----------------------
2300
- TasksTest: test_rebuild
2301
- -----------------------
2302
- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2303
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2304
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2305
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2306
-  (0.2ms) ROLLBACK
2307
-  (0.1ms) BEGIN
2308
- --------------------------
2309
- GeneratorsTest: test_index
2310
- --------------------------
2311
-  (0.2ms) ROLLBACK
2312
-  (0.1ms) BEGIN
2313
- ----------------------------
2314
- GeneratorsTest: test_install
2315
- ----------------------------
2316
-  (0.2ms) ROLLBACK
2317
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2318
-  (0.2ms) BEGIN
2319
- --------------------
2320
- DslTest: test_search
2321
- --------------------
2322
-  (0.2ms) ROLLBACK
2323
-  (0.1ms) BEGIN
2324
- ----------------------
2325
- SearchTest: test_order
2326
- ----------------------
2327
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2328
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2329
-  (0.2ms) SAVEPOINT active_record_1
2330
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:41:43.497577"], ["updated_at", "2016-11-30 22:41:43.497577"]]
2331
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2332
-  (0.2ms) SAVEPOINT active_record_1
2333
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 61], ["created_at", "2016-11-30 22:41:43.533039"], ["updated_at", "2016-11-30 22:41:43.533039"]]
2334
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2335
-  (0.2ms) SAVEPOINT active_record_1
2336
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 61], ["created_at", "2016-11-30 22:41:43.551830"], ["updated_at", "2016-11-30 22:41:43.551830"]]
2337
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2338
-  (0.3ms) SAVEPOINT active_record_1
2339
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 61], ["created_at", "2016-11-30 22:41:43.564961"], ["updated_at", "2016-11-30 22:41:43.564961"]]
2340
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2341
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2342
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2343
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2344
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2345
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2346
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2347
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2348
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2349
-  (0.4ms) ROLLBACK
2350
-  (0.1ms) BEGIN
2351
- ---------------------------
2352
- SearchTest: test_pagination
2353
- ---------------------------
2354
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2355
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2356
-  (0.1ms) SAVEPOINT active_record_1
2357
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:41:45.666558"], ["updated_at", "2016-11-30 22:41:45.666558"]]
2358
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2359
-  (0.3ms) SAVEPOINT active_record_1
2360
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:41:45.672093"], ["updated_at", "2016-11-30 22:41:45.672093"]]
2361
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2362
-  (0.1ms) SAVEPOINT active_record_1
2363
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:41:45.677387"], ["updated_at", "2016-11-30 22:41:45.677387"]]
2364
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2365
-  (0.2ms) SAVEPOINT active_record_1
2366
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:41:45.682331"], ["updated_at", "2016-11-30 22:41:45.682331"]]
2367
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2368
-  (0.2ms) SAVEPOINT active_record_1
2369
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-11-30 22:41:45.689290"], ["updated_at", "2016-11-30 22:41:45.689290"]]
2370
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2371
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
2372
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2373
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2374
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
2375
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2376
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2377
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
2378
-  (0.3ms) ROLLBACK
2379
-  (0.1ms) BEGIN
2380
- ---------------------------------
2381
- SearchTest: test_with_and_without
2382
- ---------------------------------
2383
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2384
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2385
-  (0.1ms) SAVEPOINT active_record_1
2386
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-11-30 22:41:47.772942"], ["updated_at", "2016-11-30 22:41:47.772942"]]
2387
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2388
-  (0.2ms) SAVEPOINT active_record_1
2389
- SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-11-30 22:41:47.777938"], ["updated_at", "2016-11-30 22:41:47.777938"]]
2390
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2391
-  (0.1ms) SAVEPOINT active_record_1
2392
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-11-30 22:41:47.783389"], ["updated_at", "2016-11-30 22:41:47.783389"]]
2393
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2394
-  (0.2ms) SAVEPOINT active_record_1
2395
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-11-30 22:41:47.787988"], ["updated_at", "2016-11-30 22:41:47.787988"]]
2396
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2397
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
2398
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
2399
-  (0.3ms) ROLLBACK
2400
-  (0.1ms) BEGIN
2401
- -------------------------
2402
- SearchTest: test_includes
2403
- -------------------------
2404
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2405
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2406
-  (0.1ms) SAVEPOINT active_record_1
2407
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:41:49.843600"], ["updated_at", "2016-11-30 22:41:49.843600"]]
2408
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2409
-  (0.1ms) SAVEPOINT active_record_1
2410
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 62], ["created_at", "2016-11-30 22:41:49.846135"], ["updated_at", "2016-11-30 22:41:49.846135"]]
2411
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2412
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 56
2413
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (62)
2414
-  (0.3ms) ROLLBACK
2415
-  (0.2ms) BEGIN
2416
- -------------------------
2417
- IndexesTest: test_suggest
2418
- -------------------------
2419
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2420
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2421
-  (0.1ms) SAVEPOINT active_record_1
2422
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-30 22:41:51.914505"], ["updated_at", "2016-11-30 22:41:51.914505"]]
2423
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2424
-  (0.1ms) SAVEPOINT active_record_1
2425
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 63], ["created_at", "2016-11-30 22:41:51.916483"], ["updated_at", "2016-11-30 22:41:51.916483"]]
2426
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2427
-  (0.1ms) SAVEPOINT active_record_1
2428
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 63], ["created_at", "2016-11-30 22:41:51.923762"], ["updated_at", "2016-11-30 22:41:51.923762"]]
2429
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2430
-  (0.2ms) ROLLBACK
2431
-  (0.2ms) BEGIN
2432
- ---------------------------
2433
- IndexesTest: test_namespace
2434
- ---------------------------
2435
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2436
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2437
-  (0.3ms) ROLLBACK
2438
-  (0.1ms) BEGIN
2439
- -----------------------
2440
- IndexesTest: test_exist
2441
- -----------------------
2442
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2443
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2444
-  (0.4ms) ROLLBACK
2445
-  (0.2ms) BEGIN
2446
- ----------------------
2447
- IndexesTest: test_find
2448
- ----------------------
2449
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2450
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2451
-  (0.4ms) ROLLBACK
2452
-  (0.1ms) BEGIN
2453
- ----------------------------
2454
- GeneratorsTest: test_install
2455
- ----------------------------
2456
-  (0.2ms) ROLLBACK
2457
-  (0.1ms) BEGIN
2458
- --------------------------
2459
- GeneratorsTest: test_index
2460
- --------------------------
2461
-  (0.2ms) ROLLBACK
2462
-  (0.2ms) BEGIN
2463
- -------------------------
2464
- RecordTest: test_indexing
2465
- -------------------------
2466
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2467
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2468
-  (0.1ms) SAVEPOINT active_record_1
2469
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-11-30 22:41:54.147764"], ["updated_at", "2016-11-30 22:41:54.147764"]]
2470
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2471
-  (0.1ms) SAVEPOINT active_record_1
2472
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 64], ["created_at", "2016-11-30 22:41:54.150055"], ["updated_at", "2016-11-30 22:41:54.150055"]]
2473
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2474
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 59
2475
-  (0.1ms) SAVEPOINT active_record_1
2476
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 59]]
2477
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2478
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 59
2479
-  (0.3ms) ROLLBACK
2480
-  (0.1ms) BEGIN
2481
- -----------------------
2482
- TasksTest: test_rebuild
2483
- -----------------------
2484
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2485
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2486
-  (0.3ms) ROLLBACK
2487
-  (0.2ms) BEGIN
2488
- ---------------------
2489
- TasksTest: test_build
2490
- ---------------------
2491
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2492
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2493
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2494
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2495
-  (0.3ms) ROLLBACK
2496
- ActiveRecord::SchemaMigration Load (28.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2497
-  (1.2ms) BEGIN
2498
- --------------------
2499
- DslTest: test_search
2500
- --------------------
2501
-  (0.2ms) ROLLBACK
2502
-  (0.1ms) BEGIN
2503
- ---------------------------
2504
- DslTest: test_serialization
2505
- ---------------------------
2506
-  (0.1ms) ROLLBACK
2507
-  (0.1ms) BEGIN
2508
- -------------------------
2509
- RecordTest: test_indexing
2510
- -------------------------
2511
- Product Load (2.0ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2512
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2513
-  (0.2ms) SAVEPOINT active_record_1
2514
- SQL (7.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 17:59:43.183699"], ["updated_at", "2016-12-06 17:59:43.183699"]]
2515
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2516
-  (0.2ms) SAVEPOINT active_record_1
2517
- SQL (13.8ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 65], ["created_at", "2016-12-06 17:59:43.210265"], ["updated_at", "2016-12-06 17:59:43.210265"]]
2518
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2519
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 60
2520
-  (0.2ms) SAVEPOINT active_record_1
2521
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 60]]
2522
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2523
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = 60
2524
-  (0.8ms) ROLLBACK
2525
-  (0.1ms) BEGIN
2526
- -------------------------
2527
- SearchTest: test_includes
2528
- -------------------------
2529
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2530
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2531
-  (0.1ms) SAVEPOINT active_record_1
2532
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 17:59:45.559710"], ["updated_at", "2016-12-06 17:59:45.559710"]]
2533
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2534
-  (0.1ms) SAVEPOINT active_record_1
2535
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 66], ["created_at", "2016-12-06 17:59:45.561989"], ["updated_at", "2016-12-06 17:59:45.561989"]]
2536
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2537
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = 61
2538
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (66)
2539
-  (0.8ms) ROLLBACK
2540
-  (0.1ms) BEGIN
2541
- ---------------------------------
2542
- SearchTest: test_with_and_without
2543
- ---------------------------------
2544
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2545
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2546
-  (0.1ms) SAVEPOINT active_record_1
2547
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 17:59:47.672905"], ["updated_at", "2016-12-06 17:59:47.672905"]]
2548
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2549
-  (0.6ms) SAVEPOINT active_record_1
2550
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 17:59:47.682019"], ["updated_at", "2016-12-06 17:59:47.682019"]]
2551
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2552
-  (0.6ms) SAVEPOINT active_record_1
2553
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 17:59:47.688895"], ["updated_at", "2016-12-06 17:59:47.688895"]]
2554
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2555
-  (0.7ms) SAVEPOINT active_record_1
2556
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 17:59:47.696373"], ["updated_at", "2016-12-06 17:59:47.696373"]]
2557
-  (0.5ms) RELEASE SAVEPOINT active_record_1
2558
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
2559
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
2560
-  (0.9ms) ROLLBACK
2561
-  (0.1ms) BEGIN
2562
- ----------------------
2563
- SearchTest: test_order
2564
- ----------------------
2565
- Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2566
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2567
-  (0.2ms) SAVEPOINT active_record_1
2568
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 17:59:49.821040"], ["updated_at", "2016-12-06 17:59:49.821040"]]
2569
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2570
-  (0.5ms) SAVEPOINT active_record_1
2571
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 67], ["created_at", "2016-12-06 17:59:49.828411"], ["updated_at", "2016-12-06 17:59:49.828411"]]
2572
-  (0.4ms) RELEASE SAVEPOINT active_record_1
2573
-  (0.8ms) SAVEPOINT active_record_1
2574
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 67], ["created_at", "2016-12-06 17:59:49.838553"], ["updated_at", "2016-12-06 17:59:49.838553"]]
2575
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2576
-  (0.8ms) SAVEPOINT active_record_1
2577
- SQL (0.7ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 67], ["created_at", "2016-12-06 17:59:49.846241"], ["updated_at", "2016-12-06 17:59:49.846241"]]
2578
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2579
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2580
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2581
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2582
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2583
- Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2584
- Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2585
- Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2586
- Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2587
-  (0.8ms) ROLLBACK
2588
-  (0.2ms) BEGIN
2589
- ---------------------------
2590
- SearchTest: test_pagination
2591
- ---------------------------
2592
- Product Load (1.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2593
- Shop Load (1.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2594
-  (0.2ms) SAVEPOINT active_record_1
2595
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 17:59:52.523668"], ["updated_at", "2016-12-06 17:59:52.523668"]]
2596
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2597
-  (0.9ms) SAVEPOINT active_record_1
2598
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 17:59:52.531580"], ["updated_at", "2016-12-06 17:59:52.531580"]]
2599
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2600
-  (0.2ms) SAVEPOINT active_record_1
2601
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 17:59:52.539984"], ["updated_at", "2016-12-06 17:59:52.539984"]]
2602
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2603
-  (0.7ms) SAVEPOINT active_record_1
2604
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 17:59:52.547659"], ["updated_at", "2016-12-06 17:59:52.547659"]]
2605
-  (0.5ms) RELEASE SAVEPOINT active_record_1
2606
-  (0.6ms) SAVEPOINT active_record_1
2607
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 17:59:52.554737"], ["updated_at", "2016-12-06 17:59:52.554737"]]
2608
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2609
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
2610
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2611
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2612
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0
2613
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2614
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2615
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0
2616
-  (0.9ms) ROLLBACK
2617
-  (0.1ms) BEGIN
2618
- -------------------------
2619
- GeneratorTest: test_index
2620
- -------------------------
2621
-  (0.3ms) ROLLBACK
2622
-  (0.1ms) BEGIN
2623
- ---------------------------
2624
- GeneratorTest: test_install
2625
- ---------------------------
2626
-  (0.2ms) ROLLBACK
2627
-  (0.4ms) BEGIN
2628
- --------------------
2629
- IndexTest: test_find
2630
- --------------------
2631
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2632
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2633
-  (1.1ms) ROLLBACK
2634
-  (0.2ms) BEGIN
2635
- -------------------------
2636
- IndexTest: test_namespace
2637
- -------------------------
2638
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2639
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2640
-  (0.8ms) ROLLBACK
2641
-  (0.2ms) BEGIN
2642
- -----------------------
2643
- IndexTest: test_suggest
2644
- -----------------------
2645
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2646
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2647
-  (0.1ms) SAVEPOINT active_record_1
2648
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 17:59:54.874704"], ["updated_at", "2016-12-06 17:59:54.874704"]]
2649
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2650
-  (0.1ms) SAVEPOINT active_record_1
2651
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 68], ["created_at", "2016-12-06 17:59:54.876707"], ["updated_at", "2016-12-06 17:59:54.876707"]]
2652
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2653
-  (0.7ms) SAVEPOINT active_record_1
2654
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 68], ["created_at", "2016-12-06 17:59:54.907296"], ["updated_at", "2016-12-06 17:59:54.907296"]]
2655
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2656
-  (0.8ms) ROLLBACK
2657
-  (0.2ms) BEGIN
2658
- ---------------------
2659
- IndexTest: test_exist
2660
- ---------------------
2661
- Product Load (1.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2662
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2663
-  (0.7ms) ROLLBACK
2664
-  (0.2ms) BEGIN
2665
- --------------------
2666
- TaskTest: test_build
2667
- --------------------
2668
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2669
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2670
-  (1.5ms) ROLLBACK
2671
-  (0.1ms) BEGIN
2672
- ----------------------
2673
- TaskTest: test_rebuild
2674
- ----------------------
2675
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2676
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2677
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2678
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2679
-  (0.4ms) ROLLBACK
2680
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2681
-  (0.4ms) BEGIN
2682
- -------------------------
2683
- RecordTest: test_indexing
2684
- -------------------------
2685
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2686
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2687
-  (0.2ms) SAVEPOINT active_record_1
2688
- SQL (0.4ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 18:00:13.851176"], ["updated_at", "2016-12-06 18:00:13.851176"]]
2689
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2690
-  (0.2ms) SAVEPOINT active_record_1
2691
- SQL (0.3ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 69], ["created_at", "2016-12-06 18:00:13.869628"], ["updated_at", "2016-12-06 18:00:13.869628"]]
2692
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2693
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 64
2694
-  (0.1ms) SAVEPOINT active_record_1
2695
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 64]]
2696
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2697
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 64
2698
-  (0.8ms) ROLLBACK
2699
-  (0.1ms) BEGIN
2700
- --------------------
2701
- IndexTest: test_find
2702
- --------------------
2703
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2704
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2705
-  (1.0ms) ROLLBACK
2706
-  (0.1ms) BEGIN
2707
- -------------------------
2708
- IndexTest: test_namespace
2709
- -------------------------
2710
- Product Load (1.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2711
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2712
-  (1.0ms) ROLLBACK
2713
-  (0.1ms) BEGIN
2714
- -----------------------
2715
- IndexTest: test_suggest
2716
- -----------------------
2717
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2718
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2719
-  (0.1ms) SAVEPOINT active_record_1
2720
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 18:00:16.116927"], ["updated_at", "2016-12-06 18:00:16.116927"]]
2721
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2722
-  (0.1ms) SAVEPOINT active_record_1
2723
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 70], ["created_at", "2016-12-06 18:00:16.120066"], ["updated_at", "2016-12-06 18:00:16.120066"]]
2724
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2725
-  (0.6ms) SAVEPOINT active_record_1
2726
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 70], ["created_at", "2016-12-06 18:00:16.135184"], ["updated_at", "2016-12-06 18:00:16.135184"]]
2727
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2728
-  (0.8ms) ROLLBACK
2729
-  (0.2ms) BEGIN
2730
- ---------------------
2731
- IndexTest: test_exist
2732
- ---------------------
2733
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2734
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2735
-  (0.8ms) ROLLBACK
2736
-  (0.1ms) BEGIN
2737
- ---------------------------------
2738
- SearchTest: test_with_and_without
2739
- ---------------------------------
2740
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2741
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2742
-  (0.1ms) SAVEPOINT active_record_1
2743
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 18:00:18.280241"], ["updated_at", "2016-12-06 18:00:18.280241"]]
2744
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2745
-  (0.6ms) SAVEPOINT active_record_1
2746
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 18:00:18.287146"], ["updated_at", "2016-12-06 18:00:18.287146"]]
2747
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2748
-  (0.6ms) SAVEPOINT active_record_1
2749
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 18:00:18.293693"], ["updated_at", "2016-12-06 18:00:18.293693"]]
2750
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2751
-  (0.7ms) SAVEPOINT active_record_1
2752
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 18:00:18.300134"], ["updated_at", "2016-12-06 18:00:18.300134"]]
2753
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2754
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
2755
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
2756
-  (0.7ms) ROLLBACK
2757
-  (0.1ms) BEGIN
2758
- -------------------------
2759
- SearchTest: test_includes
2760
- -------------------------
2761
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2762
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2763
-  (0.2ms) SAVEPOINT active_record_1
2764
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 18:00:20.371014"], ["updated_at", "2016-12-06 18:00:20.371014"]]
2765
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2766
-  (0.1ms) SAVEPOINT active_record_1
2767
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 71], ["created_at", "2016-12-06 18:00:20.373345"], ["updated_at", "2016-12-06 18:00:20.373345"]]
2768
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2769
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 67
2770
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (71)
2771
-  (0.7ms) ROLLBACK
2772
-  (0.2ms) BEGIN
2773
- ----------------------
2774
- SearchTest: test_order
2775
- ----------------------
2776
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2777
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2778
-  (0.2ms) SAVEPOINT active_record_1
2779
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 18:00:22.449099"], ["updated_at", "2016-12-06 18:00:22.449099"]]
2780
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2781
-  (0.5ms) SAVEPOINT active_record_1
2782
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 72], ["created_at", "2016-12-06 18:00:22.456732"], ["updated_at", "2016-12-06 18:00:22.456732"]]
2783
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2784
-  (0.4ms) SAVEPOINT active_record_1
2785
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 72], ["created_at", "2016-12-06 18:00:22.467138"], ["updated_at", "2016-12-06 18:00:22.467138"]]
2786
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2787
-  (1.2ms) SAVEPOINT active_record_1
2788
- SQL (0.4ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 72], ["created_at", "2016-12-06 18:00:22.476947"], ["updated_at", "2016-12-06 18:00:22.476947"]]
2789
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2790
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2791
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2792
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2793
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2794
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2795
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2796
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2797
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2798
-  (0.9ms) ROLLBACK
2799
-  (0.1ms) BEGIN
2800
- ---------------------------
2801
- SearchTest: test_pagination
2802
- ---------------------------
2803
- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2804
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2805
-  (0.1ms) SAVEPOINT active_record_1
2806
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 18:00:24.596036"], ["updated_at", "2016-12-06 18:00:24.596036"]]
2807
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2808
-  (0.9ms) SAVEPOINT active_record_1
2809
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 18:00:24.602923"], ["updated_at", "2016-12-06 18:00:24.602923"]]
2810
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2811
-  (0.7ms) SAVEPOINT active_record_1
2812
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 18:00:24.613529"], ["updated_at", "2016-12-06 18:00:24.613529"]]
2813
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2814
-  (0.7ms) SAVEPOINT active_record_1
2815
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 18:00:24.620916"], ["updated_at", "2016-12-06 18:00:24.620916"]]
2816
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2817
-  (0.7ms) SAVEPOINT active_record_1
2818
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 18:00:24.628645"], ["updated_at", "2016-12-06 18:00:24.628645"]]
2819
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2820
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
2821
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2822
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2823
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE 1=0
2824
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2825
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2826
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE 1=0
2827
-  (0.4ms) ROLLBACK
2828
-  (0.1ms) BEGIN
2829
- ---------------------------
2830
- GeneratorTest: test_install
2831
- ---------------------------
2832
-  (0.2ms) ROLLBACK
2833
-  (0.1ms) BEGIN
2834
- -------------------------
2835
- GeneratorTest: test_index
2836
- -------------------------
2837
-  (0.3ms) ROLLBACK
2838
-  (0.1ms) BEGIN
2839
- ----------------------
2840
- TaskTest: test_rebuild
2841
- ----------------------
2842
- Product Load (1.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2843
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2844
-  (1.2ms) ROLLBACK
2845
-  (0.1ms) BEGIN
2846
- --------------------
2847
- TaskTest: test_build
2848
- --------------------
2849
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2850
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2851
- Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2852
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2853
-  (0.8ms) ROLLBACK
2854
-  (0.1ms) BEGIN
2855
- --------------------
2856
- DslTest: test_search
2857
- --------------------
2858
-  (0.2ms) ROLLBACK
2859
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2860
-  (0.2ms) BEGIN
2861
- ---------------------
2862
- IndexTest: test_exist
2863
- ---------------------
2864
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2865
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2866
-  (0.9ms) ROLLBACK
2867
-  (0.1ms) BEGIN
2868
- -------------------------
2869
- IndexTest: test_namespace
2870
- -------------------------
2871
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2872
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2873
-  (1.3ms) ROLLBACK
2874
-  (0.1ms) BEGIN
2875
- -----------------------
2876
- IndexTest: test_suggest
2877
- -----------------------
2878
- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2879
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2880
-  (0.2ms) SAVEPOINT active_record_1
2881
- SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 19:27:46.879085"], ["updated_at", "2016-12-06 19:27:46.879085"]]
2882
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2883
-  (0.3ms) SAVEPOINT active_record_1
2884
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 73], ["created_at", "2016-12-06 19:27:46.905059"], ["updated_at", "2016-12-06 19:27:46.905059"]]
2885
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2886
-  (1.3ms) SAVEPOINT active_record_1
2887
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 73], ["created_at", "2016-12-06 19:27:46.931520"], ["updated_at", "2016-12-06 19:27:46.931520"]]
2888
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2889
-  (0.8ms) ROLLBACK
2890
-  (0.1ms) BEGIN
2891
- --------------------
2892
- IndexTest: test_find
2893
- --------------------
2894
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2895
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2896
-  (1.0ms) ROLLBACK
2897
-  (0.1ms) BEGIN
2898
- --------------------
2899
- TaskTest: test_build
2900
- --------------------
2901
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2902
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2903
-  (0.7ms) ROLLBACK
2904
-  (0.1ms) BEGIN
2905
- ----------------------
2906
- TaskTest: test_rebuild
2907
- ----------------------
2908
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2909
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2910
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2911
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2912
-  (0.8ms) ROLLBACK
2913
-  (0.1ms) BEGIN
2914
- -------------------------
2915
- RecordTest: test_indexing
2916
- -------------------------
2917
- Product Load (1.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2918
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2919
-  (0.2ms) SAVEPOINT active_record_1
2920
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 19:27:49.276733"], ["updated_at", "2016-12-06 19:27:49.276733"]]
2921
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2922
-  (0.2ms) SAVEPOINT active_record_1
2923
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 74], ["created_at", "2016-12-06 19:27:49.280288"], ["updated_at", "2016-12-06 19:27:49.280288"]]
2924
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2925
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 70
2926
-  (0.1ms) SAVEPOINT active_record_1
2927
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 70]]
2928
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2929
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 70
2930
-  (0.7ms) ROLLBACK
2931
-  (0.1ms) BEGIN
2932
- --------------------
2933
- DslTest: test_search
2934
- --------------------
2935
-  (0.2ms) ROLLBACK
2936
-  (0.2ms) BEGIN
2937
- ----------------------
2938
- SearchTest: test_order
2939
- ----------------------
2940
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2941
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2942
-  (0.2ms) SAVEPOINT active_record_1
2943
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 19:27:51.413862"], ["updated_at", "2016-12-06 19:27:51.413862"]]
2944
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2945
-  (0.2ms) SAVEPOINT active_record_1
2946
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 75], ["created_at", "2016-12-06 19:27:51.421186"], ["updated_at", "2016-12-06 19:27:51.421186"]]
2947
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2948
-  (0.8ms) SAVEPOINT active_record_1
2949
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 75], ["created_at", "2016-12-06 19:27:51.433132"], ["updated_at", "2016-12-06 19:27:51.433132"]]
2950
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2951
-  (0.7ms) SAVEPOINT active_record_1
2952
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 75], ["created_at", "2016-12-06 19:27:51.440232"], ["updated_at", "2016-12-06 19:27:51.440232"]]
2953
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2954
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2955
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2956
- Product Load (0.9ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2957
- Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2958
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
2959
- Product Load (1.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2960
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2961
- Product Load (0.9ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
2962
-  (1.2ms) ROLLBACK
2963
-  (0.2ms) BEGIN
2964
- ---------------------------
2965
- SearchTest: test_pagination
2966
- ---------------------------
2967
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2968
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2969
-  (0.1ms) SAVEPOINT active_record_1
2970
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 19:27:53.564283"], ["updated_at", "2016-12-06 19:27:53.564283"]]
2971
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2972
-  (0.9ms) SAVEPOINT active_record_1
2973
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 19:27:53.570865"], ["updated_at", "2016-12-06 19:27:53.570865"]]
2974
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2975
-  (0.7ms) SAVEPOINT active_record_1
2976
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 19:27:53.577753"], ["updated_at", "2016-12-06 19:27:53.577753"]]
2977
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2978
-  (0.7ms) SAVEPOINT active_record_1
2979
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 19:27:53.583619"], ["updated_at", "2016-12-06 19:27:53.583619"]]
2980
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2981
-  (1.1ms) SAVEPOINT active_record_1
2982
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 19:27:53.589591"], ["updated_at", "2016-12-06 19:27:53.589591"]]
2983
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2984
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
2985
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2986
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2987
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE 1=0
2988
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
2989
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
2990
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" WHERE 1=0
2991
-  (0.8ms) ROLLBACK
2992
-  (0.1ms) BEGIN
2993
- -------------------------
2994
- SearchTest: test_includes
2995
- -------------------------
2996
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
2997
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
2998
-  (0.1ms) SAVEPOINT active_record_1
2999
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 19:27:55.684403"], ["updated_at", "2016-12-06 19:27:55.684403"]]
3000
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3001
-  (0.1ms) SAVEPOINT active_record_1
3002
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 76], ["created_at", "2016-12-06 19:27:55.686508"], ["updated_at", "2016-12-06 19:27:55.686508"]]
3003
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3004
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 71
3005
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (76)
3006
-  (3.5ms) ROLLBACK
3007
-  (0.1ms) BEGIN
3008
- ---------------------------------
3009
- SearchTest: test_with_and_without
3010
- ---------------------------------
3011
- Product Load (1.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3012
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3013
-  (0.2ms) SAVEPOINT active_record_1
3014
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 19:27:57.820861"], ["updated_at", "2016-12-06 19:27:57.820861"]]
3015
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3016
-  (0.6ms) SAVEPOINT active_record_1
3017
- SQL (0.5ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 19:27:57.826613"], ["updated_at", "2016-12-06 19:27:57.826613"]]
3018
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3019
-  (0.8ms) SAVEPOINT active_record_1
3020
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 19:27:57.833723"], ["updated_at", "2016-12-06 19:27:57.833723"]]
3021
-  (0.3ms) RELEASE SAVEPOINT active_record_1
3022
-  (0.8ms) SAVEPOINT active_record_1
3023
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 19:27:57.842631"], ["updated_at", "2016-12-06 19:27:57.842631"]]
3024
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3025
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
3026
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
3027
-  (0.8ms) ROLLBACK
3028
-  (0.1ms) BEGIN
3029
- -------------------------
3030
- GeneratorTest: test_index
3031
- -------------------------
3032
-  (0.3ms) ROLLBACK
3033
-  (0.1ms) BEGIN
3034
- ---------------------------
3035
- GeneratorTest: test_install
3036
- ---------------------------
3037
-  (0.3ms) ROLLBACK
3038
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3039
-  (0.2ms) BEGIN
3040
- --------------------
3041
- DslTest: test_search
3042
- --------------------
3043
-  (0.2ms) ROLLBACK
3044
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3045
-  (0.2ms) BEGIN
3046
- --------------------
3047
- DslTest: test_search
3048
- --------------------
3049
-  (0.2ms) ROLLBACK
3050
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3051
-  (0.2ms) BEGIN
3052
- --------------------
3053
- DslTest: test_search
3054
- --------------------
3055
-  (0.2ms) ROLLBACK
3056
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3057
-  (0.2ms) BEGIN
3058
- --------------------
3059
- DslTest: test_search
3060
- --------------------
3061
-  (0.2ms) ROLLBACK
3062
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3063
-  (0.2ms) BEGIN
3064
- --------------------
3065
- DslTest: test_search
3066
- --------------------
3067
-  (0.1ms) SAVEPOINT active_record_1
3068
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 19:40:02.432362"], ["updated_at", "2016-12-06 19:40:02.432362"]]
3069
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3070
-  (0.2ms) ROLLBACK
3071
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3072
-  (0.2ms) BEGIN
3073
- --------------------
3074
- DslTest: test_search
3075
- --------------------
3076
-  (0.2ms) SAVEPOINT active_record_1
3077
- SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:08:43.637049"], ["updated_at", "2016-12-06 20:08:43.637049"]]
3078
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3079
-  (0.3ms) ROLLBACK
3080
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
3081
-  (0.2ms) BEGIN
3082
- --------------------
3083
- DslTest: test_search
3084
- --------------------
3085
-  (0.2ms) SAVEPOINT active_record_1
3086
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:12:00.041115"], ["updated_at", "2016-12-06 20:12:00.041115"]]
3087
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3088
-  (0.2ms) ROLLBACK
3089
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3090
-  (0.2ms) BEGIN
3091
- --------------------
3092
- DslTest: test_search
3093
- --------------------
3094
-  (0.1ms) SAVEPOINT active_record_1
3095
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:12:22.204804"], ["updated_at", "2016-12-06 20:12:22.204804"]]
3096
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3097
-  (0.2ms) ROLLBACK
3098
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3099
-  (0.2ms) BEGIN
3100
- -------------------------
3101
- SearchTest: test_includes
3102
- -------------------------
3103
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3104
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3105
-  (0.2ms) SAVEPOINT active_record_1
3106
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:13:26.327348"], ["updated_at", "2016-12-06 20:13:26.327348"]]
3107
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3108
-  (0.2ms) SAVEPOINT active_record_1
3109
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 81], ["created_at", "2016-12-06 20:13:26.346145"], ["updated_at", "2016-12-06 20:13:26.346145"]]
3110
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3111
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 72
3112
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (81)
3113
-  (0.7ms) ROLLBACK
3114
-  (0.1ms) BEGIN
3115
- ---------------------------
3116
- SearchTest: test_pagination
3117
- ---------------------------
3118
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3119
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3120
-  (0.1ms) SAVEPOINT active_record_1
3121
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 20:13:28.452250"], ["updated_at", "2016-12-06 20:13:28.452250"]]
3122
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3123
-  (0.6ms) SAVEPOINT active_record_1
3124
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 20:13:28.459078"], ["updated_at", "2016-12-06 20:13:28.459078"]]
3125
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3126
-  (0.6ms) SAVEPOINT active_record_1
3127
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 20:13:28.465591"], ["updated_at", "2016-12-06 20:13:28.465591"]]
3128
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3129
-  (0.5ms) SAVEPOINT active_record_1
3130
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 20:13:28.472170"], ["updated_at", "2016-12-06 20:13:28.472170"]]
3131
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3132
-  (0.6ms) SAVEPOINT active_record_1
3133
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 20:13:28.477111"], ["updated_at", "2016-12-06 20:13:28.477111"]]
3134
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3135
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
3136
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
3137
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
3138
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0
3139
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
3140
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
3141
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0
3142
-  (0.9ms) ROLLBACK
3143
-  (0.1ms) BEGIN
3144
- ---------------------------------
3145
- SearchTest: test_with_and_without
3146
- ---------------------------------
3147
- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3148
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3149
-  (0.1ms) SAVEPOINT active_record_1
3150
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 20:13:30.587625"], ["updated_at", "2016-12-06 20:13:30.587625"]]
3151
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3152
-  (0.6ms) SAVEPOINT active_record_1
3153
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 20:13:30.595360"], ["updated_at", "2016-12-06 20:13:30.595360"]]
3154
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3155
-  (0.6ms) SAVEPOINT active_record_1
3156
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 20:13:30.601854"], ["updated_at", "2016-12-06 20:13:30.601854"]]
3157
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3158
-  (0.8ms) SAVEPOINT active_record_1
3159
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 20:13:30.609282"], ["updated_at", "2016-12-06 20:13:30.609282"]]
3160
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3161
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
3162
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
3163
-  (0.7ms) ROLLBACK
3164
-  (0.1ms) BEGIN
3165
- ----------------------
3166
- SearchTest: test_order
3167
- ----------------------
3168
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3169
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3170
-  (0.1ms) SAVEPOINT active_record_1
3171
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:13:32.681273"], ["updated_at", "2016-12-06 20:13:32.681273"]]
3172
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3173
-  (0.5ms) SAVEPOINT active_record_1
3174
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 82], ["created_at", "2016-12-06 20:13:32.687492"], ["updated_at", "2016-12-06 20:13:32.687492"]]
3175
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3176
-  (0.7ms) SAVEPOINT active_record_1
3177
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 82], ["created_at", "2016-12-06 20:13:32.695721"], ["updated_at", "2016-12-06 20:13:32.695721"]]
3178
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3179
-  (0.7ms) SAVEPOINT active_record_1
3180
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 82], ["created_at", "2016-12-06 20:13:32.702456"], ["updated_at", "2016-12-06 20:13:32.702456"]]
3181
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3182
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3183
- Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3184
- Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3185
- Product Load (1.1ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3186
- Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3187
- Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3188
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3189
- Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3190
-  (1.3ms) ROLLBACK
3191
-  (0.2ms) BEGIN
3192
- ---------------------
3193
- IndexTest: test_exist
3194
- ---------------------
3195
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3196
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3197
-  (0.3ms) ROLLBACK
3198
-  (0.1ms) BEGIN
3199
- -------------------------
3200
- IndexTest: test_namespace
3201
- -------------------------
3202
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3203
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3204
-  (0.7ms) ROLLBACK
3205
-  (0.1ms) BEGIN
3206
- -----------------------
3207
- IndexTest: test_suggest
3208
- -----------------------
3209
- Product Load (1.0ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3210
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3211
-  (0.1ms) SAVEPOINT active_record_1
3212
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:13:34.933104"], ["updated_at", "2016-12-06 20:13:34.933104"]]
3213
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3214
-  (0.1ms) SAVEPOINT active_record_1
3215
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 83], ["created_at", "2016-12-06 20:13:34.937076"], ["updated_at", "2016-12-06 20:13:34.937076"]]
3216
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3217
-  (1.1ms) SAVEPOINT active_record_1
3218
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 83], ["created_at", "2016-12-06 20:13:34.947047"], ["updated_at", "2016-12-06 20:13:34.947047"]]
3219
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3220
-  (0.6ms) ROLLBACK
3221
-  (0.1ms) BEGIN
3222
- --------------------
3223
- IndexTest: test_find
3224
- --------------------
3225
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3226
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3227
-  (1.1ms) ROLLBACK
3228
-  (0.1ms) BEGIN
3229
- --------------------
3230
- DslTest: test_search
3231
- --------------------
3232
-  (0.2ms) SAVEPOINT active_record_1
3233
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:13:37.037672"], ["updated_at", "2016-12-06 20:13:37.037672"]]
3234
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3235
-  (0.3ms) ROLLBACK
3236
-  (0.2ms) BEGIN
3237
- ---------------------------
3238
- GeneratorTest: test_install
3239
- ---------------------------
3240
-  (0.6ms) ROLLBACK
3241
-  (0.1ms) BEGIN
3242
- -------------------------
3243
- GeneratorTest: test_index
3244
- -------------------------
3245
-  (0.3ms) ROLLBACK
3246
-  (0.1ms) BEGIN
3247
- -------------------------
3248
- RecordTest: test_indexing
3249
- -------------------------
3250
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3251
- Shop Load (1.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3252
-  (0.1ms) SAVEPOINT active_record_1
3253
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 20:13:37.144627"], ["updated_at", "2016-12-06 20:13:37.144627"]]
3254
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3255
-  (0.2ms) SAVEPOINT active_record_1
3256
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 85], ["created_at", "2016-12-06 20:13:37.147709"], ["updated_at", "2016-12-06 20:13:37.147709"]]
3257
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3258
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 75
3259
-  (0.2ms) SAVEPOINT active_record_1
3260
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 75]]
3261
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3262
- Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" = 75
3263
-  (1.2ms) ROLLBACK
3264
-  (0.1ms) BEGIN
3265
- ----------------------
3266
- TaskTest: test_rebuild
3267
- ----------------------
3268
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3269
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3270
-  (0.8ms) ROLLBACK
3271
-  (0.1ms) BEGIN
3272
- --------------------
3273
- TaskTest: test_build
3274
- --------------------
3275
- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3276
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3277
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3278
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3279
-  (1.0ms) ROLLBACK
3280
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3281
-  (0.3ms) BEGIN
3282
- -------------------------
3283
- RecordTest: test_indexing
3284
- -------------------------
3285
- Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3286
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3287
-  (0.1ms) SAVEPOINT active_record_1
3288
- SQL (0.5ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-06 20:14:09.083496"], ["updated_at", "2016-12-06 20:14:09.083496"]]
3289
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3290
-  (0.3ms) SAVEPOINT active_record_1
3291
- SQL (0.4ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 86], ["created_at", "2016-12-06 20:14:09.103778"], ["updated_at", "2016-12-06 20:14:09.103778"]]
3292
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3293
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 76
3294
-  (0.1ms) SAVEPOINT active_record_1
3295
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 76]]
3296
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3297
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE 1=0
3298
-  (0.8ms) ROLLBACK
3299
-  (0.2ms) BEGIN
3300
- -------------------------
3301
- IndexTest: test_namespace
3302
- -------------------------
3303
- Product Load (1.0ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3304
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3305
-  (0.8ms) ROLLBACK
3306
-  (0.1ms) BEGIN
3307
- ---------------------
3308
- IndexTest: test_exist
3309
- ---------------------
3310
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3311
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3312
-  (0.8ms) ROLLBACK
3313
-  (0.2ms) BEGIN
3314
- -----------------------
3315
- IndexTest: test_suggest
3316
- -----------------------
3317
- Product Load (1.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3318
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3319
-  (0.1ms) SAVEPOINT active_record_1
3320
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:14:11.309005"], ["updated_at", "2016-12-06 20:14:11.309005"]]
3321
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3322
-  (0.1ms) SAVEPOINT active_record_1
3323
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 87], ["created_at", "2016-12-06 20:14:11.311450"], ["updated_at", "2016-12-06 20:14:11.311450"]]
3324
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3325
-  (0.8ms) SAVEPOINT active_record_1
3326
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 87], ["created_at", "2016-12-06 20:14:11.326517"], ["updated_at", "2016-12-06 20:14:11.326517"]]
3327
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3328
-  (1.1ms) ROLLBACK
3329
-  (0.2ms) BEGIN
3330
- --------------------
3331
- IndexTest: test_find
3332
- --------------------
3333
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3334
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3335
-  (0.9ms) ROLLBACK
3336
-  (0.2ms) BEGIN
3337
- --------------------
3338
- DslTest: test_search
3339
- --------------------
3340
-  (0.2ms) SAVEPOINT active_record_1
3341
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:14:13.414095"], ["updated_at", "2016-12-06 20:14:13.414095"]]
3342
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3343
-  (0.2ms) ROLLBACK
3344
-  (0.2ms) BEGIN
3345
- ---------------------------
3346
- GeneratorTest: test_install
3347
- ---------------------------
3348
-  (0.2ms) ROLLBACK
3349
-  (0.1ms) BEGIN
3350
- -------------------------
3351
- GeneratorTest: test_index
3352
- -------------------------
3353
-  (0.2ms) ROLLBACK
3354
-  (0.1ms) BEGIN
3355
- --------------------
3356
- TaskTest: test_build
3357
- --------------------
3358
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3359
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3360
-  (0.9ms) ROLLBACK
3361
-  (0.1ms) BEGIN
3362
- ----------------------
3363
- TaskTest: test_rebuild
3364
- ----------------------
3365
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3366
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3367
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3368
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3369
-  (0.7ms) ROLLBACK
3370
-  (0.2ms) BEGIN
3371
- -------------------------
3372
- SearchTest: test_includes
3373
- -------------------------
3374
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3375
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3376
-  (0.1ms) SAVEPOINT active_record_1
3377
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:14:13.649167"], ["updated_at", "2016-12-06 20:14:13.649167"]]
3378
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3379
-  (0.1ms) SAVEPOINT active_record_1
3380
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 89], ["created_at", "2016-12-06 20:14:13.651999"], ["updated_at", "2016-12-06 20:14:13.651999"]]
3381
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3382
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 79
3383
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (89)
3384
-  (0.7ms) ROLLBACK
3385
-  (0.1ms) BEGIN
3386
- ----------------------
3387
- SearchTest: test_order
3388
- ----------------------
3389
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3390
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3391
-  (0.1ms) SAVEPOINT active_record_1
3392
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-06 20:14:15.725907"], ["updated_at", "2016-12-06 20:14:15.725907"]]
3393
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3394
-  (0.1ms) SAVEPOINT active_record_1
3395
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 90], ["created_at", "2016-12-06 20:14:15.732707"], ["updated_at", "2016-12-06 20:14:15.732707"]]
3396
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3397
-  (0.7ms) SAVEPOINT active_record_1
3398
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 90], ["created_at", "2016-12-06 20:14:15.741038"], ["updated_at", "2016-12-06 20:14:15.741038"]]
3399
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3400
-  (0.4ms) SAVEPOINT active_record_1
3401
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 90], ["created_at", "2016-12-06 20:14:15.748103"], ["updated_at", "2016-12-06 20:14:15.748103"]]
3402
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3403
- Product Load (0.9ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3404
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3405
- Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3406
- Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3407
- Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3408
- Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3409
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3410
- Product Load (0.8ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3411
-  (0.8ms) ROLLBACK
3412
-  (0.2ms) BEGIN
3413
- ---------------------------
3414
- SearchTest: test_pagination
3415
- ---------------------------
3416
- Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3417
- Shop Load (0.8ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3418
-  (0.1ms) SAVEPOINT active_record_1
3419
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 20:14:17.970975"], ["updated_at", "2016-12-06 20:14:17.970975"]]
3420
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3421
-  (1.1ms) SAVEPOINT active_record_1
3422
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 20:14:18.088410"], ["updated_at", "2016-12-06 20:14:18.088410"]]
3423
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3424
-  (0.8ms) SAVEPOINT active_record_1
3425
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 20:14:18.233350"], ["updated_at", "2016-12-06 20:14:18.233350"]]
3426
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3427
-  (0.6ms) SAVEPOINT active_record_1
3428
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 20:14:18.459860"], ["updated_at", "2016-12-06 20:14:18.459860"]]
3429
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3430
-  (0.8ms) SAVEPOINT active_record_1
3431
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-06 20:14:18.465707"], ["updated_at", "2016-12-06 20:14:18.465707"]]
3432
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3433
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
3434
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
3435
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
3436
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0
3437
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
3438
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
3439
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE 1=0
3440
-  (0.8ms) ROLLBACK
3441
-  (0.1ms) BEGIN
3442
- ---------------------------------
3443
- SearchTest: test_with_and_without
3444
- ---------------------------------
3445
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3446
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3447
-  (0.1ms) SAVEPOINT active_record_1
3448
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-06 20:14:20.560263"], ["updated_at", "2016-12-06 20:14:20.560263"]]
3449
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3450
-  (0.8ms) SAVEPOINT active_record_1
3451
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-06 20:14:20.566426"], ["updated_at", "2016-12-06 20:14:20.566426"]]
3452
-  (0.3ms) RELEASE SAVEPOINT active_record_1
3453
-  (0.8ms) SAVEPOINT active_record_1
3454
- SQL (0.3ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-06 20:14:20.573356"], ["updated_at", "2016-12-06 20:14:20.573356"]]
3455
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3456
-  (0.9ms) SAVEPOINT active_record_1
3457
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-06 20:14:20.580665"], ["updated_at", "2016-12-06 20:14:20.580665"]]
3458
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3459
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
3460
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
3461
-  (0.8ms) ROLLBACK
3462
- ActiveRecord::SchemaMigration Load (12.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3463
-  (0.2ms) BEGIN
3464
- --------------------
3465
- IndexTest: test_find
3466
- --------------------
3467
- Product Load (1.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3468
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3469
-  (0.3ms) ROLLBACK
3470
-  (0.1ms) BEGIN
3471
- ---------------------
3472
- IndexTest: test_exist
3473
- ---------------------
3474
- Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3475
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3476
-  (0.3ms) ROLLBACK
3477
-  (0.1ms) BEGIN
3478
- -------------------------
3479
- IndexTest: test_namespace
3480
- -------------------------
3481
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3482
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3483
-  (0.3ms) ROLLBACK
3484
-  (0.1ms) BEGIN
3485
- -----------------------
3486
- IndexTest: test_suggest
3487
- -----------------------
3488
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3489
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3490
-  (0.2ms) SAVEPOINT active_record_1
3491
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:17:51.865747"], ["updated_at", "2016-12-08 07:17:51.865747"]]
3492
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3493
-  (0.3ms) SAVEPOINT active_record_1
3494
- SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["shop_id", 91], ["created_at", "2016-12-08 07:17:51.884909"], ["updated_at", "2016-12-08 07:17:51.884909"]]
3495
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3496
-  (0.2ms) SAVEPOINT active_record_1
3497
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Stratocaster"], ["shop_id", 91], ["created_at", "2016-12-08 07:17:51.908797"], ["updated_at", "2016-12-08 07:17:51.908797"]]
3498
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3499
-  (0.4ms) ROLLBACK
3500
-  (0.1ms) BEGIN
3501
- ----------------------
3502
- SearchTest: test_order
3503
- ----------------------
3504
- Product Load (2.0ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3505
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3506
-  (0.1ms) SAVEPOINT active_record_1
3507
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:17:53.970899"], ["updated_at", "2016-12-08 07:17:53.970899"]]
3508
-  (0.3ms) RELEASE SAVEPOINT active_record_1
3509
-  (0.1ms) SAVEPOINT active_record_1
3510
- SQL (0.2ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 1], ["name", "1"], ["price", 1], ["position", 1], ["currency", "UYU"], ["shop_id", 92], ["created_at", "2016-12-08 07:17:53.977620"], ["updated_at", "2016-12-08 07:17:53.977620"]]
3511
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3512
-  (0.3ms) SAVEPOINT active_record_1
3513
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 2], ["name", "2"], ["price", 2], ["position", 2], ["currency", "UYU"], ["shop_id", 92], ["created_at", "2016-12-08 07:17:53.985363"], ["updated_at", "2016-12-08 07:17:53.985363"]]
3514
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3515
-  (0.5ms) SAVEPOINT active_record_1
3516
- SQL (0.3ms) INSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["id", 3], ["name", "3"], ["price", 3], ["position", 3], ["currency", "UYU"], ["shop_id", 92], ["created_at", "2016-12-08 07:17:54.000285"], ["updated_at", "2016-12-08 07:17:54.000285"]]
3517
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3518
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3519
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3520
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3521
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3522
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
3523
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3524
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3525
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
3526
-  (0.3ms) ROLLBACK
3527
-  (0.2ms) BEGIN
3528
- ---------------------------------
3529
- SearchTest: test_with_and_without
3530
- ---------------------------------
3531
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3532
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3533
-  (0.1ms) SAVEPOINT active_record_1
3534
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-08 07:17:56.109461"], ["updated_at", "2016-12-08 07:17:56.109461"]]
3535
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3536
-  (0.2ms) SAVEPOINT active_record_1
3537
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-08 07:17:56.114552"], ["updated_at", "2016-12-08 07:17:56.114552"]]
3538
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3539
-  (0.2ms) SAVEPOINT active_record_1
3540
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-08 07:17:56.119549"], ["updated_at", "2016-12-08 07:17:56.119549"]]
3541
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3542
-  (0.2ms) SAVEPOINT active_record_1
3543
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-08 07:17:56.124166"], ["updated_at", "2016-12-08 07:17:56.124166"]]
3544
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3545
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
3546
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
3547
-  (0.3ms) ROLLBACK
3548
-  (0.1ms) BEGIN
3549
- -------------------------
3550
- SearchTest: test_includes
3551
- -------------------------
3552
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3553
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3554
-  (0.1ms) SAVEPOINT active_record_1
3555
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:17:58.186957"], ["updated_at", "2016-12-08 07:17:58.186957"]]
3556
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3557
-  (0.1ms) SAVEPOINT active_record_1
3558
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Test"], ["shop_id", 93], ["created_at", "2016-12-08 07:17:58.189261"], ["updated_at", "2016-12-08 07:17:58.189261"]]
3559
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3560
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 82
3561
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (93)
3562
-  (0.3ms) ROLLBACK
3563
-  (0.1ms) BEGIN
3564
- ---------------------------
3565
- SearchTest: test_pagination
3566
- ---------------------------
3567
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3568
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3569
-  (0.2ms) SAVEPOINT active_record_1
3570
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 1], ["created_at", "2016-12-08 07:18:00.260816"], ["updated_at", "2016-12-08 07:18:00.260816"]]
3571
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3572
-  (0.2ms) SAVEPOINT active_record_1
3573
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 2], ["created_at", "2016-12-08 07:18:00.266911"], ["updated_at", "2016-12-08 07:18:00.266911"]]
3574
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3575
-  (0.3ms) SAVEPOINT active_record_1
3576
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 3], ["created_at", "2016-12-08 07:18:00.273222"], ["updated_at", "2016-12-08 07:18:00.273222"]]
3577
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3578
-  (0.2ms) SAVEPOINT active_record_1
3579
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 4], ["created_at", "2016-12-08 07:18:00.279674"], ["updated_at", "2016-12-08 07:18:00.279674"]]
3580
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3581
-  (0.2ms) SAVEPOINT active_record_1
3582
- SQL (0.2ms) INSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["id", 5], ["created_at", "2016-12-08 07:18:00.284510"], ["updated_at", "2016-12-08 07:18:00.284510"]]
3583
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3584
- Shop Load (0.7ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
3585
- Shop Load (0.5ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
3586
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
3587
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0
3588
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
3589
- Shop Load (0.9ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
3590
- Shop Load (0.4ms) SELECT "shops".* FROM "shops" WHERE 1=0
3591
-  (0.4ms) ROLLBACK
3592
-  (0.2ms) BEGIN
3593
- -------------------------
3594
- RecordTest: test_indexing
3595
- -------------------------
3596
- Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3597
- Shop Load (0.6ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3598
-  (0.2ms) SAVEPOINT active_record_1
3599
- SQL (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Anderstons"], ["created_at", "2016-12-08 07:18:02.422517"], ["updated_at", "2016-12-08 07:18:02.422517"]]
3600
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3601
-  (0.1ms) SAVEPOINT active_record_1
3602
- SQL (0.2ms) INSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Les Paul"], ["category", "Gibson"], ["shop_id", 94], ["created_at", "2016-12-08 07:18:02.425929"], ["updated_at", "2016-12-08 07:18:02.425929"]]
3603
-  (0.2ms) RELEASE SAVEPOINT active_record_1
3604
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 83
3605
-  (0.1ms) SAVEPOINT active_record_1
3606
- SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 83]]
3607
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3608
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 83
3609
-  (0.4ms) ROLLBACK
3610
-  (0.2ms) BEGIN
3611
- --------------------
3612
- DslTest: test_search
3613
- --------------------
3614
-  (0.1ms) SAVEPOINT active_record_1
3615
- SQL (0.2ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-08 07:18:04.468747"], ["updated_at", "2016-12-08 07:18:04.468747"]]
3616
-  (0.1ms) RELEASE SAVEPOINT active_record_1
3617
-  (0.2ms) ROLLBACK
3618
-  (0.1ms) BEGIN
3619
- ---------------------------
3620
- GeneratorTest: test_install
3621
- ---------------------------
3622
-  (0.1ms) ROLLBACK
3623
-  (0.1ms) BEGIN
3624
- -------------------------
3625
- GeneratorTest: test_index
3626
- -------------------------
3627
-  (0.2ms) ROLLBACK
3628
-  (0.1ms) BEGIN
3629
- --------------------
3630
- TaskTest: test_build
3631
- --------------------
3632
- Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3633
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3634
-  (0.4ms) ROLLBACK
3635
-  (0.1ms) BEGIN
3636
- ----------------------
3637
- TaskTest: test_rebuild
3638
- ----------------------
3639
- Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3640
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3641
- Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
3642
- Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
3643
-  (0.3ms) ROLLBACK