cachers 4.0.0.0 → 4.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5b9863ef1acdeef1bbf35cae0fa7be7500cc2c2
4
- data.tar.gz: a9126090eea437a17033e9277898efcae266bd42
3
+ metadata.gz: edcb6c84e461377ecceef69b2abd73a4e4d2d460
4
+ data.tar.gz: 0868dcde4d5a477bb0ff6775d6f3497344aa3af6
5
5
  SHA512:
6
- metadata.gz: dbea260e6d0d93f16f6907e4bdf2fc27cd5904341b5981d8f0b351ba4a684b0189cacd2590a194660f4531122aa7a8a2060465b72204b198696ede02d34a4e66
7
- data.tar.gz: b8a6ecb77c8b82d25ed919d0238f0abbded2c00e58280750c50ed6b6393fabd2d95b1af935df938600fa17eb83fae8d306f534b0d3d423002fbfddb1836d5620
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 self.inherited(subclass)
33
- if model = (subclass.name.sub(/Cacher$/, '').constantize rescue nil)
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
@@ -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
- delegate :cache, :recache, :uncache, to: :cacher
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
@@ -1,12 +1,20 @@
1
1
  module Cachers
2
2
  class Railtie < Rails::Railtie
3
3
 
4
- config.after_initialize do
5
- Dir[Rails.root.join('app/cachers/*')].each do |file|
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
@@ -1,5 +1,5 @@
1
1
  module Cachers
2
2
 
3
- VERSION = '4.0.0.0'
3
+ VERSION = '4.1.0.0'
4
4
 
5
5
  end
@@ -2,12 +2,12 @@ require 'rails/generators'
2
2
 
3
3
  module Cachers
4
4
  module Generators
5
- class CacherGenerator < ::Rails::Generators::NamedBase
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', "app/cachers/#{file_name}_cacher.rb"
10
+ template 'cacher.rb', File.join('app/cachers', class_path, "#{file_name}_cacher.rb")
11
11
  end
12
12
 
13
13
  end
@@ -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,15 @@
1
+ default: &default
2
+ host: localhost
3
+ port: 6379
4
+
5
+ development:
6
+ <<: *default
7
+ db: 0
8
+
9
+ test:
10
+ <<: *default
11
+ db: 1
12
+
13
+ production:
14
+ <<: *default
15
+ db: 0
@@ -1,11 +1,11 @@
1
1
  class UserCacher < Cachers::Base
2
2
 
3
3
  def cache
4
- $redis.set key, record.id
4
+ set key, record.id
5
5
  end
6
6
 
7
7
  def uncache
8
- $redis.del key
8
+ del key
9
9
  end
10
10
 
11
11
  private
@@ -4,7 +4,6 @@ require 'rails/all'
4
4
 
5
5
  Bundler.require(*Rails.groups)
6
6
  require 'cachers'
7
- require 'redis'
8
7
 
9
8
  module Dummy
10
9
  class Application < Rails::Application
@@ -1,7 +1,10 @@
1
- development:
1
+ default: &default
2
2
  adapter: postgresql
3
+
4
+ development:
5
+ <<: *default
3
6
  database: cachers_development
4
7
 
5
8
  test:
6
- adapter: postgresql
9
+ <<: *default
7
10
  database: cachers_test
@@ -0,0 +1,15 @@
1
+ default: &default
2
+ host: localhost
3
+ port: 6379
4
+
5
+ development:
6
+ <<: *default
7
+ db: 0
8
+
9
+ test:
10
+ <<: *default
11
+ db: 1
12
+
13
+ production:
14
+ <<: *default
15
+ db: 0
@@ -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
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateUsers (20160918232127)
5
+  (0.1ms) BEGIN
6
+  (26.6ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
7
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160918232127"]]
8
+  (0.5ms) COMMIT
9
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
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
+ 
@@ -897,3 +897,801 @@ TasksTest: test_all
897
897
  User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
898
898
  User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
899
899
   (0.1ms) ROLLBACK
900
+ ActiveRecord::SchemaMigration Load (26.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
901
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
902
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
903
+  (0.2ms) BEGIN
904
+ --------------------------
905
+ RecordTest: test_callbacks
906
+ --------------------------
907
+  (0.3ms) SAVEPOINT active_record_1
908
+ SQL (32.0ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
910
+  (0.2ms) ROLLBACK
911
+  (0.2ms) BEGIN
912
+ ------------------
913
+ TaskTest: test_all
914
+ ------------------
915
+  (0.1ms) SAVEPOINT active_record_1
916
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:33:17.820306"], ["updated_at", "2016-12-12 23:33:17.820306"]]
917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
918
+  (0.1ms) SAVEPOINT active_record_1
919
+ SQL (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
921
+  (0.1ms) ROLLBACK
922
+  (0.1ms) BEGIN
923
+ ---------------------------
924
+ GeneratorsTest: test_cacher
925
+ ---------------------------
926
+  (0.1ms) ROLLBACK
927
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
928
+  (0.2ms) BEGIN
929
+ ---------------------------
930
+ GeneratorsTest: test_cacher
931
+ ---------------------------
932
+  (0.2ms) ROLLBACK
933
+  (0.1ms) BEGIN
934
+ ------------------
935
+ TaskTest: test_all
936
+ ------------------
937
+  (0.3ms) SAVEPOINT active_record_1
938
+ SQL (0.5ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
940
+  (0.1ms) SAVEPOINT active_record_1
941
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:34:21.439441"], ["updated_at", "2016-12-12 23:34:21.439441"]]
942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
943
+  (0.2ms) ROLLBACK
944
+  (0.1ms) BEGIN
945
+ --------------------------
946
+ RecordTest: test_callbacks
947
+ --------------------------
948
+  (0.1ms) SAVEPOINT active_record_1
949
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
951
+  (0.1ms) ROLLBACK
952
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
953
+  (0.2ms) BEGIN
954
+ ------------------
955
+ TaskTest: test_all
956
+ ------------------
957
+  (0.2ms) SAVEPOINT active_record_1
958
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
960
+  (0.1ms) SAVEPOINT active_record_1
961
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:36:01.341708"], ["updated_at", "2016-12-12 23:36:01.341708"]]
962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
963
+  (0.2ms) ROLLBACK
964
+  (0.1ms) BEGIN
965
+ ---------------------------
966
+ GeneratorsTest: test_cacher
967
+ ---------------------------
968
+  (0.2ms) ROLLBACK
969
+  (0.1ms) BEGIN
970
+ --------------------------
971
+ RecordTest: test_callbacks
972
+ --------------------------
973
+  (0.1ms) SAVEPOINT active_record_1
974
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
976
+  (0.2ms) ROLLBACK
977
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
978
+  (0.3ms) BEGIN
979
+ --------------------------
980
+ RecordTest: test_callbacks
981
+ --------------------------
982
+  (0.2ms) SAVEPOINT active_record_1
983
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
985
+  (0.2ms) ROLLBACK
986
+  (0.1ms) BEGIN
987
+ ---------------------------
988
+ GeneratorsTest: test_cacher
989
+ ---------------------------
990
+  (0.2ms) ROLLBACK
991
+  (0.1ms) BEGIN
992
+ ------------------
993
+ TaskTest: test_all
994
+ ------------------
995
+  (0.1ms) SAVEPOINT active_record_1
996
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:37:48.647824"], ["updated_at", "2016-12-12 23:37:48.647824"]]
997
+  (0.2ms) RELEASE SAVEPOINT active_record_1
998
+  (0.2ms) SAVEPOINT active_record_1
999
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1001
+  (0.2ms) ROLLBACK
1002
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1003
+  (0.3ms) BEGIN
1004
+ ---------------------------
1005
+ GeneratorsTest: test_cacher
1006
+ ---------------------------
1007
+  (0.2ms) ROLLBACK
1008
+  (0.2ms) BEGIN
1009
+ ------------------
1010
+ TaskTest: test_all
1011
+ ------------------
1012
+  (0.2ms) SAVEPOINT active_record_1
1013
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1015
+  (0.1ms) SAVEPOINT active_record_1
1016
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:47:36.638308"], ["updated_at", "2016-12-12 23:47:36.638308"]]
1017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1018
+  (0.2ms) ROLLBACK
1019
+  (0.1ms) BEGIN
1020
+ --------------------------
1021
+ RecordTest: test_callbacks
1022
+ --------------------------
1023
+  (0.1ms) SAVEPOINT active_record_1
1024
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1026
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1027
+  (0.2ms) BEGIN
1028
+ --------------------------
1029
+ RecordTest: test_callbacks
1030
+ --------------------------
1031
+  (0.1ms) SAVEPOINT active_record_1
1032
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1034
+  (0.2ms) ROLLBACK
1035
+  (0.1ms) BEGIN
1036
+ ------------------
1037
+ TaskTest: test_all
1038
+ ------------------
1039
+  (0.1ms) SAVEPOINT active_record_1
1040
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:48:47.113766"], ["updated_at", "2016-12-12 23:48:47.113766"]]
1041
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1042
+  (0.1ms) SAVEPOINT active_record_1
1043
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1045
+  (0.2ms) ROLLBACK
1046
+  (0.1ms) BEGIN
1047
+ ---------------------------
1048
+ GeneratorsTest: test_cacher
1049
+ ---------------------------
1050
+  (0.2ms) ROLLBACK
1051
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1052
+  (0.2ms) BEGIN
1053
+ ------------------
1054
+ TaskTest: test_all
1055
+ ------------------
1056
+  (0.1ms) SAVEPOINT active_record_1
1057
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1059
+  (0.1ms) SAVEPOINT active_record_1
1060
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-12 23:49:32.769265"], ["updated_at", "2016-12-12 23:49:32.769265"]]
1061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1062
+  (0.2ms) ROLLBACK
1063
+  (0.1ms) BEGIN
1064
+ ---------------------------
1065
+ GeneratorsTest: test_cacher
1066
+ ---------------------------
1067
+  (0.2ms) ROLLBACK
1068
+  (0.1ms) BEGIN
1069
+ --------------------------
1070
+ RecordTest: test_callbacks
1071
+ --------------------------
1072
+  (0.1ms) SAVEPOINT active_record_1
1073
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1075
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1076
+  (0.2ms) BEGIN
1077
+ ---------------------------
1078
+ GeneratorsTest: test_cacher
1079
+ ---------------------------
1080
+  (0.2ms) ROLLBACK
1081
+  (0.1ms) BEGIN
1082
+ --------------------------
1083
+ RecordTest: test_callbacks
1084
+ --------------------------
1085
+  (0.1ms) SAVEPOINT active_record_1
1086
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1088
+  (0.3ms) ROLLBACK
1089
+  (0.1ms) BEGIN
1090
+ ------------------
1091
+ TaskTest: test_all
1092
+ ------------------
1093
+  (0.1ms) SAVEPOINT active_record_1
1094
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:49:57.622004"], ["updated_at", "2016-12-12 23:49:57.622004"]]
1095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1096
+  (0.1ms) SAVEPOINT active_record_1
1097
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1099
+  (0.1ms) ROLLBACK
1100
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1101
+  (0.2ms) BEGIN
1102
+ ---------------------------
1103
+ GeneratorsTest: test_cacher
1104
+ ---------------------------
1105
+  (0.3ms) ROLLBACK
1106
+  (0.1ms) BEGIN
1107
+ --------------------------
1108
+ RecordTest: test_callbacks
1109
+ --------------------------
1110
+  (0.2ms) SAVEPOINT active_record_1
1111
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1113
+  (0.4ms) ROLLBACK
1114
+  (0.1ms) BEGIN
1115
+ ------------------
1116
+ TaskTest: test_all
1117
+ ------------------
1118
+  (0.1ms) SAVEPOINT active_record_1
1119
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-12 23:50:32.548549"], ["updated_at", "2016-12-12 23:50:32.548549"]]
1120
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1121
+  (0.1ms) SAVEPOINT active_record_1
1122
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1124
+  (0.1ms) ROLLBACK
1125
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1126
+  (0.2ms) BEGIN
1127
+ ---------------------------
1128
+ GeneratorsTest: test_cacher
1129
+ ---------------------------
1130
+  (0.2ms) ROLLBACK
1131
+  (0.1ms) BEGIN
1132
+ ------------------
1133
+ TaskTest: test_all
1134
+ ------------------
1135
+  (0.2ms) SAVEPOINT active_record_1
1136
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1138
+  (0.1ms) SAVEPOINT active_record_1
1139
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:08:06.307774"], ["updated_at", "2016-12-13 00:08:06.307774"]]
1140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1141
+  (0.2ms) ROLLBACK
1142
+  (0.1ms) BEGIN
1143
+ --------------------------
1144
+ RecordTest: test_callbacks
1145
+ --------------------------
1146
+  (0.1ms) SAVEPOINT active_record_1
1147
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1149
+  (0.1ms) SAVEPOINT active_record_1
1150
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:08:06.329961"], ["id", 232]]
1151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1152
+  (0.1ms) SAVEPOINT active_record_1
1153
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 232]]
1154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1155
+  (0.1ms) ROLLBACK
1156
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1157
+  (0.2ms) BEGIN
1158
+ --------------------------
1159
+ RecordTest: test_callbacks
1160
+ --------------------------
1161
+  (0.1ms) SAVEPOINT active_record_1
1162
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1164
+  (0.1ms) SAVEPOINT active_record_1
1165
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:08:11.856174"], ["id", 233]]
1166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1167
+  (0.1ms) SAVEPOINT active_record_1
1168
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 233]]
1169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1170
+  (0.1ms) ROLLBACK
1171
+  (0.1ms) BEGIN
1172
+ ---------------------------
1173
+ GeneratorsTest: test_cacher
1174
+ ---------------------------
1175
+  (0.2ms) ROLLBACK
1176
+  (0.1ms) BEGIN
1177
+ ------------------
1178
+ TaskTest: test_all
1179
+ ------------------
1180
+  (0.1ms) SAVEPOINT active_record_1
1181
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:11.870451"], ["updated_at", "2016-12-13 00:08:11.870451"]]
1182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1183
+  (0.1ms) SAVEPOINT active_record_1
1184
+ SQL (1.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1186
+  (0.1ms) ROLLBACK
1187
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1188
+  (0.2ms) BEGIN
1189
+ --------------------------
1190
+ RecordTest: test_callbacks
1191
+ --------------------------
1192
+  (0.1ms) SAVEPOINT active_record_1
1193
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1195
+  (0.2ms) SAVEPOINT active_record_1
1196
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:08:15.529318"], ["id", 236]]
1197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1198
+  (0.1ms) SAVEPOINT active_record_1
1199
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 236]]
1200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1201
+  (0.1ms) ROLLBACK
1202
+  (0.1ms) BEGIN
1203
+ ------------------
1204
+ TaskTest: test_all
1205
+ ------------------
1206
+  (0.1ms) SAVEPOINT active_record_1
1207
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:15.536164"], ["updated_at", "2016-12-13 00:08:15.536164"]]
1208
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1209
+  (0.1ms) SAVEPOINT active_record_1
1210
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1212
+  (0.1ms) ROLLBACK
1213
+  (0.2ms) BEGIN
1214
+ ---------------------------
1215
+ GeneratorsTest: test_cacher
1216
+ ---------------------------
1217
+  (0.2ms) ROLLBACK
1218
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1219
+  (0.2ms) BEGIN
1220
+ --------------------------
1221
+ RecordTest: test_callbacks
1222
+ --------------------------
1223
+  (0.1ms) SAVEPOINT active_record_1
1224
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1226
+  (0.1ms) SAVEPOINT active_record_1
1227
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:08:18.137117"], ["id", 239]]
1228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1229
+  (0.1ms) SAVEPOINT active_record_1
1230
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 239]]
1231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1232
+  (0.1ms) ROLLBACK
1233
+  (0.1ms) BEGIN
1234
+ ------------------
1235
+ TaskTest: test_all
1236
+ ------------------
1237
+  (0.1ms) SAVEPOINT active_record_1
1238
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:08:18.143855"], ["updated_at", "2016-12-13 00:08:18.143855"]]
1239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1240
+  (0.1ms) SAVEPOINT active_record_1
1241
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1243
+  (0.1ms) ROLLBACK
1244
+  (0.1ms) BEGIN
1245
+ ---------------------------
1246
+ GeneratorsTest: test_cacher
1247
+ ---------------------------
1248
+  (0.2ms) ROLLBACK
1249
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1250
+  (0.2ms) BEGIN
1251
+ ---------------------------
1252
+ GeneratorsTest: test_cacher
1253
+ ---------------------------
1254
+  (0.2ms) ROLLBACK
1255
+  (0.1ms) BEGIN
1256
+ ------------------
1257
+ TaskTest: test_all
1258
+ ------------------
1259
+  (0.2ms) SAVEPOINT active_record_1
1260
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1262
+  (0.1ms) SAVEPOINT active_record_1
1263
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:10:00.513953"], ["updated_at", "2016-12-13 00:10:00.513953"]]
1264
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1265
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1266
+  (0.2ms) BEGIN
1267
+ ---------------------------
1268
+ GeneratorsTest: test_cacher
1269
+ ---------------------------
1270
+  (0.2ms) ROLLBACK
1271
+  (0.1ms) BEGIN
1272
+ --------------------------
1273
+ RecordTest: test_callbacks
1274
+ --------------------------
1275
+  (0.2ms) ROLLBACK
1276
+  (0.1ms) BEGIN
1277
+ ------------------
1278
+ TaskTest: test_all
1279
+ ------------------
1280
+  (0.3ms) SAVEPOINT active_record_1
1281
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1283
+  (0.1ms) SAVEPOINT active_record_1
1284
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:12:10.977733"], ["updated_at", "2016-12-13 00:12:10.977733"]]
1285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1286
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1287
+  (0.2ms) BEGIN
1288
+ --------------------------
1289
+ RecordTest: test_callbacks
1290
+ --------------------------
1291
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1292
+  (0.2ms) BEGIN
1293
+ ---------------------------
1294
+ GeneratorsTest: test_cacher
1295
+ ---------------------------
1296
+  (0.3ms) ROLLBACK
1297
+  (0.1ms) BEGIN
1298
+ --------------------------
1299
+ RecordTest: test_callbacks
1300
+ --------------------------
1301
+  (0.2ms) ROLLBACK
1302
+  (0.1ms) BEGIN
1303
+ ------------------
1304
+ TaskTest: test_all
1305
+ ------------------
1306
+  (0.2ms) SAVEPOINT active_record_1
1307
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1309
+  (0.1ms) SAVEPOINT active_record_1
1310
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:15:36.643384"], ["updated_at", "2016-12-13 00:15:36.643384"]]
1311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1312
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1313
+  (0.2ms) BEGIN
1314
+ ---------------------------
1315
+ GeneratorsTest: test_cacher
1316
+ ---------------------------
1317
+  (0.2ms) ROLLBACK
1318
+  (0.1ms) BEGIN
1319
+ --------------------------
1320
+ RecordTest: test_callbacks
1321
+ --------------------------
1322
+  (0.2ms) SAVEPOINT active_record_1
1323
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1325
+  (0.2ms) SAVEPOINT active_record_1
1326
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:16:36.365120"], ["id", 248]]
1327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1328
+  (0.1ms) SAVEPOINT active_record_1
1329
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 248]]
1330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1331
+  (0.1ms) ROLLBACK
1332
+  (0.1ms) BEGIN
1333
+ ------------------
1334
+ TaskTest: test_all
1335
+ ------------------
1336
+  (0.1ms) SAVEPOINT active_record_1
1337
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:16:36.373755"], ["updated_at", "2016-12-13 00:16:36.373755"]]
1338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1339
+  (0.1ms) SAVEPOINT active_record_1
1340
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1342
+ User Load (1.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1343
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1344
+  (0.2ms) BEGIN
1345
+ ------------------
1346
+ TaskTest: test_all
1347
+ ------------------
1348
+  (0.1ms) SAVEPOINT active_record_1
1349
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1351
+  (0.1ms) SAVEPOINT active_record_1
1352
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:18:41.474703"], ["updated_at", "2016-12-13 00:18:41.474703"]]
1353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1354
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1355
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1356
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1357
+  (0.2ms) ROLLBACK
1358
+  (0.1ms) BEGIN
1359
+ ---------------------------
1360
+ GeneratorsTest: test_cacher
1361
+ ---------------------------
1362
+  (0.2ms) ROLLBACK
1363
+  (0.1ms) BEGIN
1364
+ --------------------------
1365
+ RecordTest: test_callbacks
1366
+ --------------------------
1367
+  (0.1ms) SAVEPOINT active_record_1
1368
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:18:41.501263"], ["updated_at", "2016-12-13 00:18:41.501263"]]
1369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1370
+  (0.1ms) SAVEPOINT active_record_1
1371
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1373
+  (0.1ms) SAVEPOINT active_record_1
1374
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 253]]
1375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1376
+  (0.1ms) ROLLBACK
1377
+ ActiveRecord::SchemaMigration Load (11.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1378
+  (0.2ms) BEGIN
1379
+ --------------------------
1380
+ RecordTest: test_callbacks
1381
+ --------------------------
1382
+  (0.1ms) SAVEPOINT active_record_1
1383
+ SQL (0.5ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1385
+  (0.2ms) ROLLBACK
1386
+  (0.1ms) BEGIN
1387
+ ---------------------------
1388
+ GeneratorsTest: test_cacher
1389
+ ---------------------------
1390
+  (0.2ms) ROLLBACK
1391
+  (0.1ms) BEGIN
1392
+ ------------------
1393
+ TaskTest: test_all
1394
+ ------------------
1395
+  (0.2ms) SAVEPOINT active_record_1
1396
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:44:07.333421"], ["updated_at", "2016-12-13 00:44:07.333421"]]
1397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1398
+  (0.1ms) SAVEPOINT active_record_1
1399
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1401
+ ActiveRecord::SchemaMigration Load (12.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ORDER BY "schema_migrations"."" ASC LIMIT 1000
1402
+  (0.1ms) ROLLBACK
1403
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1404
+  (0.2ms) BEGIN
1405
+ ---------------------------
1406
+ GeneratorsTest: test_cacher
1407
+ ---------------------------
1408
+  (0.2ms) ROLLBACK
1409
+  (0.1ms) BEGIN
1410
+ ------------------
1411
+ TaskTest: test_all
1412
+ ------------------
1413
+  (0.2ms) SAVEPOINT active_record_1
1414
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1416
+  (0.2ms) SAVEPOINT active_record_1
1417
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:44:32.228371"], ["updated_at", "2016-12-13 00:44:32.228371"]]
1418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1419
+ User Load (0.7ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1420
+  (0.2ms) ROLLBACK
1421
+  (0.1ms) BEGIN
1422
+ --------------------------
1423
+ RecordTest: test_callbacks
1424
+ --------------------------
1425
+  (0.1ms) SAVEPOINT active_record_1
1426
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:44:32.234776"], ["updated_at", "2016-12-13 00:44:32.234776"]]
1427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1428
+  (0.2ms) ROLLBACK
1429
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1430
+  (0.2ms) BEGIN
1431
+ --------------------------
1432
+ RecordTest: test_callbacks
1433
+ --------------------------
1434
+  (0.1ms) SAVEPOINT active_record_1
1435
+ SQL (5.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1437
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1438
+  (0.2ms) BEGIN
1439
+ --------------------------
1440
+ RecordTest: test_callbacks
1441
+ --------------------------
1442
+  (0.1ms) SAVEPOINT active_record_1
1443
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1445
+  (0.2ms) ROLLBACK
1446
+  (0.1ms) BEGIN
1447
+ ------------------
1448
+ TaskTest: test_all
1449
+ ------------------
1450
+  (0.2ms) SAVEPOINT active_record_1
1451
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:46:22.523040"], ["updated_at", "2016-12-13 00:46:22.523040"]]
1452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1453
+  (0.1ms) SAVEPOINT active_record_1
1454
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1456
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1457
+  (0.1ms) ROLLBACK
1458
+  (0.2ms) BEGIN
1459
+ ---------------------------
1460
+ GeneratorsTest: test_cacher
1461
+ ---------------------------
1462
+  (0.2ms) ROLLBACK
1463
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1464
+  (0.2ms) BEGIN
1465
+ ------------------
1466
+ TaskTest: test_all
1467
+ ------------------
1468
+  (0.2ms) SAVEPOINT active_record_1
1469
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1471
+  (0.1ms) SAVEPOINT active_record_1
1472
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 00:46:35.527743"], ["updated_at", "2016-12-13 00:46:35.527743"]]
1473
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1474
+ User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1475
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1476
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1477
+  (0.1ms) ROLLBACK
1478
+  (0.1ms) BEGIN
1479
+ ---------------------------
1480
+ GeneratorsTest: test_cacher
1481
+ ---------------------------
1482
+  (0.2ms) ROLLBACK
1483
+  (0.1ms) BEGIN
1484
+ --------------------------
1485
+ RecordTest: test_callbacks
1486
+ --------------------------
1487
+  (0.1ms) SAVEPOINT active_record_1
1488
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:46:35.588476"], ["updated_at", "2016-12-13 00:46:35.588476"]]
1489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1490
+  (0.1ms) SAVEPOINT active_record_1
1491
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1493
+  (0.1ms) SAVEPOINT active_record_1
1494
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 266]]
1495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1496
+  (0.1ms) ROLLBACK
1497
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1498
+  (0.2ms) BEGIN
1499
+ ---------------------------
1500
+ GeneratorsTest: test_cacher
1501
+ ---------------------------
1502
+  (0.2ms) ROLLBACK
1503
+  (0.1ms) BEGIN
1504
+ --------------------------
1505
+ RecordTest: test_callbacks
1506
+ --------------------------
1507
+  (0.2ms) SAVEPOINT active_record_1
1508
+ SQL (0.4ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1510
+  (0.2ms) SAVEPOINT active_record_1
1511
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:48:07.047922"], ["id", 267]]
1512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1513
+  (0.1ms) SAVEPOINT active_record_1
1514
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 267]]
1515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1516
+  (0.1ms) ROLLBACK
1517
+  (0.1ms) BEGIN
1518
+ ------------------
1519
+ TaskTest: test_all
1520
+ ------------------
1521
+  (0.1ms) SAVEPOINT active_record_1
1522
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:48:07.056492"], ["updated_at", "2016-12-13 00:48:07.056492"]]
1523
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1524
+  (0.1ms) SAVEPOINT active_record_1
1525
+ SQL (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1527
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1528
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1529
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1530
+  (0.1ms) ROLLBACK
1531
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1532
+  (0.2ms) BEGIN
1533
+ ---------------------------
1534
+ GeneratorsTest: test_cacher
1535
+ ---------------------------
1536
+  (0.2ms) ROLLBACK
1537
+  (0.1ms) BEGIN
1538
+ --------------------------
1539
+ RecordTest: test_callbacks
1540
+ --------------------------
1541
+  (0.1ms) SAVEPOINT active_record_1
1542
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1544
+  (0.3ms) SAVEPOINT active_record_1
1545
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 00:50:59.568604"], ["id", 270]]
1546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1547
+  (0.1ms) SAVEPOINT active_record_1
1548
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 270]]
1549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1550
+  (0.2ms) ROLLBACK
1551
+  (0.1ms) BEGIN
1552
+ ------------------
1553
+ TaskTest: test_all
1554
+ ------------------
1555
+  (0.1ms) SAVEPOINT active_record_1
1556
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 00:50:59.576725"], ["updated_at", "2016-12-13 00:50:59.576725"]]
1557
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1558
+  (0.1ms) SAVEPOINT active_record_1
1559
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1561
+ User Load (1.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1562
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1563
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1564
+  (0.1ms) ROLLBACK
1565
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1566
+  (0.7ms) BEGIN
1567
+ ---------------------------
1568
+ GeneratorsTest: test_cacher
1569
+ ---------------------------
1570
+  (0.3ms) ROLLBACK
1571
+  (32.4ms) BEGIN
1572
+ ------------------
1573
+ TaskTest: test_all
1574
+ ------------------
1575
+  (1.3ms) SAVEPOINT active_record_1
1576
+ SQL (0.7ms) 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
+  (3.6ms) RELEASE SAVEPOINT active_record_1
1578
+  (0.1ms) SAVEPOINT active_record_1
1579
+ SQL (1.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-12-13 01:05:12.880257"], ["updated_at", "2016-12-13 01:05:12.880257"]]
1580
+  (1.2ms) RELEASE SAVEPOINT active_record_1
1581
+ User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1582
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1583
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1584
+  (0.2ms) ROLLBACK
1585
+  (0.1ms) BEGIN
1586
+ --------------------------
1587
+ RecordTest: test_callbacks
1588
+ --------------------------
1589
+  (0.1ms) SAVEPOINT active_record_1
1590
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 01:05:12.943568"], ["updated_at", "2016-12-13 01:05:12.943568"]]
1591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1592
+  (0.2ms) SAVEPOINT active_record_1
1593
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1595
+  (0.2ms) SAVEPOINT active_record_1
1596
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 275]]
1597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1598
+  (0.1ms) ROLLBACK
1599
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1600
+  (0.2ms) BEGIN
1601
+ ----------------------------
1602
+ GeneratorsTest: test_install
1603
+ ----------------------------
1604
+  (0.2ms) ROLLBACK
1605
+  (0.1ms) BEGIN
1606
+ ---------------------------
1607
+ GeneratorsTest: test_cacher
1608
+ ---------------------------
1609
+  (0.1ms) ROLLBACK
1610
+  (0.1ms) BEGIN
1611
+ --------------------------
1612
+ RecordTest: test_callbacks
1613
+ --------------------------
1614
+  (0.2ms) SAVEPOINT active_record_1
1615
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1617
+  (0.1ms) SAVEPOINT active_record_1
1618
+ SQL (0.4ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 01:06:25.002951"], ["id", 276]]
1619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1620
+  (0.1ms) SAVEPOINT active_record_1
1621
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 276]]
1622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1623
+  (0.1ms) ROLLBACK
1624
+  (0.1ms) BEGIN
1625
+ ------------------
1626
+ TaskTest: test_all
1627
+ ------------------
1628
+  (0.1ms) SAVEPOINT active_record_1
1629
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 01:06:25.011154"], ["updated_at", "2016-12-13 01:06:25.011154"]]
1630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1631
+  (0.1ms) SAVEPOINT active_record_1
1632
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1635
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1636
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1637
+  (0.1ms) ROLLBACK
1638
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1639
+  (0.2ms) BEGIN
1640
+ ---------------------------
1641
+ GeneratorsTest: test_cacher
1642
+ ---------------------------
1643
+  (0.2ms) ROLLBACK
1644
+  (0.1ms) BEGIN
1645
+ ----------------------------
1646
+ GeneratorsTest: test_install
1647
+ ----------------------------
1648
+  (0.2ms) ROLLBACK
1649
+  (0.1ms) BEGIN
1650
+ --------------------------
1651
+ RecordTest: test_callbacks
1652
+ --------------------------
1653
+  (0.2ms) SAVEPOINT active_record_1
1654
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1656
+  (0.1ms) SAVEPOINT active_record_1
1657
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-13 01:06:42.870759"], ["id", 279]]
1658
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1659
+  (0.1ms) SAVEPOINT active_record_1
1660
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 279]]
1661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1662
+  (0.2ms) ROLLBACK
1663
+  (0.1ms) BEGIN
1664
+ ------------------
1665
+ TaskTest: test_all
1666
+ ------------------
1667
+  (0.2ms) SAVEPOINT active_record_1
1668
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-13 01:06:42.880137"], ["updated_at", "2016-12-13 01:06:42.880137"]]
1669
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1670
+  (0.1ms) SAVEPOINT active_record_1
1671
+ SQL (0.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1673
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1674
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1675
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1676
+  (0.1ms) ROLLBACK
1677
+  (5.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1678
+  (11.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1679
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1680
+ Migrating to CreateUsers (20160918232127)
1681
+  (0.1ms) BEGIN
1682
+  (8.8ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1683
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160918232127"]]
1684
+  (0.5ms) COMMIT
1685
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1686
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
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
+