human_attribute_values 1.0.1 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +5 -5
  4. data/lib/human_attribute_values/human_attribute_value.rb +14 -12
  5. data/lib/human_attribute_values/version.rb +3 -1
  6. data/lib/human_attribute_values.rb +2 -0
  7. data/test/active_model_test.rb +62 -0
  8. data/test/{human_attribute_values_test.rb → active_record_test.rb} +14 -14
  9. data/test/dummy/Rakefile +3 -1
  10. data/test/dummy/app/controllers/application_controller.rb +2 -0
  11. data/test/dummy/app/helpers/application_helper.rb +2 -0
  12. data/test/dummy/app/models/active_model_child.rb +4 -0
  13. data/test/dummy/app/models/active_model_grand_child.rb +4 -0
  14. data/test/dummy/app/models/active_model_model.rb +7 -0
  15. data/test/dummy/app/models/active_model_parent.rb +7 -0
  16. data/test/dummy/app/models/active_model_sibling.rb +4 -0
  17. data/test/dummy/app/models/boolean_model.rb +2 -0
  18. data/test/dummy/app/models/child.rb +2 -0
  19. data/test/dummy/app/models/enum_model.rb +2 -0
  20. data/test/dummy/app/models/grand_child.rb +2 -0
  21. data/test/dummy/app/models/lexicon.rb +3 -1
  22. data/test/dummy/app/models/numeric_model.rb +2 -0
  23. data/test/dummy/app/models/parent.rb +2 -0
  24. data/test/dummy/app/models/sibling.rb +2 -0
  25. data/test/dummy/app/models/the_answer.rb +3 -0
  26. data/test/dummy/config/application.rb +5 -3
  27. data/test/dummy/config/boot.rb +4 -2
  28. data/test/dummy/config/environment.rb +3 -1
  29. data/test/dummy/config/environments/development.rb +2 -0
  30. data/test/dummy/config/environments/production.rb +2 -0
  31. data/test/dummy/config/environments/test.rb +4 -2
  32. data/test/dummy/config/initializers/backtrace_silencers.rb +2 -0
  33. data/test/dummy/config/initializers/filter_parameter_logging.rb +2 -0
  34. data/test/dummy/config/initializers/inflections.rb +2 -0
  35. data/test/dummy/config/initializers/mime_types.rb +2 -0
  36. data/test/dummy/config/initializers/secret_token.rb +2 -0
  37. data/test/dummy/config/initializers/session_store.rb +2 -0
  38. data/test/dummy/config/initializers/wrap_parameters.rb +2 -0
  39. data/test/dummy/config/locales/en.yml +32 -1
  40. data/test/dummy/config/routes.rb +2 -0
  41. data/test/dummy/config.ru +3 -1
  42. data/test/dummy/db/development.sqlite3 +0 -0
  43. data/test/dummy/db/migrate/20150127220502_create_the_answers.rb +5 -1
  44. data/test/dummy/db/migrate/20150131153819_create_parents.rb +4 -1
  45. data/test/dummy/db/migrate/20150131161322_create_boolean_models.rb +4 -1
  46. data/test/dummy/db/migrate/20150131162551_create_numeric_models.rb +4 -1
  47. data/test/dummy/db/migrate/20150131164609_create_lexicons.rb +4 -3
  48. data/test/dummy/db/migrate/20150131170613_create_enum_models.rb +4 -1
  49. data/test/dummy/db/schema.rb +28 -30
  50. data/test/dummy/db/test.sqlite3 +0 -0
  51. data/test/dummy/log/development.log +364 -0
  52. data/test/dummy/log/test.log +4861 -200
  53. data/test/dummy/test/models/boolean_model_test.rb +2 -0
  54. data/test/dummy/test/models/child_test.rb +2 -0
  55. data/test/dummy/test/models/enum_model_test.rb +2 -0
  56. data/test/dummy/test/models/grand_child_test.rb +2 -0
  57. data/test/dummy/test/models/lexicon_test.rb +2 -0
  58. data/test/dummy/test/models/numeric_model_test.rb +2 -0
  59. data/test/dummy/test/models/sibling_test.rb +2 -0
  60. data/test/dummy/test/models/the_answer_test.rb +2 -0
  61. data/test/test_helper.rb +6 -4
  62. metadata +99 -67
  63. data/Rakefile +0 -32
  64. data/lib/tasks/human_attribute_value_tasks.rake +0 -4
@@ -1,4 +1,3 @@
1
- # encoding: UTF-8
2
1
  # This file is auto-generated from the current state of the database. Instead
3
2
  # of editing this file, please use the migrations feature of Active Record to
4
3
  # incrementally modify your database, and then regenerate this schema definition.
@@ -11,46 +10,45 @@
11
10
  #
12
11
  # It's strongly recommended that you check this file into your version control system.
13
12
 
14
- ActiveRecord::Schema.define(version: 20150131170613) do
13
+ ActiveRecord::Schema.define(version: 2015_01_31_170613) do
15
14
 
16
- create_table "boolean_models", force: true do |t|
17
- t.boolean "boolean_field"
18
- t.datetime "created_at"
19
- t.datetime "updated_at"
15
+ create_table "boolean_models", force: :cascade do |t|
16
+ t.boolean "boolean_field"
17
+ t.datetime "created_at", null: false
18
+ t.datetime "updated_at", null: false
20
19
  end
21
20
 
22
- create_table "enum_models", force: true do |t|
23
- t.integer "status"
24
- t.datetime "created_at"
25
- t.datetime "updated_at"
21
+ create_table "enum_models", force: :cascade do |t|
22
+ t.integer "status"
23
+ t.datetime "created_at", null: false
24
+ t.datetime "updated_at", null: false
26
25
  end
27
26
 
28
- create_table "lexicons", force: true do |t|
29
- t.integer "the_answer_id"
30
- t.datetime "created_at"
31
- t.datetime "updated_at"
27
+ create_table "lexicons", force: :cascade do |t|
28
+ t.datetime "created_at", null: false
29
+ t.datetime "updated_at", null: false
32
30
  end
33
31
 
34
- add_index "lexicons", ["the_answer_id"], name: "index_lexicons_on_the_answer_id"
35
-
36
- create_table "numeric_models", force: true do |t|
37
- t.integer "integer_field"
38
- t.decimal "decimal_field"
39
- t.datetime "created_at"
40
- t.datetime "updated_at"
32
+ create_table "numeric_models", force: :cascade do |t|
33
+ t.integer "integer_field"
34
+ t.decimal "decimal_field"
35
+ t.datetime "created_at", null: false
36
+ t.datetime "updated_at", null: false
41
37
  end
42
38
 
43
- create_table "parents", force: true do |t|
44
- t.string "type"
45
- t.string "field"
46
- t.datetime "created_at"
47
- t.datetime "updated_at"
39
+ create_table "parents", force: :cascade do |t|
40
+ t.string "type"
41
+ t.string "field"
42
+ t.datetime "created_at", null: false
43
+ t.datetime "updated_at", null: false
48
44
  end
49
45
 
50
- create_table "the_answers", force: true do |t|
51
- t.string "ultimate_truth"
52
- t.datetime "created_at"
53
- t.datetime "updated_at"
46
+ create_table "the_answers", force: :cascade do |t|
47
+ t.string "ultimate_truth"
48
+ t.integer "lexicon_id"
49
+ t.datetime "created_at", null: false
50
+ t.datetime "updated_at", null: false
51
+ t.index ["lexicon_id"], name: "index_the_answers_on_lexicon_id"
54
52
  end
55
53
 
56
54
  end
Binary file
@@ -0,0 +1,364 @@
1
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+ Migrating to Parent (20150131153819)
3
+  (0.0ms) begin transaction
4
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
5
+  (65.8ms) commit transaction
6
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
7
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
+ Migrating to Parent (20150131153819)
10
+  (0.0ms) begin transaction
11
+  (0.1ms) DROP TABLE "parent"
12
+ SQLite3::SQLException: no such table: parent: DROP TABLE "parent"
13
+  (0.0ms) rollback transaction
14
+  (71.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15
+  (0.1ms) select sqlite_version(*)
16
+  (105.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
+ Migrating to CreateTheAnswers (20150127220502)
19
+  (0.0ms) begin transaction
20
+  (0.2ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
21
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
22
+  (62.1ms) commit transaction
23
+ Migrating to Parent (20150131153819)
24
+  (0.0ms) begin transaction
25
+  (0.2ms) CREATE TABLE "parent" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
26
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
27
+  (65.2ms) commit transaction
28
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29
+  (96.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
30
+  (0.1ms) select sqlite_version(*)
31
+  (99.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
32
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
33
+ Migrating to CreateTheAnswers (20150127220502)
34
+  (0.0ms) begin transaction
35
+  (0.2ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
36
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
37
+  (106.6ms) commit transaction
38
+ Migrating to Parent (20150131153819)
39
+  (0.1ms) begin transaction
40
+  (0.3ms) CREATE TABLE "parent" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
41
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
42
+  (64.3ms) commit transaction
43
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
+  (93.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
45
+  (0.1ms) select sqlite_version(*)
46
+  (99.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
47
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
48
+ Migrating to CreateTheAnswers (20150127220502)
49
+  (0.0ms) begin transaction
50
+  (0.2ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
51
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
52
+  (106.6ms) commit transaction
53
+ Migrating to CreateParents (20150131153819)
54
+  (0.0ms) begin transaction
55
+  (0.2ms) CREATE TABLE "parent" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
56
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
57
+  (65.2ms) commit transaction
58
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
59
+  (90.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
60
+  (0.1ms) select sqlite_version(*)
61
+  (111.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
62
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
63
+ Migrating to CreateTheAnswers (20150127220502)
64
+  (0.0ms) begin transaction
65
+  (0.2ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
66
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
67
+  (106.0ms) commit transaction
68
+ Migrating to CreateParents (20150131153819)
69
+  (0.1ms) begin transaction
70
+  (0.2ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
71
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
72
+  (65.2ms) commit transaction
73
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
74
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
75
+ Migrating to CreateBooleanModels (20150131161322)
76
+  (0.0ms) begin transaction
77
+  (0.2ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime, "updated_at" datetime) 
78
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131161322"]]
79
+  (43.4ms) commit transaction
80
+ Migrating to CreateNumericModels (20150131162551)
81
+  (0.0ms) begin transaction
82
+  (0.2ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime, "updated_at" datetime) 
83
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131162551"]]
84
+  (26.3ms) commit transaction
85
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
86
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
87
+ Migrating to CreateLexicons (20150131164609)
88
+  (0.0ms) begin transaction
89
+  (0.2ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answers_id" integer, "created_at" datetime, "updated_at" datetime) 
90
+  (0.0ms) select sqlite_version(*)
91
+  (0.1ms) CREATE INDEX "index_lexicons_on_answers_id" ON "lexicons" ("answers_id")
92
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131164609"]]
93
+  (44.0ms) commit transaction
94
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
95
+  (0.1ms)  SELECT sql
96
+ FROM sqlite_master
97
+ WHERE name='index_lexicons_on_answers_id' AND type='index'
98
+ UNION ALL
99
+ SELECT sql
100
+ FROM sqlite_temp_master
101
+ WHERE name='index_lexicons_on_answers_id' AND type='index'
102
+ 
103
+  (94.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
104
+  (0.1ms) select sqlite_version(*)
105
+  (120.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
106
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
107
+ Migrating to CreateTheAnswers (20150127220502)
108
+  (0.0ms) begin transaction
109
+  (0.2ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
110
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
111
+  (106.5ms) commit transaction
112
+ Migrating to CreateParents (20150131153819)
113
+  (0.1ms) begin transaction
114
+  (0.3ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
115
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
116
+  (64.0ms) commit transaction
117
+ Migrating to CreateBooleanModels (20150131161322)
118
+  (0.1ms) begin transaction
119
+  (0.2ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime, "updated_at" datetime)
120
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131161322"]]
121
+  (269.3ms) commit transaction
122
+ Migrating to CreateNumericModels (20150131162551)
123
+  (0.0ms) begin transaction
124
+  (0.2ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime, "updated_at" datetime)
125
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131162551"]]
126
+  (73.4ms) commit transaction
127
+ Migrating to CreateLexicons (20150131164609)
128
+  (0.1ms) begin transaction
129
+  (0.3ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer, "created_at" datetime, "updated_at" datetime)
130
+  (0.1ms) CREATE INDEX "index_lexicons_on_answer_id" ON "lexicons" ("answer_id")
131
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131164609"]]
132
+  (73.9ms) commit transaction
133
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
134
+  (0.1ms)  SELECT sql
135
+ FROM sqlite_master
136
+ WHERE name='index_lexicons_on_answer_id' AND type='index'
137
+ UNION ALL
138
+ SELECT sql
139
+ FROM sqlite_temp_master
140
+ WHERE name='index_lexicons_on_answer_id' AND type='index'
141
+ 
142
+  (103.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
143
+  (0.1ms) select sqlite_version(*)
144
+  (110.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
145
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
146
+ Migrating to CreateTheAnswers (20150127220502)
147
+  (0.0ms) begin transaction
148
+  (0.2ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
149
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
150
+  (117.4ms) commit transaction
151
+ Migrating to CreateParents (20150131153819)
152
+  (0.0ms) begin transaction
153
+  (0.1ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
154
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
155
+  (66.6ms) commit transaction
156
+ Migrating to CreateBooleanModels (20150131161322)
157
+  (0.1ms) begin transaction
158
+  (0.1ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime, "updated_at" datetime)
159
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131161322"]]
160
+  (283.4ms) commit transaction
161
+ Migrating to CreateNumericModels (20150131162551)
162
+  (0.1ms) begin transaction
163
+  (0.2ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime, "updated_at" datetime)
164
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131162551"]]
165
+  (88.9ms) commit transaction
166
+ Migrating to CreateLexicons (20150131164609)
167
+  (0.1ms) begin transaction
168
+  (0.3ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "the_answer_id" integer, "created_at" datetime, "updated_at" datetime)
169
+  (0.3ms) CREATE INDEX "index_lexicons_on_the_answer_id" ON "lexicons" ("the_answer_id")
170
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131164609"]]
171
+  (85.4ms) commit transaction
172
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
173
+  (0.1ms)  SELECT sql
174
+ FROM sqlite_master
175
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
176
+ UNION ALL
177
+ SELECT sql
178
+ FROM sqlite_temp_master
179
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
180
+ 
181
+  (91.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
182
+  (0.1ms) select sqlite_version(*)
183
+  (120.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
184
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
185
+ Migrating to CreateTheAnswers (20150127220502)
186
+  (0.1ms) begin transaction
187
+  (0.4ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
188
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
189
+  (101.1ms) commit transaction
190
+ Migrating to CreateParents (20150131153819)
191
+  (0.0ms) begin transaction
192
+  (0.2ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
193
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
194
+  (65.4ms) commit transaction
195
+ Migrating to CreateBooleanModels (20150131161322)
196
+  (0.0ms) begin transaction
197
+  (0.1ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime, "updated_at" datetime)
198
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131161322"]]
199
+  (232.0ms) commit transaction
200
+ Migrating to CreateNumericModels (20150131162551)
201
+  (0.1ms) begin transaction
202
+  (0.2ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime, "updated_at" datetime)
203
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131162551"]]
204
+  (85.5ms) commit transaction
205
+ Migrating to CreateLexicons (20150131164609)
206
+  (0.1ms) begin transaction
207
+  (0.5ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "the_answer_id" integer, "created_at" datetime, "updated_at" datetime)
208
+  (0.3ms) CREATE INDEX "index_lexicons_on_the_answer_id" ON "lexicons" ("the_answer_id")
209
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131164609"]]
210
+  (87.0ms) commit transaction
211
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
212
+  (0.1ms)  SELECT sql
213
+ FROM sqlite_master
214
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
215
+ UNION ALL
216
+ SELECT sql
217
+ FROM sqlite_temp_master
218
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
219
+ 
220
+  (78.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
221
+  (0.2ms) select sqlite_version(*)
222
+  (87.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
223
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
224
+ Migrating to CreateTheAnswers (20150127220502)
225
+  (0.1ms) begin transaction
226
+  (0.3ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
227
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
228
+  (125.7ms) commit transaction
229
+ Migrating to CreateParents (20150131153819)
230
+  (0.0ms) begin transaction
231
+  (0.2ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
232
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
233
+  (98.6ms) commit transaction
234
+ Migrating to CreateBooleanModels (20150131161322)
235
+  (0.0ms) begin transaction
236
+  (0.2ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime, "updated_at" datetime)
237
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131161322"]]
238
+  (336.3ms) commit transaction
239
+ Migrating to CreateNumericModels (20150131162551)
240
+  (0.0ms) begin transaction
241
+  (0.1ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime, "updated_at" datetime)
242
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131162551"]]
243
+  (152.8ms) commit transaction
244
+ Migrating to CreateLexicons (20150131164609)
245
+  (0.1ms) begin transaction
246
+  (0.2ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "the_answer_id" integer, "created_at" datetime, "updated_at" datetime)
247
+  (0.1ms) CREATE INDEX "index_lexicons_on_the_answer_id" ON "lexicons" ("the_answer_id")
248
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131164609"]]
249
+  (115.1ms) commit transaction
250
+ Migrating to CreateEnumModels (20150131170613)
251
+  (0.0ms) begin transaction
252
+  (0.2ms) CREATE TABLE "enum_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "created_at" datetime, "updated_at" datetime) 
253
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131170613"]]
254
+  (65.4ms) commit transaction
255
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
256
+  (0.3ms)  SELECT sql
257
+ FROM sqlite_master
258
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
259
+ UNION ALL
260
+ SELECT sql
261
+ FROM sqlite_temp_master
262
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
263
+ 
264
+  (97.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
265
+  (0.2ms) select sqlite_version(*)
266
+  (119.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
267
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
268
+ Migrating to CreateTheAnswers (20150127220502)
269
+  (0.0ms) begin transaction
270
+  (0.2ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar(255), "created_at" datetime, "updated_at" datetime)
271
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
272
+  (106.2ms) commit transaction
273
+ Migrating to CreateParents (20150131153819)
274
+  (0.1ms) begin transaction
275
+  (0.2ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "field" varchar(255), "created_at" datetime, "updated_at" datetime)
276
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
277
+  (66.0ms) commit transaction
278
+ Migrating to CreateBooleanModels (20150131161322)
279
+  (0.1ms) begin transaction
280
+  (0.2ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime, "updated_at" datetime)
281
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131161322"]]
282
+  (249.9ms) commit transaction
283
+ Migrating to CreateNumericModels (20150131162551)
284
+  (0.0ms) begin transaction
285
+  (0.2ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime, "updated_at" datetime)
286
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131162551"]]
287
+  (89.1ms) commit transaction
288
+ Migrating to CreateLexicons (20150131164609)
289
+  (0.2ms) begin transaction
290
+  (0.6ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "the_answer_id" integer, "created_at" datetime, "updated_at" datetime)
291
+  (0.3ms) CREATE INDEX "index_lexicons_on_the_answer_id" ON "lexicons" ("the_answer_id")
292
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131164609"]]
293
+  (74.7ms) commit transaction
294
+ Migrating to CreateEnumModels (20150131170613)
295
+  (0.3ms) begin transaction
296
+  (0.6ms) CREATE TABLE "enum_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "created_at" datetime, "updated_at" datetime) 
297
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131170613"]]
298
+  (106.3ms) commit transaction
299
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
300
+  (0.1ms)  SELECT sql
301
+ FROM sqlite_master
302
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
303
+ UNION ALL
304
+ SELECT sql
305
+ FROM sqlite_temp_master
306
+ WHERE name='index_lexicons_on_the_answer_id' AND type='index'
307
+ 
308
+
309
+ ***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
310
+
311
+ BooleanModel Load (0.1ms) SELECT "boolean_models".* FROM "boolean_models" ORDER BY "boolean_models"."id" ASC LIMIT ? [["LIMIT", 1]]
312
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
313
+  (0.1ms) SELECT sqlite_version(*)
314
+  (84.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
315
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
316
+  (0.0ms) begin transaction
317
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-08-30 21:02:55.704821"], ["updated_at", "2018-08-30 21:02:55.704821"]]
318
+  (19.6ms) commit transaction
319
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
320
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
321
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
322
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
323
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
324
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
325
+  (0.0ms) SELECT sqlite_version(*)
326
+  (117.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
327
+  (23.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
328
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
329
+ Migrating to CreateTheAnswers (20150127220502)
330
+  (0.0ms) begin transaction
331
+  (0.2ms) CREATE TABLE "the_answers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar, "lexicon_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
332
+  (0.1ms) CREATE INDEX "index_the_answers_on_lexicon_id" ON "the_answers" ("lexicon_id")
333
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150127220502"]]
334
+  (82.2ms) commit transaction
335
+ Migrating to CreateParents (20150131153819)
336
+  (0.0ms) begin transaction
337
+  (0.2ms) CREATE TABLE "parents" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "field" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
338
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131153819"]]
339
+  (186.7ms) commit transaction
340
+ Migrating to CreateBooleanModels (20150131161322)
341
+  (0.0ms) begin transaction
342
+  (0.2ms) CREATE TABLE "boolean_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
343
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131161322"]]
344
+  (27.7ms) commit transaction
345
+ Migrating to CreateNumericModels (20150131162551)
346
+  (0.1ms) begin transaction
347
+  (0.4ms) CREATE TABLE "numeric_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
348
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131162551"]]
349
+  (356.6ms) commit transaction
350
+ Migrating to CreateLexicons (20150131164609)
351
+  (0.0ms) begin transaction
352
+  (0.2ms) CREATE TABLE "lexicons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
353
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131164609"]]
354
+  (125.2ms) commit transaction
355
+ Migrating to CreateEnumModels (20150131170613)
356
+  (0.0ms) begin transaction
357
+  (0.2ms) CREATE TABLE "enum_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
358
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150131170613"]]
359
+  (24.5ms) commit transaction
360
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
361
+  (0.0ms) begin transaction
362
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-08-30 21:02:59.369517"], ["updated_at", "2018-08-30 21:02:59.369517"]]
363
+  (221.2ms) commit transaction
364
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC