indexes 4.0.0.2 → 4.0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- metadata +11 -198
- data/MIT-LICENSE +0 -20
- data/README.md +0 -265
- data/Rakefile +0 -19
- data/lib/generators/index/index_generator.rb +0 -15
- data/lib/generators/index/templates/index.rb +0 -12
- data/lib/generators/indexes/install/install_generator.rb +0 -15
- data/lib/generators/indexes/install/templates/initializer.rb +0 -10
- data/lib/indexes.rb +0 -85
- data/lib/indexes/collection.rb +0 -186
- data/lib/indexes/concern.rb +0 -23
- data/lib/indexes/configuration.rb +0 -39
- data/lib/indexes/definitions.rb +0 -24
- data/lib/indexes/dsl/api.rb +0 -90
- data/lib/indexes/dsl/mappings.rb +0 -14
- data/lib/indexes/dsl/search.rb +0 -27
- data/lib/indexes/dsl/serialization.rb +0 -17
- data/lib/indexes/index.rb +0 -147
- data/lib/indexes/pagination.rb +0 -33
- data/lib/indexes/proxy.rb +0 -17
- data/lib/indexes/railtie.rb +0 -15
- data/lib/indexes/version.rb +0 -5
- data/lib/tasks/indexes.rake +0 -11
- data/test/dsl_test.rb +0 -128
- data/test/dummy/Rakefile +0 -5
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/indexes/products_index.rb +0 -51
- data/test/dummy/app/indexes/shops_index.rb +0 -28
- data/test/dummy/app/models/product.rb +0 -5
- data/test/dummy/app/models/shop.rb +0 -5
- data/test/dummy/app/views/layouts/application.html.erb +0 -12
- data/test/dummy/bin/bundle +0 -4
- data/test/dummy/bin/rails +0 -5
- data/test/dummy/bin/rake +0 -5
- data/test/dummy/bin/setup +0 -30
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -25
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -7
- data/test/dummy/config/database.yml.travis +0 -3
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -41
- data/test/dummy/config/environments/production.rb +0 -79
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/indexes.rb +0 -67
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -56
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/db/migrate/20161104164148_create_products.rb +0 -14
- data/test/dummy/db/migrate/20161104182219_create_shops.rb +0 -9
- data/test/dummy/db/schema.rb +0 -36
- data/test/dummy/log/development.log +0 -38
- data/test/dummy/log/test.log +0 -3643
- data/test/dummy/public/404.html +0 -61
- data/test/dummy/public/422.html +0 -61
- data/test/dummy/public/500.html +0 -60
- data/test/dummy/public/favicon.ico +0 -0
- data/test/generator_test.rb +0 -25
- data/test/index_test.rb +0 -46
- data/test/record_test.rb +0 -25
- data/test/search_test.rb +0 -164
- data/test/task_test.rb +0 -25
- 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,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"
|
data/test/dummy/config/routes.rb
DELETED
@@ -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
|
data/test/dummy/db/schema.rb
DELETED
@@ -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
|
-
[1m[36m (27.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreateProducts (20161104164148)
|
5
|
-
[1m[35m (0.2ms)[0m BEGIN
|
6
|
-
[1m[36m (23.9ms)[0m [1mCREATE 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) [0m
|
7
|
-
[1m[35mSQL (9.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104164148"]]
|
8
|
-
[1m[36m (5.9ms)[0m [1mCOMMIT[0m
|
9
|
-
Migrating to CreateShops (20161104182219)
|
10
|
-
[1m[35m (6.8ms)[0m BEGIN
|
11
|
-
[1m[36m (3.1ms)[0m [1mCREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
12
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104182219"]]
|
13
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
14
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15
|
-
[1m[36m (2.2ms)[0m [1mSELECT 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
|
-
[0m
|
27
|
-
[1m[35m (1.6ms)[0m 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
|
-
|
data/test/dummy/log/test.log
DELETED
@@ -1,3643 +0,0 @@
|
|
1
|
-
[1m[36m (2.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
-
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreateProducts (20161104164148)
|
5
|
-
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36m (2.8ms)[0m [1mCREATE 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) [0m
|
7
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104164148"]]
|
8
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
9
|
-
Migrating to CreateShops (20161104182219)
|
10
|
-
[1m[35m (0.3ms)[0m BEGIN
|
11
|
-
[1m[36m (2.8ms)[0m [1mCREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
12
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161104182219"]]
|
13
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
14
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15
|
-
[1m[36m (1.8ms)[0m [1mSELECT 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
|
-
[0m
|
27
|
-
[1m[35m (1.3ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40
|
-
[1m[35m (0.3ms)[0m BEGIN
|
41
|
-
---------------------------
|
42
|
-
IndexesTest: test_namespace
|
43
|
-
---------------------------
|
44
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
45
|
-
-------------------------
|
46
|
-
IndexesTest: test_suggest
|
47
|
-
-------------------------
|
48
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
49
|
-
-----------------------
|
50
|
-
IndexesTest: test_exist
|
51
|
-
-----------------------
|
52
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_3[0m
|
53
|
-
----------------------
|
54
|
-
IndexesTest: test_find
|
55
|
-
----------------------
|
56
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_4
|
57
|
-
-------------------------
|
58
|
-
RecordTest: test_indexing
|
59
|
-
-------------------------
|
60
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_5[0m
|
61
|
-
--------------------
|
62
|
-
DslTest: test_search
|
63
|
-
--------------------
|
64
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_5
|
65
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_5[0m
|
66
|
-
-------------------------
|
67
|
-
SearchTest: test_includes
|
68
|
-
-------------------------
|
69
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_6
|
70
|
-
----------------------
|
71
|
-
SearchTest: test_order
|
72
|
-
----------------------
|
73
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_7[0m
|
74
|
-
---------------------------
|
75
|
-
SearchTest: test_pagination
|
76
|
-
---------------------------
|
77
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_8
|
78
|
-
---------------------------------
|
79
|
-
SearchTest: test_with_and_without
|
80
|
-
---------------------------------
|
81
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_9[0m
|
82
|
-
--------------------------
|
83
|
-
GeneratorsTest: test_index
|
84
|
-
--------------------------
|
85
|
-
[1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_9
|
86
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_9[0m
|
87
|
-
----------------------------
|
88
|
-
GeneratorsTest: test_install
|
89
|
-
----------------------------
|
90
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_9
|
91
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_9[0m
|
92
|
-
---------------------
|
93
|
-
TasksTest: test_build
|
94
|
-
---------------------
|
95
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_10
|
96
|
-
-----------------------
|
97
|
-
TasksTest: test_rebuild
|
98
|
-
-----------------------
|
99
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
100
|
-
[1m[35m (0.2ms)[0m BEGIN
|
101
|
-
--------------------------
|
102
|
-
GeneratorsTest: test_index
|
103
|
-
--------------------------
|
104
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
105
|
-
[1m[35m (0.2ms)[0m BEGIN
|
106
|
-
----------------------------
|
107
|
-
GeneratorsTest: test_install
|
108
|
-
----------------------------
|
109
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110
|
-
[1m[35m (0.2ms)[0m BEGIN
|
111
|
-
--------------------
|
112
|
-
DslTest: test_search
|
113
|
-
--------------------
|
114
|
-
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
115
|
-
[1m[35m (0.1ms)[0m BEGIN
|
116
|
-
---------------------------
|
117
|
-
IndexesTest: test_namespace
|
118
|
-
---------------------------
|
119
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
120
|
-
[1m[35m (0.1ms)[0m BEGIN
|
121
|
-
----------------------
|
122
|
-
IndexesTest: test_find
|
123
|
-
----------------------
|
124
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
125
|
-
[1m[35m (0.2ms)[0m BEGIN
|
126
|
-
-----------------------
|
127
|
-
IndexesTest: test_exist
|
128
|
-
-----------------------
|
129
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
130
|
-
[1m[35m (0.2ms)[0m BEGIN
|
131
|
-
-------------------------
|
132
|
-
IndexesTest: test_suggest
|
133
|
-
-------------------------
|
134
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
135
|
-
[1m[35mSQL (17.1ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
140
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
141
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
143
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
144
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
145
|
-
---------------------
|
146
|
-
TasksTest: test_build
|
147
|
-
---------------------
|
148
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
149
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
150
|
-
-----------------------
|
151
|
-
TasksTest: test_rebuild
|
152
|
-
-----------------------
|
153
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
154
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
155
|
-
-------------------------
|
156
|
-
RecordTest: test_indexing
|
157
|
-
-------------------------
|
158
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
159
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-11-29 23:15:29.425579"], ["updated_at", "2016-11-29 23:15:29.425579"]]
|
160
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
161
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
162
|
-
[1m[35mSQL (0.9ms)[0m 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
|
-
[1m[36m (1.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
164
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
165
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
166
|
-
---------------------------
|
167
|
-
SearchTest: test_pagination
|
168
|
-
---------------------------
|
169
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
170
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-29 23:15:31.482348"], ["updated_at", "2016-11-29 23:15:31.482348"]]
|
171
|
-
[1m[35m (1.1ms)[0m RELEASE SAVEPOINT active_record_1
|
172
|
-
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
173
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
175
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
176
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-29 23:15:31.488280"], ["updated_at", "2016-11-29 23:15:31.488280"]]
|
177
|
-
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
178
|
-
[1m[36m (1.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
179
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
181
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
182
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-11-29 23:15:31.494094"], ["updated_at", "2016-11-29 23:15:31.494094"]]
|
183
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
184
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
185
|
-
[1m[35m (0.1ms)[0m BEGIN
|
186
|
-
-------------------------
|
187
|
-
SearchTest: test_includes
|
188
|
-
-------------------------
|
189
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
190
|
-
[1m[35mSQL (0.9ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
192
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
193
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 3], ["created_at", "2016-11-29 23:15:33.539742"], ["updated_at", "2016-11-29 23:15:33.539742"]]
|
194
|
-
[1m[35m (1.4ms)[0m RELEASE SAVEPOINT active_record_1
|
195
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
196
|
-
[1m[35m (0.1ms)[0m BEGIN
|
197
|
-
----------------------
|
198
|
-
SearchTest: test_order
|
199
|
-
----------------------
|
200
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
201
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (1.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
203
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
204
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
206
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
207
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
209
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
210
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
212
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
213
|
-
[1m[35m (0.1ms)[0m BEGIN
|
214
|
-
---------------------------------
|
215
|
-
SearchTest: test_with_and_without
|
216
|
-
---------------------------------
|
217
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
218
|
-
[1m[35mSQL (1.2ms)[0m 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
|
-
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
220
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
221
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-29 23:15:37.639816"], ["updated_at", "2016-11-29 23:15:37.639816"]]
|
222
|
-
[1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
|
223
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
224
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
226
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
227
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-29 23:15:37.645117"], ["updated_at", "2016-11-29 23:15:37.645117"]]
|
228
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
229
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
230
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
231
|
-
[1m[35m (0.2ms)[0m BEGIN
|
232
|
-
---------------------
|
233
|
-
TasksTest: test_build
|
234
|
-
---------------------
|
235
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
236
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
237
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
238
|
-
[1m[35m (0.1ms)[0m BEGIN
|
239
|
-
-----------------------
|
240
|
-
TasksTest: test_rebuild
|
241
|
-
-----------------------
|
242
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
243
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
244
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
245
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
246
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
247
|
-
[1m[35m (0.1ms)[0m BEGIN
|
248
|
-
----------------------
|
249
|
-
IndexesTest: test_find
|
250
|
-
----------------------
|
251
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
252
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
253
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
254
|
-
[1m[35m (0.1ms)[0m BEGIN
|
255
|
-
-----------------------
|
256
|
-
IndexesTest: test_exist
|
257
|
-
-----------------------
|
258
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
259
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
260
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
261
|
-
[1m[35m (0.2ms)[0m BEGIN
|
262
|
-
---------------------------
|
263
|
-
IndexesTest: test_namespace
|
264
|
-
---------------------------
|
265
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
266
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
267
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
268
|
-
[1m[35m (0.2ms)[0m BEGIN
|
269
|
-
-------------------------
|
270
|
-
IndexesTest: test_suggest
|
271
|
-
-------------------------
|
272
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
273
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
274
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
275
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
277
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
278
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
280
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
281
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
283
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
284
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
285
|
-
-------------------------
|
286
|
-
RecordTest: test_indexing
|
287
|
-
-------------------------
|
288
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
289
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
290
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
291
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-11-29 23:17:35.844046"], ["updated_at", "2016-11-29 23:17:35.844046"]]
|
292
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
293
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 7
|
297
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
298
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "products" WHERE "products"."id" = $1 [["id", 7]]
|
299
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
300
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 7
|
301
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
302
|
-
[1m[35m (0.1ms)[0m BEGIN
|
303
|
-
---------------------------
|
304
|
-
SearchTest: test_pagination
|
305
|
-
---------------------------
|
306
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
307
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
308
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
309
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
311
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
312
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-29 23:17:38.072866"], ["updated_at", "2016-11-29 23:17:38.072866"]]
|
313
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
314
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
315
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
317
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
318
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-29 23:17:38.087721"], ["updated_at", "2016-11-29 23:17:38.087721"]]
|
319
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
320
|
-
[1m[36m (1.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
321
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
323
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
|
324
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
325
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
326
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
327
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
328
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
329
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
330
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
331
|
-
[1m[35m (0.2ms)[0m BEGIN
|
332
|
-
-------------------------
|
333
|
-
SearchTest: test_includes
|
334
|
-
-------------------------
|
335
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
336
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
337
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
338
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
340
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
341
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 7], ["created_at", "2016-11-29 23:17:40.228674"], ["updated_at", "2016-11-29 23:17:40.228674"]]
|
342
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
343
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 8[0m
|
344
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (7)
|
345
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
346
|
-
[1m[35m (0.2ms)[0m BEGIN
|
347
|
-
----------------------
|
348
|
-
SearchTest: test_order
|
349
|
-
----------------------
|
350
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
351
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
352
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
353
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
355
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
356
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
358
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
359
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
361
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
362
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
364
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
365
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
366
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
367
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
368
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
369
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
370
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
371
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
372
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
373
|
-
[1m[35m (0.2ms)[0m BEGIN
|
374
|
-
---------------------------------
|
375
|
-
SearchTest: test_with_and_without
|
376
|
-
---------------------------------
|
377
|
-
[1m[36mProduct Load (1.1ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
378
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
379
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
380
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
382
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
383
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-29 23:17:45.045008"], ["updated_at", "2016-11-29 23:17:45.045008"]]
|
384
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
385
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
386
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
388
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
389
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-29 23:17:45.056741"], ["updated_at", "2016-11-29 23:17:45.056741"]]
|
390
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
391
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)[0m
|
392
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
|
393
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
394
|
-
[1m[35m (0.1ms)[0m BEGIN
|
395
|
-
--------------------
|
396
|
-
DslTest: test_search
|
397
|
-
--------------------
|
398
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
399
|
-
[1m[35m (0.1ms)[0m BEGIN
|
400
|
-
--------------------------
|
401
|
-
GeneratorsTest: test_index
|
402
|
-
--------------------------
|
403
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
404
|
-
[1m[35m (0.1ms)[0m BEGIN
|
405
|
-
----------------------------
|
406
|
-
GeneratorsTest: test_install
|
407
|
-
----------------------------
|
408
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
409
|
-
[1m[36mActiveRecord::SchemaMigration Load (28.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
410
|
-
[1m[35m (0.2ms)[0m BEGIN
|
411
|
-
---------------------
|
412
|
-
TasksTest: test_build
|
413
|
-
---------------------
|
414
|
-
[1m[36mProduct Load (3.1ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
415
|
-
[1m[35mShop Load (1.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
416
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
417
|
-
[1m[35m (0.1ms)[0m BEGIN
|
418
|
-
-----------------------
|
419
|
-
TasksTest: test_rebuild
|
420
|
-
-----------------------
|
421
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
422
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
423
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
424
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
425
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
426
|
-
[1m[35m (0.1ms)[0m BEGIN
|
427
|
-
----------------------
|
428
|
-
IndexesTest: test_find
|
429
|
-
----------------------
|
430
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
431
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
432
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
433
|
-
[1m[35m (0.1ms)[0m BEGIN
|
434
|
-
-------------------------
|
435
|
-
IndexesTest: test_suggest
|
436
|
-
-------------------------
|
437
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
438
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
439
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
440
|
-
[1m[35mSQL (28.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
442
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
443
|
-
[1m[36mSQL (7.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
445
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
446
|
-
[1m[35m (0.1ms)[0m BEGIN
|
447
|
-
-----------------------
|
448
|
-
IndexesTest: test_exist
|
449
|
-
-----------------------
|
450
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
451
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
452
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
453
|
-
[1m[35m (0.2ms)[0m BEGIN
|
454
|
-
---------------------------
|
455
|
-
IndexesTest: test_namespace
|
456
|
-
---------------------------
|
457
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
458
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
459
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
460
|
-
[1m[35m (0.2ms)[0m BEGIN
|
461
|
-
-------------------------
|
462
|
-
SearchTest: test_includes
|
463
|
-
-------------------------
|
464
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
465
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
466
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
467
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
469
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
470
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 10], ["created_at", "2016-11-30 22:09:37.666783"], ["updated_at", "2016-11-30 22:09:37.666783"]]
|
471
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
472
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
473
|
-
[1m[35m (0.1ms)[0m BEGIN
|
474
|
-
----------------------
|
475
|
-
SearchTest: test_order
|
476
|
-
----------------------
|
477
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
478
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
479
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
480
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
482
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
483
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
484
|
-
---------------------------
|
485
|
-
SearchTest: test_pagination
|
486
|
-
---------------------------
|
487
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
488
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
489
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
490
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:09:37.812572"], ["updated_at", "2016-11-30 22:09:37.812572"]]
|
491
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
492
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
493
|
-
[1m[35m (0.2ms)[0m BEGIN
|
494
|
-
---------------------------------
|
495
|
-
SearchTest: test_with_and_without
|
496
|
-
---------------------------------
|
497
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
498
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
499
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
500
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
502
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
503
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
504
|
-
--------------------
|
505
|
-
DslTest: test_search
|
506
|
-
--------------------
|
507
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
508
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
509
|
-
--------------------------
|
510
|
-
GeneratorsTest: test_index
|
511
|
-
--------------------------
|
512
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
513
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
514
|
-
----------------------------
|
515
|
-
GeneratorsTest: test_install
|
516
|
-
----------------------------
|
517
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
518
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
519
|
-
-------------------------
|
520
|
-
RecordTest: test_indexing
|
521
|
-
-------------------------
|
522
|
-
[1m[35mProduct Load (2.1ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
523
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
524
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
525
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-11-30 22:09:38.001480"], ["updated_at", "2016-11-30 22:09:38.001480"]]
|
526
|
-
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
527
|
-
[1m[36m (1.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
528
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
530
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
531
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
532
|
-
[1m[35m (0.2ms)[0m BEGIN
|
533
|
-
-------------------------
|
534
|
-
RecordTest: test_indexing
|
535
|
-
-------------------------
|
536
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
537
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
538
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
539
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
541
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
542
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
544
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
545
|
-
[1m[35m (0.2ms)[0m BEGIN
|
546
|
-
---------------------
|
547
|
-
TasksTest: test_build
|
548
|
-
---------------------
|
549
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
550
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
551
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
552
|
-
[1m[35m (0.1ms)[0m BEGIN
|
553
|
-
-----------------------
|
554
|
-
TasksTest: test_rebuild
|
555
|
-
-----------------------
|
556
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
557
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
558
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
559
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
560
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
561
|
-
[1m[35m (0.1ms)[0m BEGIN
|
562
|
-
--------------------------
|
563
|
-
GeneratorsTest: test_index
|
564
|
-
--------------------------
|
565
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
566
|
-
[1m[35m (0.1ms)[0m BEGIN
|
567
|
-
----------------------------
|
568
|
-
GeneratorsTest: test_install
|
569
|
-
----------------------------
|
570
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
571
|
-
[1m[35m (0.1ms)[0m BEGIN
|
572
|
-
---------------------------------
|
573
|
-
SearchTest: test_with_and_without
|
574
|
-
---------------------------------
|
575
|
-
[1m[36mProduct Load (0.9ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
576
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
577
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
578
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
580
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
581
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
582
|
-
-------------------------
|
583
|
-
SearchTest: test_includes
|
584
|
-
-------------------------
|
585
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
586
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
587
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
588
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:10:35.591115"], ["updated_at", "2016-11-30 22:10:35.591115"]]
|
589
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
590
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
591
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
593
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
594
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
595
|
-
----------------------
|
596
|
-
SearchTest: test_order
|
597
|
-
----------------------
|
598
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
599
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
600
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
601
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:10:35.654000"], ["updated_at", "2016-11-30 22:10:35.654000"]]
|
602
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
603
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
604
|
-
[1m[35m (0.2ms)[0m BEGIN
|
605
|
-
---------------------------
|
606
|
-
SearchTest: test_pagination
|
607
|
-
---------------------------
|
608
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
609
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
610
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
611
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
613
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
614
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
615
|
-
--------------------
|
616
|
-
DslTest: test_search
|
617
|
-
--------------------
|
618
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
619
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
620
|
-
----------------------
|
621
|
-
IndexesTest: test_find
|
622
|
-
----------------------
|
623
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
624
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
625
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
626
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
627
|
-
-----------------------
|
628
|
-
IndexesTest: test_exist
|
629
|
-
-----------------------
|
630
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
631
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
632
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
633
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
634
|
-
---------------------------
|
635
|
-
IndexesTest: test_namespace
|
636
|
-
---------------------------
|
637
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
638
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
639
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
640
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
641
|
-
-------------------------
|
642
|
-
IndexesTest: test_suggest
|
643
|
-
-------------------------
|
644
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
645
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
646
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
647
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:10:35.959191"], ["updated_at", "2016-11-30 22:10:35.959191"]]
|
648
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
649
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
650
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
652
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
653
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
654
|
-
[1m[35m (0.2ms)[0m BEGIN
|
655
|
-
-------------------------
|
656
|
-
RecordTest: test_indexing
|
657
|
-
-------------------------
|
658
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
659
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
660
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
661
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
663
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
664
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
666
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
667
|
-
[1m[35m (0.1ms)[0m BEGIN
|
668
|
-
--------------------------
|
669
|
-
GeneratorsTest: test_index
|
670
|
-
--------------------------
|
671
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
672
|
-
[1m[35m (0.2ms)[0m BEGIN
|
673
|
-
----------------------------
|
674
|
-
GeneratorsTest: test_install
|
675
|
-
----------------------------
|
676
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
677
|
-
[1m[35m (0.1ms)[0m BEGIN
|
678
|
-
---------------------
|
679
|
-
TasksTest: test_build
|
680
|
-
---------------------
|
681
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
682
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
683
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
684
|
-
[1m[35m (0.1ms)[0m BEGIN
|
685
|
-
-----------------------
|
686
|
-
TasksTest: test_rebuild
|
687
|
-
-----------------------
|
688
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
689
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
690
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
691
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
692
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
693
|
-
[1m[35m (0.2ms)[0m BEGIN
|
694
|
-
--------------------
|
695
|
-
DslTest: test_search
|
696
|
-
--------------------
|
697
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
698
|
-
[1m[35m (0.2ms)[0m BEGIN
|
699
|
-
---------------------------
|
700
|
-
IndexesTest: test_namespace
|
701
|
-
---------------------------
|
702
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
703
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
704
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
705
|
-
[1m[35m (0.2ms)[0m BEGIN
|
706
|
-
-------------------------
|
707
|
-
IndexesTest: test_suggest
|
708
|
-
-------------------------
|
709
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
710
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
711
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
712
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
714
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
715
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
717
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
718
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
720
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
721
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
722
|
-
-----------------------
|
723
|
-
IndexesTest: test_exist
|
724
|
-
-----------------------
|
725
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
726
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
727
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
728
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
729
|
-
----------------------
|
730
|
-
IndexesTest: test_find
|
731
|
-
----------------------
|
732
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
733
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
734
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
735
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
736
|
-
---------------------------
|
737
|
-
SearchTest: test_pagination
|
738
|
-
---------------------------
|
739
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
740
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
741
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
742
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:12:47.653796"], ["updated_at", "2016-11-30 22:12:47.653796"]]
|
743
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
744
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
745
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
747
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
748
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:12:47.668597"], ["updated_at", "2016-11-30 22:12:47.668597"]]
|
749
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
750
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
751
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
753
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
754
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-11-30 22:12:47.682022"], ["updated_at", "2016-11-30 22:12:47.682022"]]
|
755
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
756
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
757
|
-
[1m[35m (0.2ms)[0m BEGIN
|
758
|
-
-------------------------
|
759
|
-
SearchTest: test_includes
|
760
|
-
-------------------------
|
761
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
762
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
763
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
764
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
766
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
767
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 19], ["created_at", "2016-11-30 22:12:49.838870"], ["updated_at", "2016-11-30 22:12:49.838870"]]
|
768
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
769
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
770
|
-
[1m[35m (0.2ms)[0m BEGIN
|
771
|
-
----------------------
|
772
|
-
SearchTest: test_order
|
773
|
-
----------------------
|
774
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
775
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
776
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
777
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
779
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
780
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
782
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
783
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
785
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
786
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
788
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
789
|
-
[1m[35m (0.1ms)[0m BEGIN
|
790
|
-
---------------------------------
|
791
|
-
SearchTest: test_with_and_without
|
792
|
-
---------------------------------
|
793
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
794
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
795
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
796
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
798
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
799
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:12:53.991395"], ["updated_at", "2016-11-30 22:12:53.991395"]]
|
800
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
801
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
802
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
804
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
805
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:12:54.003275"], ["updated_at", "2016-11-30 22:12:54.003275"]]
|
806
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
807
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
808
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
809
|
-
[1m[35m (0.2ms)[0m BEGIN
|
810
|
-
----------------------
|
811
|
-
IndexesTest: test_find
|
812
|
-
----------------------
|
813
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
814
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
815
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
816
|
-
[1m[35m (0.2ms)[0m BEGIN
|
817
|
-
-------------------------
|
818
|
-
IndexesTest: test_suggest
|
819
|
-
-------------------------
|
820
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
821
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
822
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
823
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
825
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
826
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
828
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
829
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
831
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
832
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
833
|
-
-----------------------
|
834
|
-
IndexesTest: test_exist
|
835
|
-
-----------------------
|
836
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
837
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
838
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
839
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
840
|
-
---------------------------
|
841
|
-
IndexesTest: test_namespace
|
842
|
-
---------------------------
|
843
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
844
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
845
|
-
[1m[35m (0.7ms)[0m ROLLBACK
|
846
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
847
|
-
-------------------------
|
848
|
-
SearchTest: test_includes
|
849
|
-
-------------------------
|
850
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
851
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
852
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
853
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:13:22.934325"], ["updated_at", "2016-11-30 22:13:22.934325"]]
|
854
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
855
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
856
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
858
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
859
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
860
|
-
----------------------
|
861
|
-
SearchTest: test_order
|
862
|
-
----------------------
|
863
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
864
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
865
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
866
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:13:25.052563"], ["updated_at", "2016-11-30 22:13:25.052563"]]
|
867
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
868
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
869
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
871
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
872
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
874
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
875
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
877
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
878
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
879
|
-
---------------------------------
|
880
|
-
SearchTest: test_with_and_without
|
881
|
-
---------------------------------
|
882
|
-
[1m[35mProduct Load (1.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
883
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
884
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
885
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:13:27.145772"], ["updated_at", "2016-11-30 22:13:27.145772"]]
|
886
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
887
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
888
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
890
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
891
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:13:27.159606"], ["updated_at", "2016-11-30 22:13:27.159606"]]
|
892
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
893
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
894
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
896
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
897
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
898
|
-
---------------------------
|
899
|
-
SearchTest: test_pagination
|
900
|
-
---------------------------
|
901
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
902
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
903
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
904
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:13:29.244815"], ["updated_at", "2016-11-30 22:13:29.244815"]]
|
905
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
906
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
907
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
909
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
910
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:13:29.271166"], ["updated_at", "2016-11-30 22:13:29.271166"]]
|
911
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
912
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
913
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
915
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
916
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-11-30 22:13:29.287306"], ["updated_at", "2016-11-30 22:13:29.287306"]]
|
917
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
918
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
919
|
-
[1m[35m (0.1ms)[0m BEGIN
|
920
|
-
--------------------------
|
921
|
-
GeneratorsTest: test_index
|
922
|
-
--------------------------
|
923
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
924
|
-
[1m[35m (0.1ms)[0m BEGIN
|
925
|
-
----------------------------
|
926
|
-
GeneratorsTest: test_install
|
927
|
-
----------------------------
|
928
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
929
|
-
[1m[35m (0.2ms)[0m BEGIN
|
930
|
-
---------------------
|
931
|
-
TasksTest: test_build
|
932
|
-
---------------------
|
933
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
934
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
935
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
936
|
-
[1m[35m (0.2ms)[0m BEGIN
|
937
|
-
-----------------------
|
938
|
-
TasksTest: test_rebuild
|
939
|
-
-----------------------
|
940
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
941
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
942
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
943
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
944
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
945
|
-
[1m[35m (0.1ms)[0m BEGIN
|
946
|
-
-------------------------
|
947
|
-
RecordTest: test_indexing
|
948
|
-
-------------------------
|
949
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
950
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
951
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
952
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
954
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
955
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
957
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
958
|
-
[1m[35m (0.1ms)[0m BEGIN
|
959
|
-
--------------------
|
960
|
-
DslTest: test_search
|
961
|
-
--------------------
|
962
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
963
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
964
|
-
[1m[35m (0.2ms)[0m BEGIN
|
965
|
-
----------------------
|
966
|
-
SearchTest: test_order
|
967
|
-
----------------------
|
968
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
969
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
970
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
973
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
974
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
975
|
-
-------------------------
|
976
|
-
SearchTest: test_includes
|
977
|
-
-------------------------
|
978
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
979
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
980
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
981
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:17:56.113591"], ["updated_at", "2016-11-30 22:17:56.113591"]]
|
982
|
-
[1m[35m (0.9ms)[0m RELEASE SAVEPOINT active_record_1
|
983
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
984
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
986
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
987
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
988
|
-
---------------------------------
|
989
|
-
SearchTest: test_with_and_without
|
990
|
-
---------------------------------
|
991
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
992
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
993
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
994
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:17:56.184950"], ["updated_at", "2016-11-30 22:17:56.184950"]]
|
995
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
996
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
997
|
-
[1m[35m (0.1ms)[0m BEGIN
|
998
|
-
---------------------------
|
999
|
-
SearchTest: test_pagination
|
1000
|
-
---------------------------
|
1001
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1002
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1003
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1004
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1006
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1007
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1008
|
-
-------------------------
|
1009
|
-
IndexesTest: test_suggest
|
1010
|
-
-------------------------
|
1011
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1012
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1013
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1014
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:17:56.302946"], ["updated_at", "2016-11-30 22:17:56.302946"]]
|
1015
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1016
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1017
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1019
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1020
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1021
|
-
----------------------
|
1022
|
-
IndexesTest: test_find
|
1023
|
-
----------------------
|
1024
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1025
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1026
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1027
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1028
|
-
---------------------------
|
1029
|
-
IndexesTest: test_namespace
|
1030
|
-
---------------------------
|
1031
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1032
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1033
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1034
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1035
|
-
-----------------------
|
1036
|
-
IndexesTest: test_exist
|
1037
|
-
-----------------------
|
1038
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1039
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1040
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1041
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1042
|
-
--------------------
|
1043
|
-
DslTest: test_search
|
1044
|
-
--------------------
|
1045
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1046
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1047
|
-
-------------------------
|
1048
|
-
RecordTest: test_indexing
|
1049
|
-
-------------------------
|
1050
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1051
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1052
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1053
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-11-30 22:17:56.503354"], ["updated_at", "2016-11-30 22:17:56.503354"]]
|
1054
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1055
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1056
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1058
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1059
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1060
|
-
--------------------------
|
1061
|
-
GeneratorsTest: test_index
|
1062
|
-
--------------------------
|
1063
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1064
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1065
|
-
----------------------------
|
1066
|
-
GeneratorsTest: test_install
|
1067
|
-
----------------------------
|
1068
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1069
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1070
|
-
---------------------
|
1071
|
-
TasksTest: test_build
|
1072
|
-
---------------------
|
1073
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1074
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1075
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1076
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1077
|
-
-----------------------
|
1078
|
-
TasksTest: test_rebuild
|
1079
|
-
-----------------------
|
1080
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1081
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1082
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1083
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1084
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1085
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1086
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1087
|
-
-------------------------
|
1088
|
-
RecordTest: test_indexing
|
1089
|
-
-------------------------
|
1090
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1091
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1092
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1093
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1095
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1096
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1098
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
1099
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1100
|
-
---------------------------
|
1101
|
-
IndexesTest: test_namespace
|
1102
|
-
---------------------------
|
1103
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1104
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1105
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1106
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1107
|
-
-------------------------
|
1108
|
-
IndexesTest: test_suggest
|
1109
|
-
-------------------------
|
1110
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1111
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1112
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1113
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1115
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1116
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1118
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1119
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1120
|
-
----------------------
|
1121
|
-
IndexesTest: test_find
|
1122
|
-
----------------------
|
1123
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1124
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1125
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1126
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1127
|
-
-----------------------
|
1128
|
-
IndexesTest: test_exist
|
1129
|
-
-----------------------
|
1130
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1131
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1132
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1133
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1134
|
-
---------------------
|
1135
|
-
TasksTest: test_build
|
1136
|
-
---------------------
|
1137
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1138
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1139
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1140
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1141
|
-
-----------------------
|
1142
|
-
TasksTest: test_rebuild
|
1143
|
-
-----------------------
|
1144
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1145
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1146
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1147
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1148
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1149
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1150
|
-
--------------------
|
1151
|
-
DslTest: test_search
|
1152
|
-
--------------------
|
1153
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1154
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1155
|
-
--------------------------
|
1156
|
-
GeneratorsTest: test_index
|
1157
|
-
--------------------------
|
1158
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1159
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1160
|
-
----------------------------
|
1161
|
-
GeneratorsTest: test_install
|
1162
|
-
----------------------------
|
1163
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1164
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1165
|
-
-------------------------
|
1166
|
-
SearchTest: test_includes
|
1167
|
-
-------------------------
|
1168
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1169
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1170
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1171
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1173
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1174
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 31], ["created_at", "2016-11-30 22:18:24.903761"], ["updated_at", "2016-11-30 22:18:24.903761"]]
|
1175
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1176
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1177
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1178
|
-
----------------------
|
1179
|
-
SearchTest: test_order
|
1180
|
-
----------------------
|
1181
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1182
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1183
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1184
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1186
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
1187
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1188
|
-
---------------------------
|
1189
|
-
SearchTest: test_pagination
|
1190
|
-
---------------------------
|
1191
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1192
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1193
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1194
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:18:25.000842"], ["updated_at", "2016-11-30 22:18:25.000842"]]
|
1195
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1196
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1197
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1198
|
-
---------------------------------
|
1199
|
-
SearchTest: test_with_and_without
|
1200
|
-
---------------------------------
|
1201
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1202
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1203
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1204
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1206
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1207
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1208
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1209
|
-
----------------------
|
1210
|
-
SearchTest: test_order
|
1211
|
-
----------------------
|
1212
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1213
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1214
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1215
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1217
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1218
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1219
|
-
---------------------------
|
1220
|
-
SearchTest: test_pagination
|
1221
|
-
---------------------------
|
1222
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1223
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1224
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1225
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:18:47.383193"], ["updated_at", "2016-11-30 22:18:47.383193"]]
|
1226
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1227
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1228
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1229
|
-
---------------------------------
|
1230
|
-
SearchTest: test_with_and_without
|
1231
|
-
---------------------------------
|
1232
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1233
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1234
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1235
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1237
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1238
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1239
|
-
-------------------------
|
1240
|
-
SearchTest: test_includes
|
1241
|
-
-------------------------
|
1242
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1243
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1244
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1245
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:18:47.473703"], ["updated_at", "2016-11-30 22:18:47.473703"]]
|
1246
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1247
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1248
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1250
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1251
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1252
|
-
--------------------
|
1253
|
-
DslTest: test_search
|
1254
|
-
--------------------
|
1255
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1256
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1257
|
-
---------------------------
|
1258
|
-
IndexesTest: test_namespace
|
1259
|
-
---------------------------
|
1260
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1261
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1262
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1263
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1264
|
-
-------------------------
|
1265
|
-
IndexesTest: test_suggest
|
1266
|
-
-------------------------
|
1267
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1268
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1269
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1270
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:18:47.606526"], ["updated_at", "2016-11-30 22:18:47.606526"]]
|
1271
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1272
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1273
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1275
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1276
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1277
|
-
-----------------------
|
1278
|
-
IndexesTest: test_exist
|
1279
|
-
-----------------------
|
1280
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1281
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1282
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1283
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1284
|
-
----------------------
|
1285
|
-
IndexesTest: test_find
|
1286
|
-
----------------------
|
1287
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1288
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1289
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1290
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1291
|
-
---------------------
|
1292
|
-
TasksTest: test_build
|
1293
|
-
---------------------
|
1294
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1295
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1296
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1297
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1298
|
-
-----------------------
|
1299
|
-
TasksTest: test_rebuild
|
1300
|
-
-----------------------
|
1301
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1302
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1303
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1304
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1305
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1306
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1307
|
-
-------------------------
|
1308
|
-
RecordTest: test_indexing
|
1309
|
-
-------------------------
|
1310
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1311
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1312
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1313
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-11-30 22:18:47.924090"], ["updated_at", "2016-11-30 22:18:47.924090"]]
|
1314
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1315
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1316
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1318
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1319
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1320
|
-
--------------------------
|
1321
|
-
GeneratorsTest: test_index
|
1322
|
-
--------------------------
|
1323
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1324
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1325
|
-
----------------------------
|
1326
|
-
GeneratorsTest: test_install
|
1327
|
-
----------------------------
|
1328
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1329
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1330
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1331
|
-
--------------------
|
1332
|
-
DslTest: test_search
|
1333
|
-
--------------------
|
1334
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1335
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1336
|
-
----------------------
|
1337
|
-
IndexesTest: test_find
|
1338
|
-
----------------------
|
1339
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1340
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1341
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1342
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1343
|
-
-------------------------
|
1344
|
-
IndexesTest: test_suggest
|
1345
|
-
-------------------------
|
1346
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1347
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1348
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1349
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1351
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1352
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1354
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1355
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1357
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1358
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1359
|
-
-----------------------
|
1360
|
-
IndexesTest: test_exist
|
1361
|
-
-----------------------
|
1362
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1363
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1364
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1365
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1366
|
-
---------------------------
|
1367
|
-
IndexesTest: test_namespace
|
1368
|
-
---------------------------
|
1369
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1370
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1371
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1372
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1373
|
-
---------------------
|
1374
|
-
TasksTest: test_build
|
1375
|
-
---------------------
|
1376
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1377
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1378
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1379
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1380
|
-
-----------------------
|
1381
|
-
TasksTest: test_rebuild
|
1382
|
-
-----------------------
|
1383
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1384
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1385
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1386
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1387
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1388
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1389
|
-
-------------------------
|
1390
|
-
SearchTest: test_includes
|
1391
|
-
-------------------------
|
1392
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1393
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1394
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1395
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:18:58.501325"], ["updated_at", "2016-11-30 22:18:58.501325"]]
|
1396
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1397
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1398
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1400
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1401
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1402
|
-
---------------------------------
|
1403
|
-
SearchTest: test_with_and_without
|
1404
|
-
---------------------------------
|
1405
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1406
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1407
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1408
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:19:00.565899"], ["updated_at", "2016-11-30 22:19:00.565899"]]
|
1409
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1410
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1411
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1413
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1414
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:19:00.579758"], ["updated_at", "2016-11-30 22:19:00.579758"]]
|
1415
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1416
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1417
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1419
|
-
[1m[35m (8.0ms)[0m ROLLBACK
|
1420
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1421
|
-
----------------------
|
1422
|
-
SearchTest: test_order
|
1423
|
-
----------------------
|
1424
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1425
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1426
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1427
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:19:02.704206"], ["updated_at", "2016-11-30 22:19:02.704206"]]
|
1428
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1429
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1430
|
-
[1m[35mSQL (0.9ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1432
|
-
[1m[35m (4.2ms)[0m SAVEPOINT active_record_1
|
1433
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1435
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1436
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1438
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1439
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1440
|
-
---------------------------
|
1441
|
-
SearchTest: test_pagination
|
1442
|
-
---------------------------
|
1443
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1444
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1445
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1446
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:19:04.797913"], ["updated_at", "2016-11-30 22:19:04.797913"]]
|
1447
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1448
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1449
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1451
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1452
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:19:04.809547"], ["updated_at", "2016-11-30 22:19:04.809547"]]
|
1453
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1454
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1455
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1457
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1458
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-11-30 22:19:04.820405"], ["updated_at", "2016-11-30 22:19:04.820405"]]
|
1459
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1460
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1461
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1462
|
-
-------------------------
|
1463
|
-
RecordTest: test_indexing
|
1464
|
-
-------------------------
|
1465
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1466
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1467
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1468
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1470
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1471
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1473
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1474
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1475
|
-
--------------------------
|
1476
|
-
GeneratorsTest: test_index
|
1477
|
-
--------------------------
|
1478
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1479
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1480
|
-
----------------------------
|
1481
|
-
GeneratorsTest: test_install
|
1482
|
-
----------------------------
|
1483
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1484
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1485
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1486
|
-
--------------------
|
1487
|
-
DslTest: test_search
|
1488
|
-
--------------------
|
1489
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1490
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1491
|
-
---------------------
|
1492
|
-
TasksTest: test_build
|
1493
|
-
---------------------
|
1494
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1495
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1496
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1497
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1498
|
-
-----------------------
|
1499
|
-
TasksTest: test_rebuild
|
1500
|
-
-----------------------
|
1501
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1502
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1503
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1504
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1505
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1506
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1507
|
-
--------------------------
|
1508
|
-
GeneratorsTest: test_index
|
1509
|
-
--------------------------
|
1510
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1511
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1512
|
-
----------------------------
|
1513
|
-
GeneratorsTest: test_install
|
1514
|
-
----------------------------
|
1515
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1516
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1517
|
-
-------------------------
|
1518
|
-
RecordTest: test_indexing
|
1519
|
-
-------------------------
|
1520
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1521
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1522
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1523
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1525
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1526
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1528
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1529
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1530
|
-
----------------------
|
1531
|
-
SearchTest: test_order
|
1532
|
-
----------------------
|
1533
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1534
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1535
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1536
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1538
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1539
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1541
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1542
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1544
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1545
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1547
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1548
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1549
|
-
---------------------------
|
1550
|
-
SearchTest: test_pagination
|
1551
|
-
---------------------------
|
1552
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1553
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1554
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1555
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1557
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1558
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:20:00.410611"], ["updated_at", "2016-11-30 22:20:00.410611"]]
|
1559
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1560
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1561
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1563
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1564
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:20:00.421970"], ["updated_at", "2016-11-30 22:20:00.421970"]]
|
1565
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1566
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1567
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1569
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1570
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1571
|
-
-------------------------
|
1572
|
-
SearchTest: test_includes
|
1573
|
-
-------------------------
|
1574
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1575
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1576
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1577
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:20:02.484854"], ["updated_at", "2016-11-30 22:20:02.484854"]]
|
1578
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1579
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1580
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1582
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1583
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1584
|
-
---------------------------------
|
1585
|
-
SearchTest: test_with_and_without
|
1586
|
-
---------------------------------
|
1587
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1588
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1589
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1590
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:20:04.546721"], ["updated_at", "2016-11-30 22:20:04.546721"]]
|
1591
|
-
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
1592
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1593
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1595
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1596
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:20:04.560904"], ["updated_at", "2016-11-30 22:20:04.560904"]]
|
1597
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1598
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1599
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1601
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1602
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1603
|
-
-----------------------
|
1604
|
-
IndexesTest: test_exist
|
1605
|
-
-----------------------
|
1606
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1607
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1608
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1609
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1610
|
-
---------------------------
|
1611
|
-
IndexesTest: test_namespace
|
1612
|
-
---------------------------
|
1613
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1614
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1615
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1616
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1617
|
-
----------------------
|
1618
|
-
IndexesTest: test_find
|
1619
|
-
----------------------
|
1620
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1621
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1622
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1623
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1624
|
-
-------------------------
|
1625
|
-
IndexesTest: test_suggest
|
1626
|
-
-------------------------
|
1627
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1628
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1629
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1630
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:20:06.734755"], ["updated_at", "2016-11-30 22:20:06.734755"]]
|
1631
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1632
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1633
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1635
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1636
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Stratocaster"], ["shop_id", 44], ["created_at", "2016-11-30 22:20:06.743628"], ["updated_at", "2016-11-30 22:20:06.743628"]]
|
1637
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1638
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1639
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1640
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1641
|
-
----------------------
|
1642
|
-
IndexesTest: test_find
|
1643
|
-
----------------------
|
1644
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1645
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1646
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1647
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1648
|
-
-------------------------
|
1649
|
-
IndexesTest: test_suggest
|
1650
|
-
-------------------------
|
1651
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1652
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1653
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1654
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1656
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1657
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1659
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
1660
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1662
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1663
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1664
|
-
-----------------------
|
1665
|
-
IndexesTest: test_exist
|
1666
|
-
-----------------------
|
1667
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1668
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1669
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1670
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1671
|
-
---------------------------
|
1672
|
-
IndexesTest: test_namespace
|
1673
|
-
---------------------------
|
1674
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1675
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1676
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1677
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1678
|
-
----------------------------
|
1679
|
-
GeneratorsTest: test_install
|
1680
|
-
----------------------------
|
1681
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1682
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1683
|
-
--------------------------
|
1684
|
-
GeneratorsTest: test_index
|
1685
|
-
--------------------------
|
1686
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1687
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1688
|
-
---------------------
|
1689
|
-
TasksTest: test_build
|
1690
|
-
---------------------
|
1691
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1692
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1693
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1694
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1695
|
-
-----------------------
|
1696
|
-
TasksTest: test_rebuild
|
1697
|
-
-----------------------
|
1698
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1699
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1700
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1701
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1702
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1703
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1704
|
-
--------------------
|
1705
|
-
DslTest: test_search
|
1706
|
-
--------------------
|
1707
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1708
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1709
|
-
-------------------------
|
1710
|
-
SearchTest: test_includes
|
1711
|
-
-------------------------
|
1712
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1713
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1714
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1715
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:21:03.319812"], ["updated_at", "2016-11-30 22:21:03.319812"]]
|
1716
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1717
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1718
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1720
|
-
[1m[35mProduct Load (6.6ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 42
|
1721
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (46)[0m
|
1722
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1723
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1724
|
-
---------------------------------
|
1725
|
-
SearchTest: test_with_and_without
|
1726
|
-
---------------------------------
|
1727
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1728
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1729
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1730
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:21:05.447965"], ["updated_at", "2016-11-30 22:21:05.447965"]]
|
1731
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1732
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1733
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1735
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1736
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:21:05.460049"], ["updated_at", "2016-11-30 22:21:05.460049"]]
|
1737
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1738
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1739
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1741
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
|
1742
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)[0m
|
1743
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1744
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1745
|
-
----------------------
|
1746
|
-
SearchTest: test_order
|
1747
|
-
----------------------
|
1748
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1749
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1750
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1751
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:21:07.543937"], ["updated_at", "2016-11-30 22:21:07.543937"]]
|
1752
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1753
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1754
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1756
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1757
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1759
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1760
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1762
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
1763
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1764
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1765
|
-
---------------------------
|
1766
|
-
SearchTest: test_pagination
|
1767
|
-
---------------------------
|
1768
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1769
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1770
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1771
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1773
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1774
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:21:09.627551"], ["updated_at", "2016-11-30 22:21:09.627551"]]
|
1775
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1776
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1777
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1779
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1780
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:21:09.638442"], ["updated_at", "2016-11-30 22:21:09.638442"]]
|
1781
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1782
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1783
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1785
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
|
1786
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
1787
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
1788
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
1789
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
1790
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
1791
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
1792
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1793
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1794
|
-
-------------------------
|
1795
|
-
RecordTest: test_indexing
|
1796
|
-
-------------------------
|
1797
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1798
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1799
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1800
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1802
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1803
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1805
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 43[0m
|
1806
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1807
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 43]]
|
1808
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1809
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 43[0m
|
1810
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1811
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1812
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1813
|
-
-------------------------
|
1814
|
-
RecordTest: test_indexing
|
1815
|
-
-------------------------
|
1816
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1817
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1818
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1819
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1821
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1822
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1824
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 44[0m
|
1825
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1826
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 44]]
|
1827
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1828
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 44[0m
|
1829
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1830
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1831
|
-
-----------------------
|
1832
|
-
IndexesTest: test_exist
|
1833
|
-
-----------------------
|
1834
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1835
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1836
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1837
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1838
|
-
----------------------
|
1839
|
-
IndexesTest: test_find
|
1840
|
-
----------------------
|
1841
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1842
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1843
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1844
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1845
|
-
---------------------------
|
1846
|
-
IndexesTest: test_namespace
|
1847
|
-
---------------------------
|
1848
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1849
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1850
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1851
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1852
|
-
-------------------------
|
1853
|
-
IndexesTest: test_suggest
|
1854
|
-
-------------------------
|
1855
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1856
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1857
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1858
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:22:14.707730"], ["updated_at", "2016-11-30 22:22:14.707730"]]
|
1859
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1860
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1861
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1863
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1864
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Stratocaster"], ["shop_id", 50], ["created_at", "2016-11-30 22:22:14.718566"], ["updated_at", "2016-11-30 22:22:14.718566"]]
|
1865
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1866
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1867
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1868
|
-
---------------------------------
|
1869
|
-
SearchTest: test_with_and_without
|
1870
|
-
---------------------------------
|
1871
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1872
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1873
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1874
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1876
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1877
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:22:16.791031"], ["updated_at", "2016-11-30 22:22:16.791031"]]
|
1878
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1879
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1880
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1882
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1883
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:22:16.802590"], ["updated_at", "2016-11-30 22:22:16.802590"]]
|
1884
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1885
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)[0m
|
1886
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
|
1887
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1888
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1889
|
-
-------------------------
|
1890
|
-
SearchTest: test_includes
|
1891
|
-
-------------------------
|
1892
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1893
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1894
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1895
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1897
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1898
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 51], ["created_at", "2016-11-30 22:22:18.866159"], ["updated_at", "2016-11-30 22:22:18.866159"]]
|
1899
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1900
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 47[0m
|
1901
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (51)
|
1902
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1903
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1904
|
-
---------------------------
|
1905
|
-
SearchTest: test_pagination
|
1906
|
-
---------------------------
|
1907
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1908
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1909
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1910
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1912
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1913
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:22:20.936228"], ["updated_at", "2016-11-30 22:22:20.936228"]]
|
1914
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1915
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1916
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1918
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1919
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:22:20.948649"], ["updated_at", "2016-11-30 22:22:20.948649"]]
|
1920
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1921
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1922
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1924
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
|
1925
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
1926
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
1927
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
1928
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
1929
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
1930
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
1931
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1932
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1933
|
-
----------------------
|
1934
|
-
SearchTest: test_order
|
1935
|
-
----------------------
|
1936
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1937
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1938
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1939
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1941
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1942
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1944
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1945
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1947
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1948
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1950
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
1951
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1952
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1953
|
-
--------------------
|
1954
|
-
DslTest: test_search
|
1955
|
-
--------------------
|
1956
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1957
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1958
|
-
--------------------------
|
1959
|
-
GeneratorsTest: test_index
|
1960
|
-
--------------------------
|
1961
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1962
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1963
|
-
----------------------------
|
1964
|
-
GeneratorsTest: test_install
|
1965
|
-
----------------------------
|
1966
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1967
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1968
|
-
---------------------
|
1969
|
-
TasksTest: test_build
|
1970
|
-
---------------------
|
1971
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1972
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1973
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1974
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1975
|
-
-----------------------
|
1976
|
-
TasksTest: test_rebuild
|
1977
|
-
-----------------------
|
1978
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1979
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1980
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
1981
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
1982
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1983
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1984
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1985
|
-
--------------------
|
1986
|
-
DslTest: test_search
|
1987
|
-
--------------------
|
1988
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1989
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1990
|
-
-------------------------
|
1991
|
-
RecordTest: test_indexing
|
1992
|
-
-------------------------
|
1993
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
1994
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
1995
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1996
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1998
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1999
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2001
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2002
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2003
|
-
-----------------------
|
2004
|
-
TasksTest: test_rebuild
|
2005
|
-
-----------------------
|
2006
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2007
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2008
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2009
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2010
|
-
---------------------
|
2011
|
-
TasksTest: test_build
|
2012
|
-
---------------------
|
2013
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2014
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2015
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2016
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2017
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2018
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2019
|
-
----------------------
|
2020
|
-
SearchTest: test_order
|
2021
|
-
----------------------
|
2022
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2023
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2024
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2025
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2027
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2028
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2030
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
2031
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2033
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2034
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2036
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2037
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2038
|
-
---------------------------
|
2039
|
-
SearchTest: test_pagination
|
2040
|
-
---------------------------
|
2041
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2042
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2043
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2044
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2046
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2047
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:23:07.304882"], ["updated_at", "2016-11-30 22:23:07.304882"]]
|
2048
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2049
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2050
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2052
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2053
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:23:07.317722"], ["updated_at", "2016-11-30 22:23:07.317722"]]
|
2054
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2055
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2056
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2058
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2059
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2060
|
-
-------------------------
|
2061
|
-
SearchTest: test_includes
|
2062
|
-
-------------------------
|
2063
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2064
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2065
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2066
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:23:09.379301"], ["updated_at", "2016-11-30 22:23:09.379301"]]
|
2067
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2068
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2069
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2071
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2072
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2073
|
-
---------------------------------
|
2074
|
-
SearchTest: test_with_and_without
|
2075
|
-
---------------------------------
|
2076
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2077
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2078
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2079
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:23:11.439541"], ["updated_at", "2016-11-30 22:23:11.439541"]]
|
2080
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2081
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2082
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2084
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2085
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:23:11.450575"], ["updated_at", "2016-11-30 22:23:11.450575"]]
|
2086
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2087
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2088
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2090
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2091
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2092
|
-
--------------------------
|
2093
|
-
GeneratorsTest: test_index
|
2094
|
-
--------------------------
|
2095
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2096
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2097
|
-
----------------------------
|
2098
|
-
GeneratorsTest: test_install
|
2099
|
-
----------------------------
|
2100
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2101
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2102
|
-
-------------------------
|
2103
|
-
IndexesTest: test_suggest
|
2104
|
-
-------------------------
|
2105
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2106
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2107
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2108
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:23:13.534759"], ["updated_at", "2016-11-30 22:23:13.534759"]]
|
2109
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2110
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2111
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2113
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2114
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Stratocaster"], ["shop_id", 56], ["created_at", "2016-11-30 22:23:13.550488"], ["updated_at", "2016-11-30 22:23:13.550488"]]
|
2115
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2116
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2117
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2118
|
-
-----------------------
|
2119
|
-
IndexesTest: test_exist
|
2120
|
-
-----------------------
|
2121
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2122
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2123
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2124
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2125
|
-
---------------------------
|
2126
|
-
IndexesTest: test_namespace
|
2127
|
-
---------------------------
|
2128
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2129
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2130
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2131
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2132
|
-
----------------------
|
2133
|
-
IndexesTest: test_find
|
2134
|
-
----------------------
|
2135
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2136
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2137
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2138
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2139
|
-
[1m[35m (0.3ms)[0m BEGIN
|
2140
|
-
-----------------------
|
2141
|
-
IndexesTest: test_exist
|
2142
|
-
-----------------------
|
2143
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2144
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2145
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2146
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2147
|
-
---------------------------
|
2148
|
-
IndexesTest: test_namespace
|
2149
|
-
---------------------------
|
2150
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2151
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2152
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2153
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2154
|
-
-------------------------
|
2155
|
-
IndexesTest: test_suggest
|
2156
|
-
-------------------------
|
2157
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2158
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2159
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2160
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2162
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2163
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2165
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2166
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2168
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
2169
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2170
|
-
----------------------
|
2171
|
-
IndexesTest: test_find
|
2172
|
-
----------------------
|
2173
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2174
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2175
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2176
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2177
|
-
--------------------
|
2178
|
-
DslTest: test_search
|
2179
|
-
--------------------
|
2180
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
2181
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2182
|
-
---------------------------------
|
2183
|
-
SearchTest: test_with_and_without
|
2184
|
-
---------------------------------
|
2185
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2186
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2187
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2188
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:23:29.450243"], ["updated_at", "2016-11-30 22:23:29.450243"]]
|
2189
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2190
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2191
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2193
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2194
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:23:29.461387"], ["updated_at", "2016-11-30 22:23:29.461387"]]
|
2195
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2196
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2197
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2199
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
|
2200
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)[0m
|
2201
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2202
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2203
|
-
----------------------
|
2204
|
-
SearchTest: test_order
|
2205
|
-
----------------------
|
2206
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2207
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2208
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2209
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:23:31.530300"], ["updated_at", "2016-11-30 22:23:31.530300"]]
|
2210
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2211
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2212
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2214
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2215
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2217
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2218
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2220
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
2221
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2222
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
2223
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2224
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
2225
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2226
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2227
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2228
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2229
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2230
|
-
---------------------------
|
2231
|
-
SearchTest: test_pagination
|
2232
|
-
---------------------------
|
2233
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2234
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2235
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2236
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-11-30 22:23:34.194085"], ["updated_at", "2016-11-30 22:23:34.194085"]]
|
2237
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2238
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2239
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2241
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2242
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-11-30 22:23:34.207771"], ["updated_at", "2016-11-30 22:23:34.207771"]]
|
2243
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2244
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2245
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2247
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2248
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-11-30 22:23:34.219661"], ["updated_at", "2016-11-30 22:23:34.219661"]]
|
2249
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2250
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)[0m
|
2251
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
2252
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
2253
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
2254
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
2255
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
2256
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
2257
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
2258
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2259
|
-
-------------------------
|
2260
|
-
SearchTest: test_includes
|
2261
|
-
-------------------------
|
2262
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2263
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2264
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2265
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-11-30 22:23:36.319849"], ["updated_at", "2016-11-30 22:23:36.319849"]]
|
2266
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2267
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2268
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2270
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 54
|
2271
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (59)[0m
|
2272
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
2273
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2274
|
-
-------------------------
|
2275
|
-
RecordTest: test_indexing
|
2276
|
-
-------------------------
|
2277
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2278
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2279
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2280
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-11-30 22:23:38.404430"], ["updated_at", "2016-11-30 22:23:38.404430"]]
|
2281
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2282
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2283
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2285
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 55
|
2286
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2287
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "products" WHERE "products"."id" = $1 [["id", 55]]
|
2288
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2289
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 55
|
2290
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2291
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2292
|
-
---------------------
|
2293
|
-
TasksTest: test_build
|
2294
|
-
---------------------
|
2295
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2296
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2297
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2298
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2299
|
-
-----------------------
|
2300
|
-
TasksTest: test_rebuild
|
2301
|
-
-----------------------
|
2302
|
-
[1m[36mProduct Load (0.9ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2303
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2304
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2305
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2306
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2307
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2308
|
-
--------------------------
|
2309
|
-
GeneratorsTest: test_index
|
2310
|
-
--------------------------
|
2311
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2312
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2313
|
-
----------------------------
|
2314
|
-
GeneratorsTest: test_install
|
2315
|
-
----------------------------
|
2316
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2317
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2318
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2319
|
-
--------------------
|
2320
|
-
DslTest: test_search
|
2321
|
-
--------------------
|
2322
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2323
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2324
|
-
----------------------
|
2325
|
-
SearchTest: test_order
|
2326
|
-
----------------------
|
2327
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2328
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2329
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2330
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2332
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2333
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2335
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2336
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2338
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2339
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2341
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2342
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2343
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2344
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2345
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2346
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2347
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2348
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2349
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2350
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2351
|
-
---------------------------
|
2352
|
-
SearchTest: test_pagination
|
2353
|
-
---------------------------
|
2354
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2355
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2356
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2357
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2359
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2360
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:41:45.672093"], ["updated_at", "2016-11-30 22:41:45.672093"]]
|
2361
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2362
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2363
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2365
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2366
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:41:45.682331"], ["updated_at", "2016-11-30 22:41:45.682331"]]
|
2367
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2368
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2369
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2371
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
|
2372
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
2373
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
2374
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
2375
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
2376
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
2377
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
2378
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2379
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2380
|
-
---------------------------------
|
2381
|
-
SearchTest: test_with_and_without
|
2382
|
-
---------------------------------
|
2383
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2384
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2385
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2386
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2388
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2389
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-11-30 22:41:47.777938"], ["updated_at", "2016-11-30 22:41:47.777938"]]
|
2390
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2391
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2392
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2394
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2395
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-11-30 22:41:47.787988"], ["updated_at", "2016-11-30 22:41:47.787988"]]
|
2396
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2397
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)[0m
|
2398
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
|
2399
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2400
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2401
|
-
-------------------------
|
2402
|
-
SearchTest: test_includes
|
2403
|
-
-------------------------
|
2404
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2405
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2406
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2407
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2409
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2410
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 62], ["created_at", "2016-11-30 22:41:49.846135"], ["updated_at", "2016-11-30 22:41:49.846135"]]
|
2411
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2412
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 56[0m
|
2413
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (62)
|
2414
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2415
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2416
|
-
-------------------------
|
2417
|
-
IndexesTest: test_suggest
|
2418
|
-
-------------------------
|
2419
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2420
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2421
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2422
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2424
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2425
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2427
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2428
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2430
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2431
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2432
|
-
---------------------------
|
2433
|
-
IndexesTest: test_namespace
|
2434
|
-
---------------------------
|
2435
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2436
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2437
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2438
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2439
|
-
-----------------------
|
2440
|
-
IndexesTest: test_exist
|
2441
|
-
-----------------------
|
2442
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2443
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2444
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
2445
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2446
|
-
----------------------
|
2447
|
-
IndexesTest: test_find
|
2448
|
-
----------------------
|
2449
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2450
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2451
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
2452
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2453
|
-
----------------------------
|
2454
|
-
GeneratorsTest: test_install
|
2455
|
-
----------------------------
|
2456
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2457
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2458
|
-
--------------------------
|
2459
|
-
GeneratorsTest: test_index
|
2460
|
-
--------------------------
|
2461
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2462
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2463
|
-
-------------------------
|
2464
|
-
RecordTest: test_indexing
|
2465
|
-
-------------------------
|
2466
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2467
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2468
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2469
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-11-30 22:41:54.147764"], ["updated_at", "2016-11-30 22:41:54.147764"]]
|
2470
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2471
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2472
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2474
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 59
|
2475
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2476
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "products" WHERE "products"."id" = $1 [["id", 59]]
|
2477
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2478
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 59
|
2479
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2480
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2481
|
-
-----------------------
|
2482
|
-
TasksTest: test_rebuild
|
2483
|
-
-----------------------
|
2484
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2485
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2486
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2487
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2488
|
-
---------------------
|
2489
|
-
TasksTest: test_build
|
2490
|
-
---------------------
|
2491
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2492
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2493
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2494
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2495
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2496
|
-
[1m[36mActiveRecord::SchemaMigration Load (28.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2497
|
-
[1m[35m (1.2ms)[0m BEGIN
|
2498
|
-
--------------------
|
2499
|
-
DslTest: test_search
|
2500
|
-
--------------------
|
2501
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2502
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2503
|
-
---------------------------
|
2504
|
-
DslTest: test_serialization
|
2505
|
-
---------------------------
|
2506
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2507
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2508
|
-
-------------------------
|
2509
|
-
RecordTest: test_indexing
|
2510
|
-
-------------------------
|
2511
|
-
[1m[36mProduct Load (2.0ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2512
|
-
[1m[35mShop Load (0.9ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2513
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2514
|
-
[1m[35mSQL (7.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2516
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2517
|
-
[1m[36mSQL (13.8ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2519
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 60[0m
|
2520
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2521
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 60]]
|
2522
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2523
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 60[0m
|
2524
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2525
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2526
|
-
-------------------------
|
2527
|
-
SearchTest: test_includes
|
2528
|
-
-------------------------
|
2529
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2530
|
-
[1m[36mShop Load (0.8ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2531
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2532
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 17:59:45.559710"], ["updated_at", "2016-12-06 17:59:45.559710"]]
|
2533
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2534
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2535
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2537
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 61
|
2538
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (66)[0m
|
2539
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2540
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2541
|
-
---------------------------------
|
2542
|
-
SearchTest: test_with_and_without
|
2543
|
-
---------------------------------
|
2544
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2545
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2546
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2547
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-12-06 17:59:47.672905"], ["updated_at", "2016-12-06 17:59:47.672905"]]
|
2548
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2549
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
2550
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2552
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
2553
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-12-06 17:59:47.688895"], ["updated_at", "2016-12-06 17:59:47.688895"]]
|
2554
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2555
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
2556
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2558
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
|
2559
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)[0m
|
2560
|
-
[1m[35m (0.9ms)[0m ROLLBACK
|
2561
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2562
|
-
----------------------
|
2563
|
-
SearchTest: test_order
|
2564
|
-
----------------------
|
2565
|
-
[1m[35mProduct Load (1.1ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2566
|
-
[1m[36mShop Load (0.9ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2567
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2568
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 17:59:49.821040"], ["updated_at", "2016-12-06 17:59:49.821040"]]
|
2569
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2570
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
2571
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2573
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
2574
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2576
|
-
[1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
|
2577
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2579
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
2580
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2581
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
2582
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2583
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
2584
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2585
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2586
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2587
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2588
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2589
|
-
---------------------------
|
2590
|
-
SearchTest: test_pagination
|
2591
|
-
---------------------------
|
2592
|
-
[1m[35mProduct Load (1.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2593
|
-
[1m[36mShop Load (1.5ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2594
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2595
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-12-06 17:59:52.523668"], ["updated_at", "2016-12-06 17:59:52.523668"]]
|
2596
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2597
|
-
[1m[36m (0.9ms)[0m [1mSAVEPOINT active_record_1[0m
|
2598
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2600
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2601
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-12-06 17:59:52.539984"], ["updated_at", "2016-12-06 17:59:52.539984"]]
|
2602
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2603
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
2604
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2606
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
2607
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-12-06 17:59:52.554737"], ["updated_at", "2016-12-06 17:59:52.554737"]]
|
2608
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2609
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)[0m
|
2610
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
2611
|
-
[1m[36mShop Load (0.7ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
2612
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
2613
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
2614
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
2615
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
2616
|
-
[1m[35m (0.9ms)[0m ROLLBACK
|
2617
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2618
|
-
-------------------------
|
2619
|
-
GeneratorTest: test_index
|
2620
|
-
-------------------------
|
2621
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2622
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2623
|
-
---------------------------
|
2624
|
-
GeneratorTest: test_install
|
2625
|
-
---------------------------
|
2626
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2627
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
2628
|
-
--------------------
|
2629
|
-
IndexTest: test_find
|
2630
|
-
--------------------
|
2631
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2632
|
-
[1m[36mShop Load (0.7ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2633
|
-
[1m[35m (1.1ms)[0m ROLLBACK
|
2634
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2635
|
-
-------------------------
|
2636
|
-
IndexTest: test_namespace
|
2637
|
-
-------------------------
|
2638
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2639
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2640
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2641
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2642
|
-
-----------------------
|
2643
|
-
IndexTest: test_suggest
|
2644
|
-
-----------------------
|
2645
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2646
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2647
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2648
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 17:59:54.874704"], ["updated_at", "2016-12-06 17:59:54.874704"]]
|
2649
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2650
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2651
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2653
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
2654
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Stratocaster"], ["shop_id", 68], ["created_at", "2016-12-06 17:59:54.907296"], ["updated_at", "2016-12-06 17:59:54.907296"]]
|
2655
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2656
|
-
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
2657
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2658
|
-
---------------------
|
2659
|
-
IndexTest: test_exist
|
2660
|
-
---------------------
|
2661
|
-
[1m[36mProduct Load (1.2ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2662
|
-
[1m[35mShop Load (0.7ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2663
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
2664
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2665
|
-
--------------------
|
2666
|
-
TaskTest: test_build
|
2667
|
-
--------------------
|
2668
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2669
|
-
[1m[35mShop Load (0.7ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2670
|
-
[1m[36m (1.5ms)[0m [1mROLLBACK[0m
|
2671
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2672
|
-
----------------------
|
2673
|
-
TaskTest: test_rebuild
|
2674
|
-
----------------------
|
2675
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2676
|
-
[1m[35mShop Load (0.8ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2677
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2678
|
-
[1m[35mShop Load (0.7ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2679
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2680
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2681
|
-
[1m[35m (0.4ms)[0m BEGIN
|
2682
|
-
-------------------------
|
2683
|
-
RecordTest: test_indexing
|
2684
|
-
-------------------------
|
2685
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2686
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2687
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2688
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2690
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2691
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2693
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 64[0m
|
2694
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2695
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 64]]
|
2696
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2697
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 64[0m
|
2698
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2699
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2700
|
-
--------------------
|
2701
|
-
IndexTest: test_find
|
2702
|
-
--------------------
|
2703
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2704
|
-
[1m[36mShop Load (0.7ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2705
|
-
[1m[35m (1.0ms)[0m ROLLBACK
|
2706
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2707
|
-
-------------------------
|
2708
|
-
IndexTest: test_namespace
|
2709
|
-
-------------------------
|
2710
|
-
[1m[35mProduct Load (1.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2711
|
-
[1m[36mShop Load (0.9ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2712
|
-
[1m[35m (1.0ms)[0m ROLLBACK
|
2713
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2714
|
-
-----------------------
|
2715
|
-
IndexTest: test_suggest
|
2716
|
-
-----------------------
|
2717
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2718
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2719
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2720
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 18:00:16.116927"], ["updated_at", "2016-12-06 18:00:16.116927"]]
|
2721
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2722
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2723
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2725
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
2726
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Stratocaster"], ["shop_id", 70], ["created_at", "2016-12-06 18:00:16.135184"], ["updated_at", "2016-12-06 18:00:16.135184"]]
|
2727
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2728
|
-
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
2729
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2730
|
-
---------------------
|
2731
|
-
IndexTest: test_exist
|
2732
|
-
---------------------
|
2733
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2734
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2735
|
-
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
2736
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2737
|
-
---------------------------------
|
2738
|
-
SearchTest: test_with_and_without
|
2739
|
-
---------------------------------
|
2740
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2741
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2742
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2743
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2745
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
2746
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-12-06 18:00:18.287146"], ["updated_at", "2016-12-06 18:00:18.287146"]]
|
2747
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2748
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
2749
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2751
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
2752
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-12-06 18:00:18.300134"], ["updated_at", "2016-12-06 18:00:18.300134"]]
|
2753
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2754
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)[0m
|
2755
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
|
2756
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
2757
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2758
|
-
-------------------------
|
2759
|
-
SearchTest: test_includes
|
2760
|
-
-------------------------
|
2761
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2762
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2763
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2764
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2766
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2767
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 71], ["created_at", "2016-12-06 18:00:20.373345"], ["updated_at", "2016-12-06 18:00:20.373345"]]
|
2768
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2769
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 67[0m
|
2770
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (71)
|
2771
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
2772
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2773
|
-
----------------------
|
2774
|
-
SearchTest: test_order
|
2775
|
-
----------------------
|
2776
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2777
|
-
[1m[35mShop Load (0.7ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2778
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2779
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2781
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
2782
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2784
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
2785
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2787
|
-
[1m[35m (1.2ms)[0m SAVEPOINT active_record_1
|
2788
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2790
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2791
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2792
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2793
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2794
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2795
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2796
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2797
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2798
|
-
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
2799
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2800
|
-
---------------------------
|
2801
|
-
SearchTest: test_pagination
|
2802
|
-
---------------------------
|
2803
|
-
[1m[36mProduct Load (0.9ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2804
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2805
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2806
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2808
|
-
[1m[35m (0.9ms)[0m SAVEPOINT active_record_1
|
2809
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-12-06 18:00:24.602923"], ["updated_at", "2016-12-06 18:00:24.602923"]]
|
2810
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2811
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
2812
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2814
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
2815
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-12-06 18:00:24.620916"], ["updated_at", "2016-12-06 18:00:24.620916"]]
|
2816
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2817
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
2818
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2820
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
|
2821
|
-
[1m[36mShop Load (0.8ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
2822
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
2823
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
2824
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
2825
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
2826
|
-
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
2827
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2828
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2829
|
-
---------------------------
|
2830
|
-
GeneratorTest: test_install
|
2831
|
-
---------------------------
|
2832
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2833
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2834
|
-
-------------------------
|
2835
|
-
GeneratorTest: test_index
|
2836
|
-
-------------------------
|
2837
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2838
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2839
|
-
----------------------
|
2840
|
-
TaskTest: test_rebuild
|
2841
|
-
----------------------
|
2842
|
-
[1m[36mProduct Load (1.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2843
|
-
[1m[35mShop Load (0.9ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2844
|
-
[1m[36m (1.2ms)[0m [1mROLLBACK[0m
|
2845
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2846
|
-
--------------------
|
2847
|
-
TaskTest: test_build
|
2848
|
-
--------------------
|
2849
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2850
|
-
[1m[35mShop Load (0.8ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2851
|
-
[1m[36mProduct Load (1.1ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2852
|
-
[1m[35mShop Load (0.8ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2853
|
-
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
2854
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2855
|
-
--------------------
|
2856
|
-
DslTest: test_search
|
2857
|
-
--------------------
|
2858
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2859
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2860
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2861
|
-
---------------------
|
2862
|
-
IndexTest: test_exist
|
2863
|
-
---------------------
|
2864
|
-
[1m[36mProduct Load (0.8ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2865
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2866
|
-
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
2867
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2868
|
-
-------------------------
|
2869
|
-
IndexTest: test_namespace
|
2870
|
-
-------------------------
|
2871
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2872
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2873
|
-
[1m[36m (1.3ms)[0m [1mROLLBACK[0m
|
2874
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2875
|
-
-----------------------
|
2876
|
-
IndexTest: test_suggest
|
2877
|
-
-----------------------
|
2878
|
-
[1m[36mProduct Load (0.9ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2879
|
-
[1m[35mShop Load (0.9ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2880
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2881
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2883
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2884
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2886
|
-
[1m[36m (1.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2887
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2889
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2890
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2891
|
-
--------------------
|
2892
|
-
IndexTest: test_find
|
2893
|
-
--------------------
|
2894
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2895
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2896
|
-
[1m[35m (1.0ms)[0m ROLLBACK
|
2897
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2898
|
-
--------------------
|
2899
|
-
TaskTest: test_build
|
2900
|
-
--------------------
|
2901
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2902
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2903
|
-
[1m[35m (0.7ms)[0m ROLLBACK
|
2904
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2905
|
-
----------------------
|
2906
|
-
TaskTest: test_rebuild
|
2907
|
-
----------------------
|
2908
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2909
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2910
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2911
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2912
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
2913
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2914
|
-
-------------------------
|
2915
|
-
RecordTest: test_indexing
|
2916
|
-
-------------------------
|
2917
|
-
[1m[35mProduct Load (1.1ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
2918
|
-
[1m[36mShop Load (0.9ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
2919
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2920
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-12-06 19:27:49.276733"], ["updated_at", "2016-12-06 19:27:49.276733"]]
|
2921
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2922
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2923
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2925
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 70
|
2926
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2927
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "products" WHERE "products"."id" = $1 [["id", 70]]
|
2928
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2929
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 70
|
2930
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
2931
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2932
|
-
--------------------
|
2933
|
-
DslTest: test_search
|
2934
|
-
--------------------
|
2935
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2936
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2937
|
-
----------------------
|
2938
|
-
SearchTest: test_order
|
2939
|
-
----------------------
|
2940
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2941
|
-
[1m[35mShop Load (0.9ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2942
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2943
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2945
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2946
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2948
|
-
[1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
|
2949
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2951
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
2952
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2954
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2955
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2956
|
-
[1m[36mProduct Load (0.9ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2957
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2958
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
2959
|
-
[1m[35mProduct Load (1.6ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2960
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
2961
|
-
[1m[35mProduct Load (0.9ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
2962
|
-
[1m[36m (1.2ms)[0m [1mROLLBACK[0m
|
2963
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2964
|
-
---------------------------
|
2965
|
-
SearchTest: test_pagination
|
2966
|
-
---------------------------
|
2967
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2968
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2969
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2970
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2972
|
-
[1m[35m (0.9ms)[0m SAVEPOINT active_record_1
|
2973
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-12-06 19:27:53.570865"], ["updated_at", "2016-12-06 19:27:53.570865"]]
|
2974
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2975
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
2976
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2978
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
2979
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-12-06 19:27:53.583619"], ["updated_at", "2016-12-06 19:27:53.583619"]]
|
2980
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2981
|
-
[1m[36m (1.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2982
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2984
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
|
2985
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
2986
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
2987
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
2988
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
2989
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
2990
|
-
[1m[35mShop Load (0.7ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
2991
|
-
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
2992
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2993
|
-
-------------------------
|
2994
|
-
SearchTest: test_includes
|
2995
|
-
-------------------------
|
2996
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
2997
|
-
[1m[35mShop Load (0.8ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
2998
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2999
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3001
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3002
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 76], ["created_at", "2016-12-06 19:27:55.686508"], ["updated_at", "2016-12-06 19:27:55.686508"]]
|
3003
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3004
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 71[0m
|
3005
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (76)
|
3006
|
-
[1m[36m (3.5ms)[0m [1mROLLBACK[0m
|
3007
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3008
|
-
---------------------------------
|
3009
|
-
SearchTest: test_with_and_without
|
3010
|
-
---------------------------------
|
3011
|
-
[1m[36mProduct Load (1.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3012
|
-
[1m[35mShop Load (0.7ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3013
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3014
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3016
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
3017
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-12-06 19:27:57.826613"], ["updated_at", "2016-12-06 19:27:57.826613"]]
|
3018
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3019
|
-
[1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
|
3020
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3022
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
3023
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-12-06 19:27:57.842631"], ["updated_at", "2016-12-06 19:27:57.842631"]]
|
3024
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3025
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)[0m
|
3026
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
|
3027
|
-
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
3028
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3029
|
-
-------------------------
|
3030
|
-
GeneratorTest: test_index
|
3031
|
-
-------------------------
|
3032
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3033
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3034
|
-
---------------------------
|
3035
|
-
GeneratorTest: test_install
|
3036
|
-
---------------------------
|
3037
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3038
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3039
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3040
|
-
--------------------
|
3041
|
-
DslTest: test_search
|
3042
|
-
--------------------
|
3043
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3044
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3045
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3046
|
-
--------------------
|
3047
|
-
DslTest: test_search
|
3048
|
-
--------------------
|
3049
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3050
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3051
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3052
|
-
--------------------
|
3053
|
-
DslTest: test_search
|
3054
|
-
--------------------
|
3055
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3056
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3057
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3058
|
-
--------------------
|
3059
|
-
DslTest: test_search
|
3060
|
-
--------------------
|
3061
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3062
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3063
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3064
|
-
--------------------
|
3065
|
-
DslTest: test_search
|
3066
|
-
--------------------
|
3067
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3068
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3070
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3071
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3072
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3073
|
-
--------------------
|
3074
|
-
DslTest: test_search
|
3075
|
-
--------------------
|
3076
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3077
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3079
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
3080
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3081
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3082
|
-
--------------------
|
3083
|
-
DslTest: test_search
|
3084
|
-
--------------------
|
3085
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3086
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3088
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3089
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3090
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3091
|
-
--------------------
|
3092
|
-
DslTest: test_search
|
3093
|
-
--------------------
|
3094
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3095
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3097
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3098
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3099
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3100
|
-
-------------------------
|
3101
|
-
SearchTest: test_includes
|
3102
|
-
-------------------------
|
3103
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3104
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3105
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3106
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3108
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3109
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Test"], ["shop_id", 81], ["created_at", "2016-12-06 20:13:26.346145"], ["updated_at", "2016-12-06 20:13:26.346145"]]
|
3110
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3111
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 72[0m
|
3112
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (81)
|
3113
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
3114
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3115
|
-
---------------------------
|
3116
|
-
SearchTest: test_pagination
|
3117
|
-
---------------------------
|
3118
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3119
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3120
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3121
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3123
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
3124
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-12-06 20:13:28.459078"], ["updated_at", "2016-12-06 20:13:28.459078"]]
|
3125
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3126
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
3127
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3129
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
3130
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-12-06 20:13:28.472170"], ["updated_at", "2016-12-06 20:13:28.472170"]]
|
3131
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3132
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
3133
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3135
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)
|
3136
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
3137
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
3138
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
3139
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
3140
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
3141
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
3142
|
-
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
3143
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3144
|
-
---------------------------------
|
3145
|
-
SearchTest: test_with_and_without
|
3146
|
-
---------------------------------
|
3147
|
-
[1m[36mProduct Load (0.9ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3148
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3149
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3150
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3152
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
3153
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 2], ["created_at", "2016-12-06 20:13:30.595360"], ["updated_at", "2016-12-06 20:13:30.595360"]]
|
3154
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3155
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
3156
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3158
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
3159
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 4], ["created_at", "2016-12-06 20:13:30.609282"], ["updated_at", "2016-12-06 20:13:30.609282"]]
|
3160
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3161
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)[0m
|
3162
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)
|
3163
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
3164
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3165
|
-
----------------------
|
3166
|
-
SearchTest: test_order
|
3167
|
-
----------------------
|
3168
|
-
[1m[36mProduct Load (0.8ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3169
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3170
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3171
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3173
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
3174
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3176
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
3177
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3179
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
3180
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3182
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
3183
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
3184
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
3185
|
-
[1m[35mProduct Load (1.1ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
3186
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)[0m
|
3187
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
3188
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3189
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
3190
|
-
[1m[36m (1.3ms)[0m [1mROLLBACK[0m
|
3191
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3192
|
-
---------------------
|
3193
|
-
IndexTest: test_exist
|
3194
|
-
---------------------
|
3195
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3196
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3197
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3198
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3199
|
-
-------------------------
|
3200
|
-
IndexTest: test_namespace
|
3201
|
-
-------------------------
|
3202
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3203
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3204
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
3205
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3206
|
-
-----------------------
|
3207
|
-
IndexTest: test_suggest
|
3208
|
-
-----------------------
|
3209
|
-
[1m[36mProduct Load (1.0ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3210
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3211
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3212
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3214
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3215
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3217
|
-
[1m[36m (1.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3218
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3220
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
3221
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3222
|
-
--------------------
|
3223
|
-
IndexTest: test_find
|
3224
|
-
--------------------
|
3225
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3226
|
-
[1m[36mShop Load (0.8ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3227
|
-
[1m[35m (1.1ms)[0m ROLLBACK
|
3228
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3229
|
-
--------------------
|
3230
|
-
DslTest: test_search
|
3231
|
-
--------------------
|
3232
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3233
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 20:13:37.037672"], ["updated_at", "2016-12-06 20:13:37.037672"]]
|
3234
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3235
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3236
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3237
|
-
---------------------------
|
3238
|
-
GeneratorTest: test_install
|
3239
|
-
---------------------------
|
3240
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
3241
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3242
|
-
-------------------------
|
3243
|
-
GeneratorTest: test_index
|
3244
|
-
-------------------------
|
3245
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3246
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3247
|
-
-------------------------
|
3248
|
-
RecordTest: test_indexing
|
3249
|
-
-------------------------
|
3250
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3251
|
-
[1m[35mShop Load (1.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3252
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3253
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3255
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3256
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3258
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 75[0m
|
3259
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3260
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 75]]
|
3261
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3262
|
-
[1m[36mProduct Load (0.8ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 75[0m
|
3263
|
-
[1m[35m (1.2ms)[0m ROLLBACK
|
3264
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3265
|
-
----------------------
|
3266
|
-
TaskTest: test_rebuild
|
3267
|
-
----------------------
|
3268
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3269
|
-
[1m[36mShop Load (0.7ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3270
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
3271
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3272
|
-
--------------------
|
3273
|
-
TaskTest: test_build
|
3274
|
-
--------------------
|
3275
|
-
[1m[35mProduct Load (0.9ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3276
|
-
[1m[36mShop Load (0.8ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3277
|
-
[1m[35mProduct Load (0.6ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3278
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3279
|
-
[1m[35m (1.0ms)[0m ROLLBACK
|
3280
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3281
|
-
[1m[35m (0.3ms)[0m BEGIN
|
3282
|
-
-------------------------
|
3283
|
-
RecordTest: test_indexing
|
3284
|
-
-------------------------
|
3285
|
-
[1m[36mProduct Load (0.6ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3286
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3287
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3288
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3290
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3291
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("name", "category", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3293
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = 76[0m
|
3294
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3295
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "products" WHERE "products"."id" = $1[0m [["id", 76]]
|
3296
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3297
|
-
[1m[36mProduct Load (0.5ms)[0m [1mSELECT "products".* FROM "products" WHERE 1=0[0m
|
3298
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
3299
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3300
|
-
-------------------------
|
3301
|
-
IndexTest: test_namespace
|
3302
|
-
-------------------------
|
3303
|
-
[1m[35mProduct Load (1.0ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3304
|
-
[1m[36mShop Load (0.8ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3305
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
3306
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3307
|
-
---------------------
|
3308
|
-
IndexTest: test_exist
|
3309
|
-
---------------------
|
3310
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3311
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3312
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
3313
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3314
|
-
-----------------------
|
3315
|
-
IndexTest: test_suggest
|
3316
|
-
-----------------------
|
3317
|
-
[1m[35mProduct Load (1.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3318
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3319
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3320
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 20:14:11.309005"], ["updated_at", "2016-12-06 20:14:11.309005"]]
|
3321
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3322
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3323
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3325
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
3326
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Stratocaster"], ["shop_id", 87], ["created_at", "2016-12-06 20:14:11.326517"], ["updated_at", "2016-12-06 20:14:11.326517"]]
|
3327
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3328
|
-
[1m[36m (1.1ms)[0m [1mROLLBACK[0m
|
3329
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3330
|
-
--------------------
|
3331
|
-
IndexTest: test_find
|
3332
|
-
--------------------
|
3333
|
-
[1m[36mProduct Load (0.8ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3334
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3335
|
-
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
3336
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3337
|
-
--------------------
|
3338
|
-
DslTest: test_search
|
3339
|
-
--------------------
|
3340
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3341
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3343
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3344
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3345
|
-
---------------------------
|
3346
|
-
GeneratorTest: test_install
|
3347
|
-
---------------------------
|
3348
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3349
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3350
|
-
-------------------------
|
3351
|
-
GeneratorTest: test_index
|
3352
|
-
-------------------------
|
3353
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3354
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3355
|
-
--------------------
|
3356
|
-
TaskTest: test_build
|
3357
|
-
--------------------
|
3358
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3359
|
-
[1m[36mShop Load (0.8ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3360
|
-
[1m[35m (0.9ms)[0m ROLLBACK
|
3361
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3362
|
-
----------------------
|
3363
|
-
TaskTest: test_rebuild
|
3364
|
-
----------------------
|
3365
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3366
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3367
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3368
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3369
|
-
[1m[35m (0.7ms)[0m ROLLBACK
|
3370
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3371
|
-
-------------------------
|
3372
|
-
SearchTest: test_includes
|
3373
|
-
-------------------------
|
3374
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3375
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3376
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3377
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 20:14:13.649167"], ["updated_at", "2016-12-06 20:14:13.649167"]]
|
3378
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3379
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3380
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3382
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 79
|
3383
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (89)[0m
|
3384
|
-
[1m[35m (0.7ms)[0m ROLLBACK
|
3385
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3386
|
-
----------------------
|
3387
|
-
SearchTest: test_order
|
3388
|
-
----------------------
|
3389
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3390
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3391
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3392
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-06 20:14:15.725907"], ["updated_at", "2016-12-06 20:14:15.725907"]]
|
3393
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3394
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3395
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3397
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
3398
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3400
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3401
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3403
|
-
[1m[35mProduct Load (0.9ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
3404
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3405
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
3406
|
-
[1m[36mProduct Load (0.8ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3407
|
-
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
3408
|
-
[1m[36mProduct Load (0.8ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3409
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
3410
|
-
[1m[36mProduct Load (0.8ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3411
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
3412
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3413
|
-
---------------------------
|
3414
|
-
SearchTest: test_pagination
|
3415
|
-
---------------------------
|
3416
|
-
[1m[35mProduct Load (0.9ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3417
|
-
[1m[36mShop Load (0.8ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3418
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3419
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-12-06 20:14:17.970975"], ["updated_at", "2016-12-06 20:14:17.970975"]]
|
3420
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3421
|
-
[1m[36m (1.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3422
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3424
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
3425
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-12-06 20:14:18.233350"], ["updated_at", "2016-12-06 20:14:18.233350"]]
|
3426
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3427
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
3428
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3430
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
3431
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-12-06 20:14:18.465707"], ["updated_at", "2016-12-06 20:14:18.465707"]]
|
3432
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3433
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)[0m
|
3434
|
-
[1m[35mShop Load (0.6ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
3435
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
3436
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
3437
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
3438
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
3439
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
3440
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
3441
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3442
|
-
---------------------------------
|
3443
|
-
SearchTest: test_with_and_without
|
3444
|
-
---------------------------------
|
3445
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3446
|
-
[1m[36mShop Load (0.7ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3447
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3448
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-12-06 20:14:20.560263"], ["updated_at", "2016-12-06 20:14:20.560263"]]
|
3449
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3450
|
-
[1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
|
3451
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3453
|
-
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
3454
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-12-06 20:14:20.573356"], ["updated_at", "2016-12-06 20:14:20.573356"]]
|
3455
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3456
|
-
[1m[36m (0.9ms)[0m [1mSAVEPOINT active_record_1[0m
|
3457
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3459
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
|
3460
|
-
[1m[36mShop Load (0.5ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)[0m
|
3461
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
3462
|
-
[1m[36mActiveRecord::SchemaMigration Load (12.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3463
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3464
|
-
--------------------
|
3465
|
-
IndexTest: test_find
|
3466
|
-
--------------------
|
3467
|
-
[1m[36mProduct Load (1.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3468
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3469
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3470
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3471
|
-
---------------------
|
3472
|
-
IndexTest: test_exist
|
3473
|
-
---------------------
|
3474
|
-
[1m[36mProduct Load (0.7ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3475
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3476
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3477
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3478
|
-
-------------------------
|
3479
|
-
IndexTest: test_namespace
|
3480
|
-
-------------------------
|
3481
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3482
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3483
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3484
|
-
[1m[35m (0.1ms)[0m BEGIN
|
3485
|
-
-----------------------
|
3486
|
-
IndexTest: test_suggest
|
3487
|
-
-----------------------
|
3488
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000[0m
|
3489
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000
|
3490
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3491
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3493
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3494
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3496
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3497
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3499
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
3500
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3501
|
-
----------------------
|
3502
|
-
SearchTest: test_order
|
3503
|
-
----------------------
|
3504
|
-
[1m[35mProduct Load (2.0ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3505
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3506
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3507
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-08 07:17:53.970899"], ["updated_at", "2016-12-08 07:17:53.970899"]]
|
3508
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3509
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3510
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3512
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3513
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("id", "name", "price", "position", "currency", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3515
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
3516
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3518
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
3519
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3520
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
3521
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3522
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (1, 2, 3)
|
3523
|
-
[1m[36mProduct Load (0.4ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3524
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)
|
3525
|
-
[1m[36mProduct Load (0.3ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" IN (3, 2, 1)[0m
|
3526
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
3527
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3528
|
-
---------------------------------
|
3529
|
-
SearchTest: test_with_and_without
|
3530
|
-
---------------------------------
|
3531
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3532
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3533
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3534
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-12-08 07:17:56.109461"], ["updated_at", "2016-12-08 07:17:56.109461"]]
|
3535
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3536
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3537
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3539
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3540
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-12-08 07:17:56.119549"], ["updated_at", "2016-12-08 07:17:56.119549"]]
|
3541
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3542
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3543
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3545
|
-
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (4, 3)
|
3546
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (2, 1)[0m
|
3547
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
3548
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3549
|
-
-------------------------
|
3550
|
-
SearchTest: test_includes
|
3551
|
-
-------------------------
|
3552
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3553
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3554
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3555
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-08 07:17:58.186957"], ["updated_at", "2016-12-08 07:17:58.186957"]]
|
3556
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3557
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3558
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3560
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 82
|
3561
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (93)[0m
|
3562
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
3563
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3564
|
-
---------------------------
|
3565
|
-
SearchTest: test_pagination
|
3566
|
-
---------------------------
|
3567
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3568
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3569
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3570
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 1], ["created_at", "2016-12-08 07:18:00.260816"], ["updated_at", "2016-12-08 07:18:00.260816"]]
|
3571
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3572
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3573
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3575
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3576
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 3], ["created_at", "2016-12-08 07:18:00.273222"], ["updated_at", "2016-12-08 07:18:00.273222"]]
|
3577
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3578
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3579
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3581
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3582
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["id", 5], ["created_at", "2016-12-08 07:18:00.284510"], ["updated_at", "2016-12-08 07:18:00.284510"]]
|
3583
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3584
|
-
[1m[36mShop Load (0.7ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (5, 4)[0m
|
3585
|
-
[1m[35mShop Load (0.5ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)
|
3586
|
-
[1m[36mShop Load (0.9ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 1[0m
|
3587
|
-
[1m[35mShop Load (0.4ms)[0m SELECT "shops".* FROM "shops" WHERE 1=0
|
3588
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" IN (3, 2)[0m
|
3589
|
-
[1m[35mShop Load (0.9ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 1
|
3590
|
-
[1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" WHERE 1=0[0m
|
3591
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
3592
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3593
|
-
-------------------------
|
3594
|
-
RecordTest: test_indexing
|
3595
|
-
-------------------------
|
3596
|
-
[1m[35mProduct Load (0.5ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3597
|
-
[1m[36mShop Load (0.6ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3598
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3599
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shops" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Anderstons"], ["created_at", "2016-12-08 07:18:02.422517"], ["updated_at", "2016-12-08 07:18:02.422517"]]
|
3600
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3601
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3602
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3604
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 83
|
3605
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3606
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "products" WHERE "products"."id" = $1 [["id", 83]]
|
3607
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3608
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" WHERE "products"."id" = 83
|
3609
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3610
|
-
[1m[35m (0.2ms)[0m BEGIN
|
3611
|
-
--------------------
|
3612
|
-
DslTest: test_search
|
3613
|
-
--------------------
|
3614
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3615
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3617
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3618
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3619
|
-
---------------------------
|
3620
|
-
GeneratorTest: test_install
|
3621
|
-
---------------------------
|
3622
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
3623
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3624
|
-
-------------------------
|
3625
|
-
GeneratorTest: test_index
|
3626
|
-
-------------------------
|
3627
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
3628
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3629
|
-
--------------------
|
3630
|
-
TaskTest: test_build
|
3631
|
-
--------------------
|
3632
|
-
[1m[35mProduct Load (0.8ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3633
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3634
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
3635
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3636
|
-
----------------------
|
3637
|
-
TaskTest: test_rebuild
|
3638
|
-
----------------------
|
3639
|
-
[1m[35mProduct Load (0.3ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3640
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3641
|
-
[1m[35mProduct Load (0.4ms)[0m SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1000
|
3642
|
-
[1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1000[0m
|
3643
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|