cachers 4.0.0.0 → 4.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cachers.rb +9 -0
- data/lib/cachers/base.rb +2 -9
- data/lib/cachers/concern.rb +14 -1
- data/lib/cachers/delegation.rb +17 -0
- data/lib/cachers/extensions/active_record/base.rb +20 -0
- data/lib/cachers/railtie.rb +10 -2
- data/lib/cachers/version.rb +1 -1
- data/lib/generators/{cacher → cachers/cacher}/cacher_generator.rb +2 -2
- data/lib/generators/{cacher → cachers/cacher}/templates/cacher.rb +0 -0
- data/lib/generators/cachers/install/install_generator.rb +15 -0
- data/lib/generators/cachers/install/templates/configuration.yml +15 -0
- data/test/dummy/app/cachers/user_cacher.rb +2 -2
- data/test/dummy/config/application.rb +0 -1
- data/test/dummy/config/database.yml +5 -2
- data/test/dummy/config/redis.yml +15 -0
- data/test/dummy/db/schema.rb +25 -0
- data/test/dummy/log/development.log +21 -0
- data/test/dummy/log/test.log +798 -0
- data/test/generator_test.rb +8 -1
- data/test/record_test.rb +5 -5
- data/test/task_test.rb +4 -4
- data/test/test_helper.rb +7 -0
- metadata +15 -7
- data/test/dummy/config/initializers/redis.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edcb6c84e461377ecceef69b2abd73a4e4d2d460
|
4
|
+
data.tar.gz: 0868dcde4d5a477bb0ff6775d6f3497344aa3af6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f56d8f452424143bca973d235c5540d0bc9d9ead2739280dbd9caede253bcdad8f6c13cbd289a2add7673fde8060a8320523003eca120f8a9c7aad45fd904770
|
7
|
+
data.tar.gz: 70d3ab528305b72badebe735c60562cfb20f7b89813cbc98c9b94c25ad757c8ce201eed5de70873e5babaccf2cae82bd7c700626fc200532881c30015aa9d939
|
data/lib/cachers.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
+
require 'cachers/extensions/active_record/base'
|
1
2
|
require 'cachers/base'
|
3
|
+
require 'cachers/delegation'
|
2
4
|
require 'cachers/concern'
|
3
5
|
require 'cachers/railtie'
|
4
6
|
require 'cachers/version'
|
@@ -6,6 +8,13 @@ require 'cachers/version'
|
|
6
8
|
module Cachers
|
7
9
|
class << self
|
8
10
|
|
11
|
+
def client
|
12
|
+
@client ||= begin
|
13
|
+
require 'redis'
|
14
|
+
Redis.new YAML.load_file("#{Rails.root}/config/redis.yml")[Rails.env]
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
9
18
|
def models
|
10
19
|
if Rails.configuration.cache_classes == false
|
11
20
|
Rails.application.eager_load!
|
data/lib/cachers/base.rb
CHANGED
@@ -29,15 +29,8 @@ module Cachers
|
|
29
29
|
cache
|
30
30
|
end
|
31
31
|
|
32
|
-
def
|
33
|
-
|
34
|
-
model.include Concern
|
35
|
-
model.class_eval do
|
36
|
-
define_method :cacher do
|
37
|
-
@cacher ||= subclass.new(self)
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
32
|
+
def method_missing(name, *args, &block)
|
33
|
+
Cachers.client.send name, *args, &block
|
41
34
|
end
|
42
35
|
|
43
36
|
end
|
data/lib/cachers/concern.rb
CHANGED
@@ -2,13 +2,26 @@ module Cachers
|
|
2
2
|
module Concern
|
3
3
|
extend ActiveSupport::Concern
|
4
4
|
|
5
|
+
%i(include extend).each do |action|
|
6
|
+
send action, Delegation
|
7
|
+
end
|
8
|
+
|
5
9
|
included do
|
6
10
|
after_commit :cache, on: :create
|
7
11
|
after_commit :recache, on: :update
|
8
12
|
after_commit :uncache, on: :destroy
|
9
13
|
end
|
10
14
|
|
11
|
-
|
15
|
+
def cacher
|
16
|
+
@cacher ||= self.class.cacher.new(self)
|
17
|
+
end
|
18
|
+
|
19
|
+
module ClassMethods
|
20
|
+
|
21
|
+
def cacher
|
22
|
+
"#{name}Cacher".constantize
|
23
|
+
end
|
12
24
|
|
25
|
+
end
|
13
26
|
end
|
14
27
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Cachers
|
2
|
+
module Delegation
|
3
|
+
|
4
|
+
def respond_to_missing?(name, private=false)
|
5
|
+
cacher.respond_to?(name) || super
|
6
|
+
end
|
7
|
+
|
8
|
+
def method_missing(name, *args, &block)
|
9
|
+
if cacher.respond_to?(name)
|
10
|
+
cacher.send name, *args, &block
|
11
|
+
else
|
12
|
+
super
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Cachers
|
2
|
+
module Extensions
|
3
|
+
module ActiveRecord
|
4
|
+
module Base
|
5
|
+
extend ActiveSupport::Concern
|
6
|
+
|
7
|
+
module ClassMethods
|
8
|
+
|
9
|
+
def inherited(subclass)
|
10
|
+
super
|
11
|
+
if File.exist?("#{Rails.root}/app/cachers/#{subclass.name.underscore}_cacher.rb")
|
12
|
+
subclass.include Cachers::Concern
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/cachers/railtie.rb
CHANGED
@@ -1,12 +1,20 @@
|
|
1
1
|
module Cachers
|
2
2
|
class Railtie < Rails::Railtie
|
3
3
|
|
4
|
-
config.
|
5
|
-
Dir[Rails.root
|
4
|
+
config.before_initialize do
|
5
|
+
Dir["#{Rails.root}/app/cachers/**/*_cacher.rb"].each do |file|
|
6
6
|
load file
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
|
+
initializer 'cachers.active_record' do
|
11
|
+
ActiveSupport.on_load :active_record do
|
12
|
+
::ActiveRecord::Base.include(
|
13
|
+
Cachers::Extensions::ActiveRecord::Base
|
14
|
+
)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
10
18
|
rake_tasks do
|
11
19
|
load 'tasks/cachers.rake'
|
12
20
|
end
|
data/lib/cachers/version.rb
CHANGED
@@ -2,12 +2,12 @@ require 'rails/generators'
|
|
2
2
|
|
3
3
|
module Cachers
|
4
4
|
module Generators
|
5
|
-
class CacherGenerator <
|
5
|
+
class CacherGenerator < Rails::Generators::NamedBase
|
6
6
|
|
7
7
|
source_root File.expand_path('../templates', __FILE__)
|
8
8
|
|
9
9
|
def create_cacher_file
|
10
|
-
template 'cacher.rb',
|
10
|
+
template 'cacher.rb', File.join('app/cachers', class_path, "#{file_name}_cacher.rb")
|
11
11
|
end
|
12
12
|
|
13
13
|
end
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Cachers
|
4
|
+
module Generators
|
5
|
+
class InstallGenerator < Rails::Generators::Base
|
6
|
+
|
7
|
+
source_root File.expand_path('../templates', __FILE__)
|
8
|
+
|
9
|
+
def create_configuration_file
|
10
|
+
copy_file 'configuration.yml', 'config/redis.yml'
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20160918232127) do
|
15
|
+
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
17
|
+
enable_extension "plpgsql"
|
18
|
+
|
19
|
+
create_table "users", force: :cascade do |t|
|
20
|
+
t.string "name"
|
21
|
+
t.datetime "created_at", null: false
|
22
|
+
t.datetime "updated_at", null: false
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreateUsers (20160918232127)
|
5
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6
|
+
[1m[36m (26.6ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
7
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160918232127"]]
|
8
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
9
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
10
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
11
|
+
FROM pg_constraint c
|
12
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
13
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
14
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
15
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
16
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
17
|
+
WHERE c.contype = 'f'
|
18
|
+
AND t1.relname = 'users'
|
19
|
+
AND t3.nspname = ANY (current_schemas(false))
|
20
|
+
ORDER BY c.conname
|
21
|
+
[0m
|
data/test/dummy/log/test.log
CHANGED
@@ -897,3 +897,801 @@ TasksTest: test_all
|
|
897
897
|
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
898
898
|
[1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
899
899
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
900
|
+
[1m[36mActiveRecord::SchemaMigration Load (26.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
901
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
902
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
903
|
+
[1m[35m (0.2ms)[0m BEGIN
|
904
|
+
--------------------------
|
905
|
+
RecordTest: test_callbacks
|
906
|
+
--------------------------
|
907
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
908
|
+
[1m[35mSQL (32.0ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:33:17.780838"], ["updated_at", "2016-12-12 23:33:17.780838"]]
|
909
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
910
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
911
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
912
|
+
------------------
|
913
|
+
TaskTest: test_all
|
914
|
+
------------------
|
915
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
916
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-12 23:33:17.820306"], ["updated_at", "2016-12-12 23:33:17.820306"]]
|
917
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
918
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:33:17.821367"], ["updated_at", "2016-12-12 23:33:17.821367"]]
|
920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
921
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
922
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
923
|
+
---------------------------
|
924
|
+
GeneratorsTest: test_cacher
|
925
|
+
---------------------------
|
926
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
927
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
928
|
+
[1m[35m (0.2ms)[0m BEGIN
|
929
|
+
---------------------------
|
930
|
+
GeneratorsTest: test_cacher
|
931
|
+
---------------------------
|
932
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
933
|
+
[1m[35m (0.1ms)[0m BEGIN
|
934
|
+
------------------
|
935
|
+
TaskTest: test_all
|
936
|
+
------------------
|
937
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
938
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:34:21.435223"], ["updated_at", "2016-12-12 23:34:21.435223"]]
|
939
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
940
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
941
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-12 23:34:21.439441"], ["updated_at", "2016-12-12 23:34:21.439441"]]
|
942
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
943
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
944
|
+
[1m[35m (0.1ms)[0m BEGIN
|
945
|
+
--------------------------
|
946
|
+
RecordTest: test_callbacks
|
947
|
+
--------------------------
|
948
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
949
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:34:21.442125"], ["updated_at", "2016-12-12 23:34:21.442125"]]
|
950
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
951
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
952
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
953
|
+
[1m[35m (0.2ms)[0m BEGIN
|
954
|
+
------------------
|
955
|
+
TaskTest: test_all
|
956
|
+
------------------
|
957
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
958
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:36:01.338429"], ["updated_at", "2016-12-12 23:36:01.338429"]]
|
959
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
960
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
961
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-12 23:36:01.341708"], ["updated_at", "2016-12-12 23:36:01.341708"]]
|
962
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
963
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
964
|
+
[1m[35m (0.1ms)[0m BEGIN
|
965
|
+
---------------------------
|
966
|
+
GeneratorsTest: test_cacher
|
967
|
+
---------------------------
|
968
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
969
|
+
[1m[35m (0.1ms)[0m BEGIN
|
970
|
+
--------------------------
|
971
|
+
RecordTest: test_callbacks
|
972
|
+
--------------------------
|
973
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
974
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:36:01.348945"], ["updated_at", "2016-12-12 23:36:01.348945"]]
|
975
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
976
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
977
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
978
|
+
[1m[35m (0.3ms)[0m BEGIN
|
979
|
+
--------------------------
|
980
|
+
RecordTest: test_callbacks
|
981
|
+
--------------------------
|
982
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
983
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:37:48.638640"], ["updated_at", "2016-12-12 23:37:48.638640"]]
|
984
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
985
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
986
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
987
|
+
---------------------------
|
988
|
+
GeneratorsTest: test_cacher
|
989
|
+
---------------------------
|
990
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
991
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
992
|
+
------------------
|
993
|
+
TaskTest: test_all
|
994
|
+
------------------
|
995
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
996
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-12 23:37:48.647824"], ["updated_at", "2016-12-12 23:37:48.647824"]]
|
997
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
998
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
999
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:37:48.649440"], ["updated_at", "2016-12-12 23:37:48.649440"]]
|
1000
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1001
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1002
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1003
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1004
|
+
---------------------------
|
1005
|
+
GeneratorsTest: test_cacher
|
1006
|
+
---------------------------
|
1007
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1008
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1009
|
+
------------------
|
1010
|
+
TaskTest: test_all
|
1011
|
+
------------------
|
1012
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:47:36.634003"], ["updated_at", "2016-12-12 23:47:36.634003"]]
|
1014
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1016
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-12 23:47:36.638308"], ["updated_at", "2016-12-12 23:47:36.638308"]]
|
1017
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1018
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1019
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1020
|
+
--------------------------
|
1021
|
+
RecordTest: test_callbacks
|
1022
|
+
--------------------------
|
1023
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1024
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:47:36.641010"], ["updated_at", "2016-12-12 23:47:36.641010"]]
|
1025
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1026
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1027
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1028
|
+
--------------------------
|
1029
|
+
RecordTest: test_callbacks
|
1030
|
+
--------------------------
|
1031
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1032
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:48:47.109338"], ["updated_at", "2016-12-12 23:48:47.109338"]]
|
1033
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1034
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1035
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1036
|
+
------------------
|
1037
|
+
TaskTest: test_all
|
1038
|
+
------------------
|
1039
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1040
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-12 23:48:47.113766"], ["updated_at", "2016-12-12 23:48:47.113766"]]
|
1041
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1042
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1043
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:48:47.114824"], ["updated_at", "2016-12-12 23:48:47.114824"]]
|
1044
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1045
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1046
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1047
|
+
---------------------------
|
1048
|
+
GeneratorsTest: test_cacher
|
1049
|
+
---------------------------
|
1050
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1051
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1052
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1053
|
+
------------------
|
1054
|
+
TaskTest: test_all
|
1055
|
+
------------------
|
1056
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1057
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:49:32.766206"], ["updated_at", "2016-12-12 23:49:32.766206"]]
|
1058
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1059
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1060
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-12 23:49:32.769265"], ["updated_at", "2016-12-12 23:49:32.769265"]]
|
1061
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1062
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1063
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1064
|
+
---------------------------
|
1065
|
+
GeneratorsTest: test_cacher
|
1066
|
+
---------------------------
|
1067
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1068
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1069
|
+
--------------------------
|
1070
|
+
RecordTest: test_callbacks
|
1071
|
+
--------------------------
|
1072
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1073
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:49:32.776394"], ["updated_at", "2016-12-12 23:49:32.776394"]]
|
1074
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1075
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1076
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1077
|
+
---------------------------
|
1078
|
+
GeneratorsTest: test_cacher
|
1079
|
+
---------------------------
|
1080
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1081
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1082
|
+
--------------------------
|
1083
|
+
RecordTest: test_callbacks
|
1084
|
+
--------------------------
|
1085
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1086
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:49:57.597451"], ["updated_at", "2016-12-12 23:49:57.597451"]]
|
1087
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1088
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1089
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1090
|
+
------------------
|
1091
|
+
TaskTest: test_all
|
1092
|
+
------------------
|
1093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1094
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-12 23:49:57.622004"], ["updated_at", "2016-12-12 23:49:57.622004"]]
|
1095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1097
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:49:57.623239"], ["updated_at", "2016-12-12 23:49:57.623239"]]
|
1098
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1099
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1100
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1101
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1102
|
+
---------------------------
|
1103
|
+
GeneratorsTest: test_cacher
|
1104
|
+
---------------------------
|
1105
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1106
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1107
|
+
--------------------------
|
1108
|
+
RecordTest: test_callbacks
|
1109
|
+
--------------------------
|
1110
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1111
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:50:32.527586"], ["updated_at", "2016-12-12 23:50:32.527586"]]
|
1112
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1113
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1114
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1115
|
+
------------------
|
1116
|
+
TaskTest: test_all
|
1117
|
+
------------------
|
1118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1119
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-12 23:50:32.548549"], ["updated_at", "2016-12-12 23:50:32.548549"]]
|
1120
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1121
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1122
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:50:32.549792"], ["updated_at", "2016-12-12 23:50:32.549792"]]
|
1123
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1124
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1126
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1127
|
+
---------------------------
|
1128
|
+
GeneratorsTest: test_cacher
|
1129
|
+
---------------------------
|
1130
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1131
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1132
|
+
------------------
|
1133
|
+
TaskTest: test_all
|
1134
|
+
------------------
|
1135
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1136
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:06.302722"], ["updated_at", "2016-12-13 00:08:06.302722"]]
|
1137
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1138
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1139
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 00:08:06.307774"], ["updated_at", "2016-12-13 00:08:06.307774"]]
|
1140
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1141
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1142
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1143
|
+
--------------------------
|
1144
|
+
RecordTest: test_callbacks
|
1145
|
+
--------------------------
|
1146
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1147
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:06.328401"], ["updated_at", "2016-12-13 00:08:06.328401"]]
|
1148
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1150
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 00:08:06.329961"], ["id", 232]]
|
1151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1152
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1153
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 232]]
|
1154
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1155
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1156
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1157
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1158
|
+
--------------------------
|
1159
|
+
RecordTest: test_callbacks
|
1160
|
+
--------------------------
|
1161
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1162
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:11.840136"], ["updated_at", "2016-12-13 00:08:11.840136"]]
|
1163
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1164
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1165
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 00:08:11.856174"], ["id", 233]]
|
1166
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1167
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1168
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 233]]
|
1169
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1170
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1171
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1172
|
+
---------------------------
|
1173
|
+
GeneratorsTest: test_cacher
|
1174
|
+
---------------------------
|
1175
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1176
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1177
|
+
------------------
|
1178
|
+
TaskTest: test_all
|
1179
|
+
------------------
|
1180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1181
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:08:11.870451"], ["updated_at", "2016-12-13 00:08:11.870451"]]
|
1182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1184
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:08:11.871970"], ["updated_at", "2016-12-13 00:08:11.871970"]]
|
1185
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1186
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1187
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1188
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1189
|
+
--------------------------
|
1190
|
+
RecordTest: test_callbacks
|
1191
|
+
--------------------------
|
1192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1193
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:15.513040"], ["updated_at", "2016-12-13 00:08:15.513040"]]
|
1194
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1195
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1196
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 00:08:15.529318"], ["id", 236]]
|
1197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1198
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1199
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 236]]
|
1200
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1201
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1202
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1203
|
+
------------------
|
1204
|
+
TaskTest: test_all
|
1205
|
+
------------------
|
1206
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1207
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:08:15.536164"], ["updated_at", "2016-12-13 00:08:15.536164"]]
|
1208
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1209
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1210
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:08:15.537215"], ["updated_at", "2016-12-13 00:08:15.537215"]]
|
1211
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1212
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1213
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1214
|
+
---------------------------
|
1215
|
+
GeneratorsTest: test_cacher
|
1216
|
+
---------------------------
|
1217
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1218
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1219
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1220
|
+
--------------------------
|
1221
|
+
RecordTest: test_callbacks
|
1222
|
+
--------------------------
|
1223
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1224
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:18.120875"], ["updated_at", "2016-12-13 00:08:18.120875"]]
|
1225
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1227
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 00:08:18.137117"], ["id", 239]]
|
1228
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1229
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1230
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 239]]
|
1231
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1232
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1233
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1234
|
+
------------------
|
1235
|
+
TaskTest: test_all
|
1236
|
+
------------------
|
1237
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1238
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:08:18.143855"], ["updated_at", "2016-12-13 00:08:18.143855"]]
|
1239
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1240
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1241
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:08:18.144909"], ["updated_at", "2016-12-13 00:08:18.144909"]]
|
1242
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1243
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1244
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1245
|
+
---------------------------
|
1246
|
+
GeneratorsTest: test_cacher
|
1247
|
+
---------------------------
|
1248
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1249
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1250
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1251
|
+
---------------------------
|
1252
|
+
GeneratorsTest: test_cacher
|
1253
|
+
---------------------------
|
1254
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1255
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1256
|
+
------------------
|
1257
|
+
TaskTest: test_all
|
1258
|
+
------------------
|
1259
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1260
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:10:00.510127"], ["updated_at", "2016-12-13 00:10:00.510127"]]
|
1261
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1262
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1263
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 00:10:00.513953"], ["updated_at", "2016-12-13 00:10:00.513953"]]
|
1264
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1265
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1266
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1267
|
+
---------------------------
|
1268
|
+
GeneratorsTest: test_cacher
|
1269
|
+
---------------------------
|
1270
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1271
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1272
|
+
--------------------------
|
1273
|
+
RecordTest: test_callbacks
|
1274
|
+
--------------------------
|
1275
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1276
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1277
|
+
------------------
|
1278
|
+
TaskTest: test_all
|
1279
|
+
------------------
|
1280
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1281
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:12:10.972983"], ["updated_at", "2016-12-13 00:12:10.972983"]]
|
1282
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1283
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1284
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 00:12:10.977733"], ["updated_at", "2016-12-13 00:12:10.977733"]]
|
1285
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1286
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1287
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1288
|
+
--------------------------
|
1289
|
+
RecordTest: test_callbacks
|
1290
|
+
--------------------------
|
1291
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1292
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1293
|
+
---------------------------
|
1294
|
+
GeneratorsTest: test_cacher
|
1295
|
+
---------------------------
|
1296
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1297
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1298
|
+
--------------------------
|
1299
|
+
RecordTest: test_callbacks
|
1300
|
+
--------------------------
|
1301
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1302
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1303
|
+
------------------
|
1304
|
+
TaskTest: test_all
|
1305
|
+
------------------
|
1306
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1307
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:15:36.639669"], ["updated_at", "2016-12-13 00:15:36.639669"]]
|
1308
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1309
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1310
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 00:15:36.643384"], ["updated_at", "2016-12-13 00:15:36.643384"]]
|
1311
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1312
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1313
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1314
|
+
---------------------------
|
1315
|
+
GeneratorsTest: test_cacher
|
1316
|
+
---------------------------
|
1317
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1318
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1319
|
+
--------------------------
|
1320
|
+
RecordTest: test_callbacks
|
1321
|
+
--------------------------
|
1322
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1323
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:16:36.346285"], ["updated_at", "2016-12-13 00:16:36.346285"]]
|
1324
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1325
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1326
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 00:16:36.365120"], ["id", 248]]
|
1327
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1329
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 248]]
|
1330
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1331
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1332
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1333
|
+
------------------
|
1334
|
+
TaskTest: test_all
|
1335
|
+
------------------
|
1336
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1337
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:16:36.373755"], ["updated_at", "2016-12-13 00:16:36.373755"]]
|
1338
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1339
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1340
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:16:36.374877"], ["updated_at", "2016-12-13 00:16:36.374877"]]
|
1341
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1342
|
+
[1m[35mUser Load (1.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1343
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1344
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1345
|
+
------------------
|
1346
|
+
TaskTest: test_all
|
1347
|
+
------------------
|
1348
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1349
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:18:41.471328"], ["updated_at", "2016-12-13 00:18:41.471328"]]
|
1350
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1351
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1352
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 00:18:41.474703"], ["updated_at", "2016-12-13 00:18:41.474703"]]
|
1353
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1354
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1355
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1356
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1357
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1358
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1359
|
+
---------------------------
|
1360
|
+
GeneratorsTest: test_cacher
|
1361
|
+
---------------------------
|
1362
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1363
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1364
|
+
--------------------------
|
1365
|
+
RecordTest: test_callbacks
|
1366
|
+
--------------------------
|
1367
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1368
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:18:41.501263"], ["updated_at", "2016-12-13 00:18:41.501263"]]
|
1369
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1370
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1371
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:18:41.503272"], ["id", 253]]
|
1372
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1373
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1374
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 253]]
|
1375
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1376
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1377
|
+
[1m[36mActiveRecord::SchemaMigration Load (11.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1378
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1379
|
+
--------------------------
|
1380
|
+
RecordTest: test_callbacks
|
1381
|
+
--------------------------
|
1382
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1383
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:44:07.323233"], ["updated_at", "2016-12-13 00:44:07.323233"]]
|
1384
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1385
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1386
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1387
|
+
---------------------------
|
1388
|
+
GeneratorsTest: test_cacher
|
1389
|
+
---------------------------
|
1390
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1391
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1392
|
+
------------------
|
1393
|
+
TaskTest: test_all
|
1394
|
+
------------------
|
1395
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1396
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:44:07.333421"], ["updated_at", "2016-12-13 00:44:07.333421"]]
|
1397
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1398
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1399
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:44:07.334825"], ["updated_at", "2016-12-13 00:44:07.334825"]]
|
1400
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1401
|
+
[1m[35mActiveRecord::SchemaMigration Load (12.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" ORDER BY "schema_migrations"."" ASC LIMIT 1000
|
1402
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1403
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1404
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1405
|
+
---------------------------
|
1406
|
+
GeneratorsTest: test_cacher
|
1407
|
+
---------------------------
|
1408
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1409
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1410
|
+
------------------
|
1411
|
+
TaskTest: test_all
|
1412
|
+
------------------
|
1413
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1414
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:44:32.224090"], ["updated_at", "2016-12-13 00:44:32.224090"]]
|
1415
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1416
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1417
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 00:44:32.228371"], ["updated_at", "2016-12-13 00:44:32.228371"]]
|
1418
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1419
|
+
[1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1420
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1421
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1422
|
+
--------------------------
|
1423
|
+
RecordTest: test_callbacks
|
1424
|
+
--------------------------
|
1425
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1426
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:44:32.234776"], ["updated_at", "2016-12-13 00:44:32.234776"]]
|
1427
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1428
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1429
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1430
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1431
|
+
--------------------------
|
1432
|
+
RecordTest: test_callbacks
|
1433
|
+
--------------------------
|
1434
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1435
|
+
[1m[35mSQL (5.9ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:45:16.034550"], ["updated_at", "2016-12-13 00:45:16.034550"]]
|
1436
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1437
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1438
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1439
|
+
--------------------------
|
1440
|
+
RecordTest: test_callbacks
|
1441
|
+
--------------------------
|
1442
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1443
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:46:22.517077"], ["updated_at", "2016-12-13 00:46:22.517077"]]
|
1444
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1445
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1446
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1447
|
+
------------------
|
1448
|
+
TaskTest: test_all
|
1449
|
+
------------------
|
1450
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1451
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:46:22.523040"], ["updated_at", "2016-12-13 00:46:22.523040"]]
|
1452
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1453
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1454
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:46:22.524293"], ["updated_at", "2016-12-13 00:46:22.524293"]]
|
1455
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1456
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1457
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1458
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1459
|
+
---------------------------
|
1460
|
+
GeneratorsTest: test_cacher
|
1461
|
+
---------------------------
|
1462
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1463
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1464
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1465
|
+
------------------
|
1466
|
+
TaskTest: test_all
|
1467
|
+
------------------
|
1468
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1469
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:46:35.524490"], ["updated_at", "2016-12-13 00:46:35.524490"]]
|
1470
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1471
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1472
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 00:46:35.527743"], ["updated_at", "2016-12-13 00:46:35.527743"]]
|
1473
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1474
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1475
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1476
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1477
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1478
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1479
|
+
---------------------------
|
1480
|
+
GeneratorsTest: test_cacher
|
1481
|
+
---------------------------
|
1482
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1483
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1484
|
+
--------------------------
|
1485
|
+
RecordTest: test_callbacks
|
1486
|
+
--------------------------
|
1487
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1488
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:46:35.588476"], ["updated_at", "2016-12-13 00:46:35.588476"]]
|
1489
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1490
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1491
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:46:35.590041"], ["id", 266]]
|
1492
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1493
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1494
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 266]]
|
1495
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1496
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1497
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1498
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1499
|
+
---------------------------
|
1500
|
+
GeneratorsTest: test_cacher
|
1501
|
+
---------------------------
|
1502
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1503
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1504
|
+
--------------------------
|
1505
|
+
RecordTest: test_callbacks
|
1506
|
+
--------------------------
|
1507
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1508
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:48:07.027428"], ["updated_at", "2016-12-13 00:48:07.027428"]]
|
1509
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1510
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1511
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 00:48:07.047922"], ["id", 267]]
|
1512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1513
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1514
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 267]]
|
1515
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1516
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1517
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1518
|
+
------------------
|
1519
|
+
TaskTest: test_all
|
1520
|
+
------------------
|
1521
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1522
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:48:07.056492"], ["updated_at", "2016-12-13 00:48:07.056492"]]
|
1523
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1524
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1525
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:48:07.057515"], ["updated_at", "2016-12-13 00:48:07.057515"]]
|
1526
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1527
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1528
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1529
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1530
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1531
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1532
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1533
|
+
---------------------------
|
1534
|
+
GeneratorsTest: test_cacher
|
1535
|
+
---------------------------
|
1536
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1537
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1538
|
+
--------------------------
|
1539
|
+
RecordTest: test_callbacks
|
1540
|
+
--------------------------
|
1541
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1542
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:50:59.551979"], ["updated_at", "2016-12-13 00:50:59.551979"]]
|
1543
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1544
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1545
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 00:50:59.568604"], ["id", 270]]
|
1546
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1547
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1548
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 270]]
|
1549
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1550
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1551
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1552
|
+
------------------
|
1553
|
+
TaskTest: test_all
|
1554
|
+
------------------
|
1555
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1556
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 00:50:59.576725"], ["updated_at", "2016-12-13 00:50:59.576725"]]
|
1557
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1558
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1559
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:50:59.577914"], ["updated_at", "2016-12-13 00:50:59.577914"]]
|
1560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1561
|
+
[1m[35mUser Load (1.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1562
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1563
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1564
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1565
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1566
|
+
[1m[35m (0.7ms)[0m BEGIN
|
1567
|
+
---------------------------
|
1568
|
+
GeneratorsTest: test_cacher
|
1569
|
+
---------------------------
|
1570
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1571
|
+
[1m[35m (32.4ms)[0m BEGIN
|
1572
|
+
------------------
|
1573
|
+
TaskTest: test_all
|
1574
|
+
------------------
|
1575
|
+
[1m[36m (1.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1576
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 01:05:12.847206"], ["updated_at", "2016-12-13 01:05:12.847206"]]
|
1577
|
+
[1m[36m (3.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1578
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1579
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-13 01:05:12.880257"], ["updated_at", "2016-12-13 01:05:12.880257"]]
|
1580
|
+
[1m[35m (1.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1581
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1582
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1583
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1584
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1585
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1586
|
+
--------------------------
|
1587
|
+
RecordTest: test_callbacks
|
1588
|
+
--------------------------
|
1589
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1590
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 01:05:12.943568"], ["updated_at", "2016-12-13 01:05:12.943568"]]
|
1591
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1592
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1593
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 01:05:12.945518"], ["id", 275]]
|
1594
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1595
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1596
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 275]]
|
1597
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1598
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1599
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1600
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1601
|
+
----------------------------
|
1602
|
+
GeneratorsTest: test_install
|
1603
|
+
----------------------------
|
1604
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1605
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1606
|
+
---------------------------
|
1607
|
+
GeneratorsTest: test_cacher
|
1608
|
+
---------------------------
|
1609
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1610
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1611
|
+
--------------------------
|
1612
|
+
RecordTest: test_callbacks
|
1613
|
+
--------------------------
|
1614
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1615
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 01:06:24.985350"], ["updated_at", "2016-12-13 01:06:24.985350"]]
|
1616
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1617
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1618
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 01:06:25.002951"], ["id", 276]]
|
1619
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1621
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 276]]
|
1622
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1623
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1624
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1625
|
+
------------------
|
1626
|
+
TaskTest: test_all
|
1627
|
+
------------------
|
1628
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1629
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 01:06:25.011154"], ["updated_at", "2016-12-13 01:06:25.011154"]]
|
1630
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1631
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1632
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 01:06:25.012392"], ["updated_at", "2016-12-13 01:06:25.012392"]]
|
1633
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1634
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1635
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1636
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1637
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1638
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1639
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1640
|
+
---------------------------
|
1641
|
+
GeneratorsTest: test_cacher
|
1642
|
+
---------------------------
|
1643
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1644
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1645
|
+
----------------------------
|
1646
|
+
GeneratorsTest: test_install
|
1647
|
+
----------------------------
|
1648
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1649
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1650
|
+
--------------------------
|
1651
|
+
RecordTest: test_callbacks
|
1652
|
+
--------------------------
|
1653
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1654
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 01:06:42.853164"], ["updated_at", "2016-12-13 01:06:42.853164"]]
|
1655
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1656
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1657
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-12-13 01:06:42.870759"], ["id", 279]]
|
1658
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1659
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1660
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 279]]
|
1661
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1662
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1663
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1664
|
+
------------------
|
1665
|
+
TaskTest: test_all
|
1666
|
+
------------------
|
1667
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1668
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-13 01:06:42.880137"], ["updated_at", "2016-12-13 01:06:42.880137"]]
|
1669
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1671
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 01:06:42.881553"], ["updated_at", "2016-12-13 01:06:42.881553"]]
|
1672
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1673
|
+
[1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1674
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1675
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1676
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1677
|
+
[1m[36m (5.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1678
|
+
[1m[35m (11.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1679
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1680
|
+
Migrating to CreateUsers (20160918232127)
|
1681
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1682
|
+
[1m[36m (8.8ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
1683
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160918232127"]]
|
1684
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1685
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1686
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1687
|
+
FROM pg_constraint c
|
1688
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1689
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1690
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1691
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1692
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1693
|
+
WHERE c.contype = 'f'
|
1694
|
+
AND t1.relname = 'users'
|
1695
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1696
|
+
ORDER BY c.conname
|
1697
|
+
[0m
|