rails_static_record 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af744dc66feb75db3846575e816e053c07aa4bcb
4
- data.tar.gz: a28d9fea324d2a5b81911ee6675b36b2b1b746a1
3
+ metadata.gz: 412378e001a7abb62ed7fbc45b5296329448c4c4
4
+ data.tar.gz: db1b336cbe5fa56763a742eb86221742bafddcbb
5
5
  SHA512:
6
- metadata.gz: 83eacf8405f9b6b9ef45fc89db4e510b000fb911a09536d2f3cb35f27be4e8ceb13747a5b7abc0c75bcb9c5ae9da35d00ac23a941cca37640f874f4881d2ec8c
7
- data.tar.gz: e5aefa98e822758496d212dd8464e93cd3e0db9f1ef11f3f5e39b338d3b22e4c51afa57eb10cf401d5173f673ad8a9bc9a51bc2f0f9014292fae127d78f72e1c
6
+ metadata.gz: 9e5b8a56032eac3f0e265cac188d911c9ed8a65fe30d2181c1e5768b938e6e9c44f2529434d54b4b91922dfd982ec9a41ff12b67a6f7d50d30fee00d75e66cc1
7
+ data.tar.gz: dda4ac2ef01c1e33bfcdf022be03a8abaed51d8a0bfb2e45bbf8a2553a38779759990dfc5254b1136a1bbd707f46ed05e9bd222ba3077745a6711b2eca3b998c
data/README.md CHANGED
@@ -5,14 +5,14 @@ without have to access to database. Is based on ActiveRecord
5
5
  and it permits relations with native models.
6
6
 
7
7
  ## Usage
8
- You can create your own static model, creating a model ruby file in
8
+ You can create your own static model creating a ruby file in
9
9
  _app/models_. Remember name your model according to the rails convention.
10
10
 
11
11
  This is an example of static model for categories
12
12
  ```ruby
13
13
  # app/models/category.rb
14
14
 
15
- class Category < StatucRecord::Base
15
+ class Category < StaticRecord::Base
16
16
  end
17
17
  ```
18
18
 
@@ -12,6 +12,15 @@ module StaticRecord
12
12
  def file_path
13
13
  @file_path ||= File.join(Rails.root, 'db', 'static')
14
14
  end
15
+
16
+ def file(path)
17
+ raise StaticRecord::FileNotFound,
18
+ "Could not find data file #{path}" unless File.readable?(path)
19
+
20
+ @file_path = path
21
+ @records = nil
22
+ @loaded = false
23
+ end
15
24
  end
16
25
 
17
26
  def initialize(hash = {}, load = true)
@@ -2,6 +2,8 @@ module StaticRecord
2
2
  class ActiveRecordError < StandardError; end
3
3
  class YAMLFileError < RuntimeError; end
4
4
  class StaticRecordModelInitializeError < RuntimeError; end
5
+ class InvalidParameterError < RuntimeError; end
6
+ class FileNotFound < RuntimeError; end
5
7
 
6
8
  class RecordNotFound < ActiveRecordError
7
9
  attr_reader :model, :primary_key, :id
@@ -14,7 +14,21 @@ module StaticRecord
14
14
  'id'
15
15
  ) if context.empty?
16
16
 
17
- return context.first if ids.length == 1
17
+ return context.first if context.length == 1
18
+ context
19
+ end
20
+
21
+ def find_by(hash)
22
+ unless hash.is_a? Hash
23
+ raise InvalidParameterError,
24
+ 'Couldn\'t find record, because search closure is not a Hash.'
25
+ end
26
+
27
+ key, value = hash.first
28
+
29
+ context = records.select { |c| c.attributes[key] == value }
30
+
31
+ return context.first if context.length == 1
18
32
  context
19
33
  end
20
34
 
@@ -24,5 +38,37 @@ module StaticRecord
24
38
  load
25
39
  @records
26
40
  end
41
+
42
+ def array_proxy(attribute, params)
43
+ return records.send attribute, params unless params.empty?
44
+ records.send attribute
45
+ end
46
+
47
+ def method_missing(meth, *params, &block)
48
+ attribute = meth.to_s.gsub(/=$/, '')
49
+
50
+ if meth.to_s =~ /^find_by_(.+)/
51
+ attribute = meth.to_s.gsub(/^find_by_/, '')
52
+
53
+ return find_by(attribute.to_sym => params.first)
54
+ elsif records.respond_to? attribute.to_sym
55
+ # The method missing is part of Array object, try pass it
56
+ return array_proxy attribute.to_sym, params unless meth.to_s =~ /=$/
57
+ end
58
+
59
+ super
60
+ end
61
+
62
+ def respond_to_missing?(meth, *args)
63
+ attribute = meth.to_s.gsub(/=$/, '')
64
+
65
+ if meth.to_s =~ /^find_by_(.+)/
66
+ attribute = meth.to_s.gsub(/^find_by_/, '')
67
+
68
+ return attribute? attribute
69
+ end
70
+
71
+ records.respond_to?(attribute.to_sym) || super
72
+ end
27
73
  end
28
74
  end
@@ -28,6 +28,10 @@ module StaticRecord
28
28
  @loaded ||= false
29
29
  end
30
30
 
31
+ def reload!
32
+ load true
33
+ end
34
+
31
35
  private
32
36
 
33
37
  def default_database
@@ -1,3 +1,3 @@
1
1
  module StaticRecord
2
- VERSION = '0.1.1'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -1,2 +1,3 @@
1
1
  class Category < StaticRecord::Base
2
+ file '/Users/molayab/Developer/CrowdProject/db/static/categories.yml'
2
3
  end
Binary file
@@ -21,3 +21,5 @@ Migrating to CreateTests (20161016220221)
21
21
  Test Load (0.2ms) SELECT "tests".* FROM "tests" WHERE "tests"."id" IN (1, 2)
22
22
  Test Load (1.8ms) SELECT "tests".* FROM "tests" WHERE "tests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
23
23
  Test Load (0.1ms) SELECT "tests".* FROM "tests" WHERE "tests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
24
+  (0.1ms) SELECT COUNT(*) FROM "tests"
25
+ Test Load (0.1ms) SELECT "tests".* FROM "tests" ORDER BY "tests"."id" ASC LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
@@ -0,0 +1,1243 @@
1
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (0.1ms) SELECT version FROM "schema_migrations"
4
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
5
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
7
+  (0.0ms) begin transaction
8
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:33:24 UTC], ["updated_at", 2016-10-17 04:33:24 UTC]]
9
+  (1.1ms) commit transaction
10
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
11
+  (0.1ms) begin transaction
12
+  (0.0ms) commit transaction
13
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
+  (0.1ms) begin transaction
15
+  (0.1ms) rollback transaction
16
+  (0.0ms) begin transaction
17
+  (0.0ms) rollback transaction
18
+  (0.0ms) begin transaction
19
+  (0.0ms) rollback transaction
20
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
23
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
25
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
27
+  (1.5ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
28
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
29
+  (0.1ms) SELECT version FROM "schema_migrations"
30
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
31
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
32
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
33
+  (0.1ms) begin transaction
34
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:40:36 UTC], ["updated_at", 2016-10-17 04:40:36 UTC]]
35
+  (1.0ms) commit transaction
36
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
37
+  (0.0ms) begin transaction
38
+  (0.0ms) commit transaction
39
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
+  (0.1ms) begin transaction
41
+  (0.1ms) rollback transaction
42
+  (0.0ms) begin transaction
43
+  (0.1ms) rollback transaction
44
+  (0.1ms) begin transaction
45
+  (0.0ms) rollback transaction
46
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
48
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
49
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
51
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
53
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
54
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
55
+  (0.1ms) SELECT version FROM "schema_migrations"
56
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
57
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
58
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
59
+  (0.1ms) begin transaction
60
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:45:31 UTC], ["updated_at", 2016-10-17 04:45:31 UTC]]
61
+  (1.2ms) commit transaction
62
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
63
+  (0.0ms) begin transaction
64
+  (0.0ms) commit transaction
65
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+  (0.1ms) begin transaction
67
+  (0.0ms) rollback transaction
68
+  (0.0ms) begin transaction
69
+  (0.1ms) rollback transaction
70
+  (0.0ms) begin transaction
71
+  (0.0ms) rollback transaction
72
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
73
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
74
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
75
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
77
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
78
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
79
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
80
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
81
+  (0.1ms) SELECT version FROM "schema_migrations"
82
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
83
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
84
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
85
+  (0.0ms) begin transaction
86
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:48:27 UTC], ["updated_at", 2016-10-17 04:48:27 UTC]]
87
+  (2.8ms) commit transaction
88
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
89
+  (0.0ms) begin transaction
90
+  (0.0ms) commit transaction
91
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
92
+  (0.1ms) begin transaction
93
+  (0.1ms) rollback transaction
94
+  (0.0ms) begin transaction
95
+  (0.0ms) rollback transaction
96
+  (0.0ms) begin transaction
97
+  (0.0ms) rollback transaction
98
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
99
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
100
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
101
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
102
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
103
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
104
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
105
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
106
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
107
+  (0.1ms) SELECT version FROM "schema_migrations"
108
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
109
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
110
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
111
+  (0.0ms) begin transaction
112
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:50:40 UTC], ["updated_at", 2016-10-17 04:50:40 UTC]]
113
+  (5.0ms) commit transaction
114
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
115
+  (0.0ms) begin transaction
116
+  (0.0ms) commit transaction
117
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
118
+  (0.1ms) begin transaction
119
+  (0.1ms) rollback transaction
120
+  (0.0ms) begin transaction
121
+  (0.0ms) rollback transaction
122
+  (0.0ms) begin transaction
123
+  (0.0ms) rollback transaction
124
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
125
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
126
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
127
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
128
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
129
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
130
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
131
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
132
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
133
+  (0.1ms) SELECT version FROM "schema_migrations"
134
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
135
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
136
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
137
+  (0.0ms) begin transaction
138
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:51:10 UTC], ["updated_at", 2016-10-17 04:51:10 UTC]]
139
+  (14.8ms) commit transaction
140
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
141
+  (0.0ms) begin transaction
142
+  (0.0ms) commit transaction
143
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
+  (0.1ms) begin transaction
145
+  (0.1ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+  (0.0ms) rollback transaction
148
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
149
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
151
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
152
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
153
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
154
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
155
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
157
+  (0.1ms) SELECT version FROM "schema_migrations"
158
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
159
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
160
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
161
+  (0.0ms) begin transaction
162
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:51:49 UTC], ["updated_at", 2016-10-17 04:51:49 UTC]]
163
+  (1.2ms) commit transaction
164
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
165
+  (0.0ms) begin transaction
166
+  (0.0ms) commit transaction
167
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
168
+  (0.1ms) begin transaction
169
+  (0.0ms) rollback transaction
170
+  (0.0ms) begin transaction
171
+  (0.1ms) rollback transaction
172
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
173
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
174
+  (20.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
175
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
176
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
177
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
178
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
179
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
180
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
181
+  (0.1ms) SELECT version FROM "schema_migrations"
182
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
183
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
184
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
185
+  (0.0ms) begin transaction
186
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 04:55:02 UTC], ["updated_at", 2016-10-17 04:55:02 UTC]]
187
+  (1.1ms) commit transaction
188
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
189
+  (0.0ms) begin transaction
190
+  (0.0ms) commit transaction
191
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
192
+  (0.1ms) begin transaction
193
+  (0.0ms) rollback transaction
194
+  (0.0ms) begin transaction
195
+  (0.0ms) rollback transaction
196
+  (0.0ms) begin transaction
197
+  (0.1ms) rollback transaction
198
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
199
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
200
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
201
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
202
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
203
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
204
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
205
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
206
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
207
+  (0.1ms) SELECT version FROM "schema_migrations"
208
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
209
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
210
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
211
+  (0.0ms) begin transaction
212
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:01:34 UTC], ["updated_at", 2016-10-17 05:01:34 UTC]]
213
+  (1.0ms) commit transaction
214
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
215
+  (0.0ms) begin transaction
216
+  (0.0ms) commit transaction
217
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
218
+  (0.1ms) begin transaction
219
+  (0.0ms) rollback transaction
220
+  (0.0ms) begin transaction
221
+  (0.0ms) rollback transaction
222
+  (0.0ms) begin transaction
223
+  (0.1ms) rollback transaction
224
+  (0.0ms) begin transaction
225
+  (0.0ms) rollback transaction
226
+  (0.1ms) begin transaction
227
+  (0.1ms) rollback transaction
228
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
229
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
230
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
231
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
232
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
233
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
234
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
235
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
236
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
237
+  (0.1ms) SELECT version FROM "schema_migrations"
238
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
239
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
240
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
241
+  (0.1ms) begin transaction
242
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:02:05 UTC], ["updated_at", 2016-10-17 05:02:05 UTC]]
243
+  (1.0ms) commit transaction
244
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
245
+  (0.0ms) begin transaction
246
+  (0.0ms) commit transaction
247
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
248
+  (0.1ms) begin transaction
249
+  (0.0ms) rollback transaction
250
+  (0.1ms) begin transaction
251
+  (0.0ms) rollback transaction
252
+  (0.1ms) begin transaction
253
+  (0.1ms) rollback transaction
254
+  (0.1ms) begin transaction
255
+  (0.0ms) rollback transaction
256
+  (0.0ms) begin transaction
257
+  (0.0ms) rollback transaction
258
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
260
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
261
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
262
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
263
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
264
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
265
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
266
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
267
+  (0.1ms) SELECT version FROM "schema_migrations"
268
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
269
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
270
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
271
+  (0.0ms) begin transaction
272
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:10:03 UTC], ["updated_at", 2016-10-17 05:10:03 UTC]]
273
+  (1.0ms) commit transaction
274
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
275
+  (0.0ms) begin transaction
276
+  (0.0ms) commit transaction
277
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
278
+  (0.1ms) begin transaction
279
+  (0.0ms) rollback transaction
280
+  (0.0ms) begin transaction
281
+  (0.0ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+  (0.1ms) rollback transaction
284
+  (0.0ms) begin transaction
285
+  (0.0ms) rollback transaction
286
+  (0.1ms) begin transaction
287
+  (0.0ms) rollback transaction
288
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
289
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
290
+  (18.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
291
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
292
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
293
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
294
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
295
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
296
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
297
+  (0.1ms) SELECT version FROM "schema_migrations"
298
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
299
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
300
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
301
+  (0.0ms) begin transaction
302
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:12:34 UTC], ["updated_at", 2016-10-17 05:12:34 UTC]]
303
+  (1.0ms) commit transaction
304
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
305
+  (0.1ms) begin transaction
306
+  (0.0ms) commit transaction
307
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
308
+  (0.1ms) begin transaction
309
+  (0.0ms) rollback transaction
310
+  (0.0ms) begin transaction
311
+  (0.0ms) rollback transaction
312
+  (0.0ms) begin transaction
313
+  (0.1ms) rollback transaction
314
+  (0.0ms) begin transaction
315
+  (0.1ms) rollback transaction
316
+  (0.0ms) begin transaction
317
+  (0.0ms) rollback transaction
318
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
319
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
320
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
321
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
322
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
323
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
324
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
325
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
326
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
327
+  (0.1ms) SELECT version FROM "schema_migrations"
328
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
329
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
330
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
331
+  (0.0ms) begin transaction
332
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:13:56 UTC], ["updated_at", 2016-10-17 05:13:56 UTC]]
333
+  (19.0ms) commit transaction
334
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
335
+  (0.0ms) begin transaction
336
+  (0.0ms) commit transaction
337
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
338
+  (0.1ms) begin transaction
339
+  (0.0ms) rollback transaction
340
+  (0.1ms) begin transaction
341
+  (0.1ms) rollback transaction
342
+  (0.1ms) begin transaction
343
+  (0.1ms) rollback transaction
344
+  (0.1ms) begin transaction
345
+  (0.1ms) rollback transaction
346
+  (0.1ms) begin transaction
347
+  (0.0ms) rollback transaction
348
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
349
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
350
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
351
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
352
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
353
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
354
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
355
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
356
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
357
+  (0.1ms) SELECT version FROM "schema_migrations"
358
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
359
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
360
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
361
+  (0.0ms) begin transaction
362
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:16:14 UTC], ["updated_at", 2016-10-17 05:16:14 UTC]]
363
+  (8.1ms) commit transaction
364
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
365
+  (0.0ms) begin transaction
366
+  (0.0ms) commit transaction
367
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
368
+  (0.1ms) begin transaction
369
+  (0.0ms) rollback transaction
370
+  (0.0ms) begin transaction
371
+  (0.0ms) rollback transaction
372
+  (0.0ms) begin transaction
373
+  (0.1ms) rollback transaction
374
+  (0.1ms) begin transaction
375
+  (0.0ms) rollback transaction
376
+  (0.1ms) begin transaction
377
+  (0.0ms) rollback transaction
378
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
379
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
380
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
381
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
382
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
383
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
384
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
385
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
386
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
387
+  (0.1ms) SELECT version FROM "schema_migrations"
388
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
389
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
390
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
391
+  (0.0ms) begin transaction
392
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:20:50 UTC], ["updated_at", 2016-10-17 05:20:50 UTC]]
393
+  (1.2ms) commit transaction
394
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
395
+  (0.1ms) begin transaction
396
+  (0.0ms) commit transaction
397
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
398
+  (0.1ms) begin transaction
399
+  (0.0ms) rollback transaction
400
+  (0.1ms) begin transaction
401
+  (0.0ms) rollback transaction
402
+  (0.1ms) begin transaction
403
+  (0.1ms) rollback transaction
404
+  (0.0ms) begin transaction
405
+  (0.0ms) rollback transaction
406
+  (0.0ms) begin transaction
407
+  (0.0ms) rollback transaction
408
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
409
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
410
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
411
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
412
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
413
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
414
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
415
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
416
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
417
+  (0.1ms) SELECT version FROM "schema_migrations"
418
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
419
+  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
420
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
421
+  (0.0ms) begin transaction
422
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:20:55 UTC], ["updated_at", 2016-10-17 05:20:55 UTC]]
423
+  (3.1ms) commit transaction
424
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
425
+  (0.0ms) begin transaction
426
+  (0.0ms) commit transaction
427
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
428
+  (0.1ms) begin transaction
429
+  (0.1ms) rollback transaction
430
+  (0.0ms) begin transaction
431
+  (0.0ms) rollback transaction
432
+  (0.0ms) begin transaction
433
+  (0.1ms) rollback transaction
434
+  (0.1ms) begin transaction
435
+  (0.0ms) rollback transaction
436
+  (0.1ms) begin transaction
437
+  (0.1ms) rollback transaction
438
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
439
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
440
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
441
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
442
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
443
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
444
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
445
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
446
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
447
+  (0.1ms) SELECT version FROM "schema_migrations"
448
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
449
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
450
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
451
+  (0.1ms) begin transaction
452
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:22:05 UTC], ["updated_at", 2016-10-17 05:22:05 UTC]]
453
+  (8.5ms) commit transaction
454
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
455
+  (0.0ms) begin transaction
456
+  (0.0ms) commit transaction
457
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
458
+  (0.1ms) begin transaction
459
+  (0.1ms) rollback transaction
460
+  (0.2ms) begin transaction
461
+  (0.1ms) rollback transaction
462
+  (0.1ms) begin transaction
463
+  (0.1ms) rollback transaction
464
+  (0.1ms) begin transaction
465
+  (0.0ms) rollback transaction
466
+  (0.0ms) begin transaction
467
+  (0.0ms) rollback transaction
468
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
469
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
470
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
471
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
472
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
473
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
474
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
475
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
476
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
477
+  (0.1ms) SELECT version FROM "schema_migrations"
478
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
479
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
480
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
481
+  (0.1ms) begin transaction
482
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:23:26 UTC], ["updated_at", 2016-10-17 05:23:26 UTC]]
483
+  (5.1ms) commit transaction
484
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
485
+  (0.0ms) begin transaction
486
+  (0.0ms) commit transaction
487
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
488
+  (0.1ms) begin transaction
489
+  (0.0ms) rollback transaction
490
+  (0.0ms) begin transaction
491
+  (0.0ms) rollback transaction
492
+  (0.0ms) begin transaction
493
+  (0.1ms) rollback transaction
494
+  (0.0ms) begin transaction
495
+  (0.0ms) rollback transaction
496
+  (0.1ms) begin transaction
497
+  (0.0ms) rollback transaction
498
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
499
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
500
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
501
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
502
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
503
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
504
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
505
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
506
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
507
+  (0.1ms) SELECT version FROM "schema_migrations"
508
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
509
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
510
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
511
+  (0.1ms) begin transaction
512
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:24:27 UTC], ["updated_at", 2016-10-17 05:24:27 UTC]]
513
+  (8.2ms) commit transaction
514
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
515
+  (0.1ms) begin transaction
516
+  (0.1ms) commit transaction
517
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
518
+  (0.1ms) begin transaction
519
+  (0.2ms) rollback transaction
520
+  (0.1ms) begin transaction
521
+  (0.0ms) rollback transaction
522
+  (0.0ms) begin transaction
523
+  (0.1ms) rollback transaction
524
+  (0.1ms) begin transaction
525
+  (0.0ms) rollback transaction
526
+  (0.0ms) begin transaction
527
+  (0.0ms) rollback transaction
528
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
529
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
530
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
531
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
532
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
533
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
534
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
535
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
536
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
537
+  (0.1ms) SELECT version FROM "schema_migrations"
538
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
539
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
540
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
541
+  (0.1ms) begin transaction
542
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:25:05 UTC], ["updated_at", 2016-10-17 05:25:05 UTC]]
543
+  (6.1ms) commit transaction
544
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
545
+  (0.0ms) begin transaction
546
+  (0.0ms) commit transaction
547
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
548
+  (0.1ms) begin transaction
549
+  (0.1ms) rollback transaction
550
+  (0.0ms) begin transaction
551
+  (0.1ms) rollback transaction
552
+  (0.1ms) begin transaction
553
+  (0.1ms) rollback transaction
554
+  (0.1ms) begin transaction
555
+  (0.0ms) rollback transaction
556
+  (0.0ms) begin transaction
557
+  (0.1ms) rollback transaction
558
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
559
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
560
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
561
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
562
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
563
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
564
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
565
+  (1.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
566
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
567
+  (0.1ms) SELECT version FROM "schema_migrations"
568
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
569
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
570
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
571
+  (0.1ms) begin transaction
572
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:25:51 UTC], ["updated_at", 2016-10-17 05:25:51 UTC]]
573
+  (19.7ms) commit transaction
574
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
575
+  (0.0ms) begin transaction
576
+  (0.0ms) commit transaction
577
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
578
+  (0.1ms) begin transaction
579
+  (0.0ms) rollback transaction
580
+  (0.0ms) begin transaction
581
+  (0.0ms) rollback transaction
582
+  (0.0ms) begin transaction
583
+  (0.1ms) rollback transaction
584
+  (0.1ms) begin transaction
585
+  (0.1ms) rollback transaction
586
+  (0.1ms) begin transaction
587
+  (0.1ms) rollback transaction
588
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
589
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
590
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
591
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
592
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
593
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
594
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
595
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
596
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
597
+  (0.1ms) SELECT version FROM "schema_migrations"
598
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
599
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
600
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
601
+  (0.1ms) begin transaction
602
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:26:16 UTC], ["updated_at", 2016-10-17 05:26:16 UTC]]
603
+  (22.6ms) commit transaction
604
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
605
+  (0.0ms) begin transaction
606
+  (0.0ms) commit transaction
607
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
608
+  (0.1ms) begin transaction
609
+  (0.1ms) rollback transaction
610
+  (0.0ms) begin transaction
611
+  (0.0ms) rollback transaction
612
+  (0.0ms) begin transaction
613
+  (0.1ms) rollback transaction
614
+  (0.0ms) begin transaction
615
+  (0.0ms) rollback transaction
616
+  (0.1ms) begin transaction
617
+  (0.1ms) rollback transaction
618
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
619
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
620
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
621
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
622
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
623
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
624
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
625
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
626
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
627
+  (0.1ms) SELECT version FROM "schema_migrations"
628
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
629
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
630
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
631
+  (0.1ms) begin transaction
632
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:26:37 UTC], ["updated_at", 2016-10-17 05:26:37 UTC]]
633
+  (19.1ms) commit transaction
634
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
635
+  (0.0ms) begin transaction
636
+  (0.0ms) commit transaction
637
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
638
+  (0.1ms) begin transaction
639
+  (0.1ms) rollback transaction
640
+  (0.1ms) begin transaction
641
+  (0.1ms) rollback transaction
642
+  (0.1ms) begin transaction
643
+  (0.1ms) rollback transaction
644
+  (0.1ms) begin transaction
645
+  (0.1ms) rollback transaction
646
+  (0.1ms) begin transaction
647
+  (0.1ms) rollback transaction
648
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
649
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
650
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
651
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
652
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
653
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
654
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
655
+  (1.2ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
656
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
657
+  (0.1ms) SELECT version FROM "schema_migrations"
658
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
659
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
660
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
661
+  (0.1ms) begin transaction
662
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:27:01 UTC], ["updated_at", 2016-10-17 05:27:01 UTC]]
663
+  (23.2ms) commit transaction
664
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
665
+  (0.0ms) begin transaction
666
+  (0.0ms) commit transaction
667
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
668
+  (0.1ms) begin transaction
669
+  (0.0ms) rollback transaction
670
+  (0.0ms) begin transaction
671
+  (0.0ms) rollback transaction
672
+  (0.0ms) begin transaction
673
+  (0.1ms) rollback transaction
674
+  (0.1ms) begin transaction
675
+  (0.1ms) rollback transaction
676
+  (0.1ms) begin transaction
677
+  (0.1ms) rollback transaction
678
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
679
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
680
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
681
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
682
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
683
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
684
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
685
+  (6.4ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
686
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
687
+  (0.1ms) SELECT version FROM "schema_migrations"
688
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
689
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
690
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
691
+  (0.1ms) begin transaction
692
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:32:00 UTC], ["updated_at", 2016-10-17 05:32:00 UTC]]
693
+  (1.0ms) commit transaction
694
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
695
+  (0.1ms) begin transaction
696
+  (0.1ms) commit transaction
697
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
698
+  (0.1ms) begin transaction
699
+  (0.0ms) rollback transaction
700
+  (0.0ms) begin transaction
701
+  (0.0ms) rollback transaction
702
+  (0.0ms) begin transaction
703
+  (0.1ms) rollback transaction
704
+  (0.0ms) begin transaction
705
+  (0.0ms) rollback transaction
706
+  (0.0ms) begin transaction
707
+  (0.0ms) rollback transaction
708
+  (0.0ms) begin transaction
709
+  (0.1ms) rollback transaction
710
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
711
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
712
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
713
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
714
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
715
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
716
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
717
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
718
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
719
+  (0.1ms) SELECT version FROM "schema_migrations"
720
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
721
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
722
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
723
+  (0.1ms) begin transaction
724
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:34:15 UTC], ["updated_at", 2016-10-17 05:34:15 UTC]]
725
+  (5.6ms) commit transaction
726
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
727
+  (0.1ms) begin transaction
728
+  (0.0ms) commit transaction
729
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
730
+  (0.1ms) begin transaction
731
+  (0.0ms) rollback transaction
732
+  (0.1ms) begin transaction
733
+  (0.0ms) rollback transaction
734
+  (0.0ms) begin transaction
735
+  (0.1ms) rollback transaction
736
+  (0.0ms) begin transaction
737
+  (0.0ms) rollback transaction
738
+  (0.0ms) begin transaction
739
+  (0.0ms) rollback transaction
740
+  (0.0ms) begin transaction
741
+  (0.1ms) rollback transaction
742
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
743
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
744
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
745
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
746
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
747
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
748
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
749
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
750
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
751
+  (0.1ms) SELECT version FROM "schema_migrations"
752
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
753
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
754
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
755
+  (0.1ms) begin transaction
756
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:35:10 UTC], ["updated_at", 2016-10-17 05:35:10 UTC]]
757
+  (0.9ms) commit transaction
758
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
759
+  (0.0ms) begin transaction
760
+  (0.0ms) commit transaction
761
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
762
+  (0.1ms) begin transaction
763
+  (0.1ms) rollback transaction
764
+  (0.0ms) begin transaction
765
+  (0.0ms) rollback transaction
766
+  (0.0ms) begin transaction
767
+  (0.1ms) rollback transaction
768
+  (0.1ms) begin transaction
769
+  (0.1ms) rollback transaction
770
+  (0.0ms) begin transaction
771
+  (0.0ms) rollback transaction
772
+  (0.0ms) begin transaction
773
+  (0.1ms) rollback transaction
774
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
775
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
776
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
777
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
778
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
779
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
780
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
781
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
782
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
783
+  (0.1ms) SELECT version FROM "schema_migrations"
784
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
785
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
786
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
787
+  (0.1ms) begin transaction
788
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:36:17 UTC], ["updated_at", 2016-10-17 05:36:17 UTC]]
789
+  (12.7ms) commit transaction
790
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
791
+  (0.1ms) begin transaction
792
+  (0.0ms) commit transaction
793
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
794
+  (0.1ms) begin transaction
795
+  (0.0ms) rollback transaction
796
+  (0.0ms) begin transaction
797
+  (0.0ms) rollback transaction
798
+  (0.0ms) begin transaction
799
+  (0.1ms) rollback transaction
800
+  (0.0ms) begin transaction
801
+  (0.0ms) rollback transaction
802
+  (0.1ms) begin transaction
803
+  (0.1ms) rollback transaction
804
+  (0.1ms) begin transaction
805
+  (0.1ms) rollback transaction
806
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
807
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
808
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
809
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
810
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
811
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
812
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
813
+  (21.8ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
814
+  (24.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
815
+  (0.1ms) SELECT version FROM "schema_migrations"
816
+  (30.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
817
+  (24.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
818
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
819
+  (0.0ms) begin transaction
820
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:45:29 UTC], ["updated_at", 2016-10-17 05:45:29 UTC]]
821
+  (18.9ms) commit transaction
822
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
823
+  (0.1ms) begin transaction
824
+  (0.0ms) commit transaction
825
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
826
+  (0.1ms) begin transaction
827
+  (0.0ms) rollback transaction
828
+  (0.0ms) begin transaction
829
+  (0.0ms) rollback transaction
830
+  (0.0ms) begin transaction
831
+  (0.1ms) rollback transaction
832
+  (0.1ms) begin transaction
833
+  (0.1ms) rollback transaction
834
+  (0.0ms) begin transaction
835
+  (0.0ms) rollback transaction
836
+  (0.0ms) begin transaction
837
+  (0.1ms) rollback transaction
838
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
839
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
840
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
841
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
842
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
843
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
844
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
845
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
846
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
847
+  (0.1ms) SELECT version FROM "schema_migrations"
848
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
849
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
850
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
851
+  (0.1ms) begin transaction
852
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:46:24 UTC], ["updated_at", 2016-10-17 05:46:24 UTC]]
853
+  (6.8ms) commit transaction
854
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
855
+  (0.1ms) begin transaction
856
+  (0.1ms) commit transaction
857
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
858
+  (0.1ms) begin transaction
859
+  (0.0ms) rollback transaction
860
+  (0.0ms) begin transaction
861
+  (0.0ms) rollback transaction
862
+  (0.0ms) begin transaction
863
+  (0.1ms) rollback transaction
864
+  (0.1ms) begin transaction
865
+  (0.0ms) rollback transaction
866
+  (0.1ms) begin transaction
867
+  (0.0ms) rollback transaction
868
+  (0.1ms) begin transaction
869
+  (0.1ms) rollback transaction
870
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
871
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
872
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
873
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
874
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
875
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
876
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
877
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
878
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
879
+  (0.1ms) SELECT version FROM "schema_migrations"
880
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
881
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
882
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
883
+  (0.1ms) begin transaction
884
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:46:51 UTC], ["updated_at", 2016-10-17 05:46:51 UTC]]
885
+  (9.3ms) commit transaction
886
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
887
+  (0.1ms) begin transaction
888
+  (0.1ms) commit transaction
889
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
890
+  (0.1ms) begin transaction
891
+  (0.1ms) rollback transaction
892
+  (0.1ms) begin transaction
893
+  (0.1ms) rollback transaction
894
+  (0.1ms) begin transaction
895
+  (0.1ms) rollback transaction
896
+  (0.1ms) begin transaction
897
+  (0.1ms) rollback transaction
898
+  (0.1ms) begin transaction
899
+  (0.0ms) rollback transaction
900
+  (0.1ms) begin transaction
901
+  (0.1ms) rollback transaction
902
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
903
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
904
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
905
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
906
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
907
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
908
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
909
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
910
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
911
+  (0.1ms) SELECT version FROM "schema_migrations"
912
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
913
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
914
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
915
+  (0.1ms) begin transaction
916
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:47:11 UTC], ["updated_at", 2016-10-17 05:47:11 UTC]]
917
+  (8.6ms) commit transaction
918
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
919
+  (0.0ms) begin transaction
920
+  (0.1ms) commit transaction
921
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
922
+  (0.1ms) begin transaction
923
+  (0.1ms) rollback transaction
924
+  (0.1ms) begin transaction
925
+  (0.0ms) rollback transaction
926
+  (0.1ms) begin transaction
927
+  (0.1ms) rollback transaction
928
+  (0.0ms) begin transaction
929
+  (0.1ms) rollback transaction
930
+  (0.1ms) begin transaction
931
+  (0.0ms) rollback transaction
932
+  (0.1ms) begin transaction
933
+  (0.1ms) rollback transaction
934
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
935
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
936
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
937
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
938
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
939
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
940
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
941
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
942
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
943
+  (0.1ms) SELECT version FROM "schema_migrations"
944
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
945
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
946
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
947
+  (0.1ms) begin transaction
948
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:47:48 UTC], ["updated_at", 2016-10-17 05:47:48 UTC]]
949
+  (1.8ms) commit transaction
950
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
951
+  (0.1ms) begin transaction
952
+  (0.0ms) commit transaction
953
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
954
+  (0.1ms) begin transaction
955
+  (0.1ms) rollback transaction
956
+  (0.1ms) begin transaction
957
+  (0.0ms) rollback transaction
958
+  (0.0ms) begin transaction
959
+  (0.1ms) rollback transaction
960
+  (0.0ms) begin transaction
961
+  (0.1ms) rollback transaction
962
+  (0.1ms) begin transaction
963
+  (0.1ms) rollback transaction
964
+  (0.1ms) begin transaction
965
+  (0.1ms) rollback transaction
966
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
967
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
968
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
969
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
970
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
971
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
972
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
973
+  (1.5ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
974
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
975
+  (0.1ms) SELECT version FROM "schema_migrations"
976
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
977
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
978
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
979
+  (0.1ms) begin transaction
980
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:51:12 UTC], ["updated_at", 2016-10-17 05:51:12 UTC]]
981
+  (9.6ms) commit transaction
982
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
983
+  (0.1ms) begin transaction
984
+  (0.0ms) commit transaction
985
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
986
+  (0.1ms) begin transaction
987
+  (0.0ms) rollback transaction
988
+  (0.0ms) begin transaction
989
+  (0.0ms) rollback transaction
990
+  (0.1ms) begin transaction
991
+  (0.1ms) rollback transaction
992
+  (0.0ms) begin transaction
993
+  (0.1ms) rollback transaction
994
+  (0.0ms) begin transaction
995
+  (0.1ms) rollback transaction
996
+  (0.1ms) begin transaction
997
+  (0.1ms) rollback transaction
998
+  (0.1ms) begin transaction
999
+  (0.1ms) rollback transaction
1000
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1001
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1002
+  (6.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1003
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1004
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1005
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1006
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1007
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1008
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1009
+  (0.1ms) SELECT version FROM "schema_migrations"
1010
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
1011
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1012
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1013
+  (0.0ms) begin transaction
1014
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:52:34 UTC], ["updated_at", 2016-10-17 05:52:34 UTC]]
1015
+  (1.0ms) commit transaction
1016
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1017
+  (0.0ms) begin transaction
1018
+  (0.0ms) commit transaction
1019
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1020
+  (0.1ms) begin transaction
1021
+  (0.1ms) rollback transaction
1022
+  (0.1ms) begin transaction
1023
+  (0.0ms) rollback transaction
1024
+  (0.1ms) begin transaction
1025
+  (0.1ms) rollback transaction
1026
+  (0.1ms) begin transaction
1027
+  (0.1ms) rollback transaction
1028
+  (0.1ms) begin transaction
1029
+  (0.1ms) rollback transaction
1030
+  (0.0ms) begin transaction
1031
+  (0.1ms) rollback transaction
1032
+  (0.0ms) begin transaction
1033
+  (0.1ms) rollback transaction
1034
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1035
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1036
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1037
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1038
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1039
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1040
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1041
+  (1.9ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1042
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1043
+  (0.1ms) SELECT version FROM "schema_migrations"
1044
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
1045
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1046
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1047
+  (0.1ms) begin transaction
1048
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:53:45 UTC], ["updated_at", 2016-10-17 05:53:45 UTC]]
1049
+  (5.7ms) commit transaction
1050
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1051
+  (0.0ms) begin transaction
1052
+  (0.0ms) commit transaction
1053
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1054
+  (0.1ms) begin transaction
1055
+  (0.1ms) rollback transaction
1056
+  (0.0ms) begin transaction
1057
+  (0.0ms) rollback transaction
1058
+  (0.0ms) begin transaction
1059
+  (0.1ms) rollback transaction
1060
+  (0.0ms) begin transaction
1061
+  (0.0ms) rollback transaction
1062
+  (0.0ms) begin transaction
1063
+  (0.0ms) rollback transaction
1064
+  (0.0ms) begin transaction
1065
+  (0.0ms) rollback transaction
1066
+  (0.0ms) begin transaction
1067
+  (0.0ms) rollback transaction
1068
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1069
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1070
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1071
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1072
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1073
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1074
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1075
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1076
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1077
+  (0.1ms) SELECT version FROM "schema_migrations"
1078
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
1079
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1080
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1081
+  (0.1ms) begin transaction
1082
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:54:15 UTC], ["updated_at", 2016-10-17 05:54:15 UTC]]
1083
+  (1.4ms) commit transaction
1084
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1085
+  (0.0ms) begin transaction
1086
+  (0.0ms) commit transaction
1087
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1088
+  (0.1ms) begin transaction
1089
+  (0.0ms) rollback transaction
1090
+  (0.0ms) begin transaction
1091
+  (0.0ms) rollback transaction
1092
+  (0.0ms) begin transaction
1093
+  (0.1ms) rollback transaction
1094
+  (0.0ms) begin transaction
1095
+  (0.0ms) rollback transaction
1096
+  (0.1ms) begin transaction
1097
+  (0.1ms) rollback transaction
1098
+  (0.1ms) begin transaction
1099
+  (0.1ms) rollback transaction
1100
+  (0.1ms) begin transaction
1101
+  (0.1ms) rollback transaction
1102
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1103
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1104
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1105
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1106
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1107
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1108
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1109
+  (2.1ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1110
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1111
+  (0.1ms) SELECT version FROM "schema_migrations"
1112
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
1113
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1114
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1115
+  (0.1ms) begin transaction
1116
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:55:15 UTC], ["updated_at", 2016-10-17 05:55:15 UTC]]
1117
+  (6.5ms) commit transaction
1118
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1119
+  (0.1ms) begin transaction
1120
+  (0.0ms) commit transaction
1121
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1122
+  (0.1ms) begin transaction
1123
+  (0.0ms) rollback transaction
1124
+  (0.0ms) begin transaction
1125
+  (0.0ms) rollback transaction
1126
+  (0.0ms) begin transaction
1127
+  (0.1ms) rollback transaction
1128
+  (0.0ms) begin transaction
1129
+  (0.0ms) rollback transaction
1130
+  (0.0ms) begin transaction
1131
+  (0.0ms) rollback transaction
1132
+  (0.1ms) begin transaction
1133
+  (0.1ms) rollback transaction
1134
+  (0.0ms) begin transaction
1135
+  (0.0ms) rollback transaction
1136
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1137
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1138
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1139
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1140
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1141
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1142
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1143
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1144
+  (18.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1145
+  (0.1ms) SELECT version FROM "schema_migrations"
1146
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
1147
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1148
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1149
+  (0.1ms) begin transaction
1150
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:56:05 UTC], ["updated_at", 2016-10-17 05:56:05 UTC]]
1151
+  (9.3ms) commit transaction
1152
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1153
+  (0.0ms) begin transaction
1154
+  (0.1ms) commit transaction
1155
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1156
+  (0.1ms) begin transaction
1157
+  (0.0ms) rollback transaction
1158
+  (0.0ms) begin transaction
1159
+  (0.0ms) rollback transaction
1160
+  (0.0ms) begin transaction
1161
+  (0.1ms) rollback transaction
1162
+  (0.0ms) begin transaction
1163
+  (0.0ms) rollback transaction
1164
+  (0.0ms) begin transaction
1165
+  (0.0ms) rollback transaction
1166
+  (0.1ms) begin transaction
1167
+  (0.1ms) rollback transaction
1168
+  (0.0ms) begin transaction
1169
+  (0.0ms) rollback transaction
1170
+  (0.1ms) begin transaction
1171
+  (0.0ms) rollback transaction
1172
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1173
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1174
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1175
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1176
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1177
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1178
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1179
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1180
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1181
+  (0.1ms) SELECT version FROM "schema_migrations"
1182
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
1183
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1184
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1185
+  (0.0ms) begin transaction
1186
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 05:56:42 UTC], ["updated_at", 2016-10-17 05:56:42 UTC]]
1187
+  (1.1ms) commit transaction
1188
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1189
+  (0.0ms) begin transaction
1190
+  (0.0ms) commit transaction
1191
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1192
+  (0.1ms) begin transaction
1193
+  (0.0ms) rollback transaction
1194
+  (0.0ms) begin transaction
1195
+  (0.0ms) rollback transaction
1196
+  (0.0ms) begin transaction
1197
+  (0.1ms) rollback transaction
1198
+  (0.0ms) begin transaction
1199
+  (0.0ms) rollback transaction
1200
+  (0.0ms) begin transaction
1201
+  (0.0ms) rollback transaction
1202
+  (0.0ms) begin transaction
1203
+  (0.0ms) rollback transaction
1204
+  (0.0ms) begin transaction
1205
+  (0.0ms) rollback transaction
1206
+  (0.0ms) begin transaction
1207
+  (0.0ms) rollback transaction
1208
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1209
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1210
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1211
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1212
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1213
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1214
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1215
+  (1.3ms) CREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "a" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1216
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1217
+  (0.1ms) SELECT version FROM "schema_migrations"
1218
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161016220221')
1219
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1220
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1221
+  (0.1ms) begin transaction
1222
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-10-17 06:20:41 UTC], ["updated_at", 2016-10-17 06:20:41 UTC]]
1223
+  (1.0ms) commit transaction
1224
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1225
+  (0.0ms) begin transaction
1226
+  (0.0ms) commit transaction
1227
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1228
+  (0.1ms) begin transaction
1229
+  (0.0ms) rollback transaction
1230
+  (0.1ms) begin transaction
1231
+  (0.0ms) rollback transaction
1232
+  (0.0ms) begin transaction
1233
+  (0.1ms) rollback transaction
1234
+  (0.1ms) begin transaction
1235
+  (0.1ms) rollback transaction
1236
+  (0.0ms) begin transaction
1237
+  (0.0ms) rollback transaction
1238
+  (0.0ms) begin transaction
1239
+  (0.1ms) rollback transaction
1240
+  (0.1ms) begin transaction
1241
+  (0.1ms) rollback transaction
1242
+  (0.1ms) begin transaction
1243
+  (0.0ms) rollback transaction