indexes 0.0.1 → 4.0.0.0
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
- data/README.md +78 -58
- data/lib/generators/{indexes → index}/index_generator.rb +1 -1
- data/lib/generators/{indexes → index}/templates/index.rb +1 -1
- data/lib/generators/indexes/{install_generator.rb → install/install_generator.rb} +1 -1
- data/lib/generators/indexes/{templates → install/templates}/initializer.rb +0 -0
- data/lib/indexes.rb +12 -29
- data/lib/indexes/collection.rb +42 -51
- data/lib/indexes/configuration.rb +1 -1
- data/lib/indexes/definitions.rb +25 -0
- data/lib/indexes/dsl/{serializer.rb → serialization.rb} +3 -3
- data/lib/indexes/index.rb +3 -3
- data/lib/indexes/proxy.rb +2 -2
- data/lib/indexes/railtie.rb +3 -3
- data/lib/indexes/version.rb +1 -1
- data/test/dummy/app/indexes/products_index.rb +2 -2
- data/test/dummy/app/indexes/shops_index.rb +2 -2
- data/test/dummy/config/initializers/indexes.rb +1 -1
- data/test/dummy/log/test.log +2087 -0
- data/test/{generators_test.rb → generator_test.rb} +5 -5
- data/test/{indexes_test.rb → index_test.rb} +2 -2
- data/test/search_test.rb +3 -3
- data/test/{tasks_test.rb → task_test.rb} +1 -1
- metadata +14 -13
@@ -0,0 +1,25 @@
|
|
1
|
+
module Indexes
|
2
|
+
class Definitions
|
3
|
+
|
4
|
+
def add(*args)
|
5
|
+
index = Index.new(*args)
|
6
|
+
registry[index.name] = index
|
7
|
+
end
|
8
|
+
|
9
|
+
def find(name)
|
10
|
+
registry[name]
|
11
|
+
end
|
12
|
+
alias_method :[], :find
|
13
|
+
|
14
|
+
def each(&block)
|
15
|
+
registry.values.sort.each &block
|
16
|
+
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def registry
|
21
|
+
@registry ||= {}
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
data/lib/indexes/index.rb
CHANGED
@@ -8,7 +8,7 @@ module Indexes
|
|
8
8
|
@name = name
|
9
9
|
@type = @name.to_s.singularize
|
10
10
|
@options = options
|
11
|
-
|
11
|
+
indexify_model
|
12
12
|
end
|
13
13
|
|
14
14
|
def mappings
|
@@ -132,10 +132,10 @@ module Indexes
|
|
132
132
|
end
|
133
133
|
|
134
134
|
def serialize(record)
|
135
|
-
Dsl::
|
135
|
+
Dsl::Serialization.new(record, &options[:serialization]).to_h
|
136
136
|
end
|
137
137
|
|
138
|
-
def
|
138
|
+
def indexify_model
|
139
139
|
index = self
|
140
140
|
model.class_eval do
|
141
141
|
include Indexes::Concern
|
data/lib/indexes/proxy.rb
CHANGED
@@ -4,10 +4,10 @@ module Indexes
|
|
4
4
|
def initialize(name, options={}, &block)
|
5
5
|
@options = options
|
6
6
|
instance_eval &block
|
7
|
-
Indexes.add name, @options
|
7
|
+
Indexes.definitions.add name, @options
|
8
8
|
end
|
9
9
|
|
10
|
-
%i(mappings
|
10
|
+
%i(mappings serialization search).each do |name|
|
11
11
|
define_method name do |&block|
|
12
12
|
@options[name] = block
|
13
13
|
end
|
data/lib/indexes/railtie.rb
CHANGED
data/lib/indexes/version.rb
CHANGED
@@ -5,8 +5,8 @@ Indexes.define :products do
|
|
5
5
|
_parent type: 'shop'
|
6
6
|
end
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
serialization do |record|
|
9
|
+
extract record, :name, :category, :shop_id, :price, :currency
|
10
10
|
product_suggestions do
|
11
11
|
input [record.name, transliterate(record.name)].uniq
|
12
12
|
output record.name
|
data/test/dummy/log/test.log
CHANGED
@@ -406,3 +406,2090 @@ GeneratorsTest: test_index
|
|
406
406
|
GeneratorsTest: test_install
|
407
407
|
----------------------------
|
408
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
|