human_attribute_values 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +72 -0
  4. data/Rakefile +32 -0
  5. data/lib/human_attribute_values/human_attribute_value.rb +43 -0
  6. data/lib/human_attribute_values/version.rb +3 -0
  7. data/lib/human_attribute_values.rb +4 -0
  8. data/lib/tasks/human_attribute_value_tasks.rake +4 -0
  9. data/test/dummy/README.rdoc +28 -0
  10. data/test/dummy/Rakefile +6 -0
  11. data/test/dummy/app/assets/javascripts/application.js +13 -0
  12. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  13. data/test/dummy/app/controllers/application_controller.rb +5 -0
  14. data/test/dummy/app/helpers/application_helper.rb +2 -0
  15. data/test/dummy/app/models/boolean_model.rb +2 -0
  16. data/test/dummy/app/models/child.rb +2 -0
  17. data/test/dummy/app/models/enum_model.rb +3 -0
  18. data/test/dummy/app/models/grand_child.rb +2 -0
  19. data/test/dummy/app/models/lexicon.rb +3 -0
  20. data/test/dummy/app/models/numeric_model.rb +2 -0
  21. data/test/dummy/app/models/parent.rb +2 -0
  22. data/test/dummy/app/models/sibling.rb +2 -0
  23. data/test/dummy/app/models/the_answer.rb +2 -0
  24. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  25. data/test/dummy/bin/bundle +3 -0
  26. data/test/dummy/bin/rails +4 -0
  27. data/test/dummy/bin/rake +4 -0
  28. data/test/dummy/config/application.rb +23 -0
  29. data/test/dummy/config/boot.rb +5 -0
  30. data/test/dummy/config/database.yml +25 -0
  31. data/test/dummy/config/environment.rb +5 -0
  32. data/test/dummy/config/environments/development.rb +29 -0
  33. data/test/dummy/config/environments/production.rb +80 -0
  34. data/test/dummy/config/environments/test.rb +36 -0
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  36. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  37. data/test/dummy/config/initializers/inflections.rb +16 -0
  38. data/test/dummy/config/initializers/mime_types.rb +5 -0
  39. data/test/dummy/config/initializers/secret_token.rb +12 -0
  40. data/test/dummy/config/initializers/session_store.rb +3 -0
  41. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  42. data/test/dummy/config/locales/en.yml +40 -0
  43. data/test/dummy/config/routes.rb +56 -0
  44. data/test/dummy/config.ru +4 -0
  45. data/test/dummy/db/development.sqlite3 +0 -0
  46. data/test/dummy/db/migrate/20150127220502_create_the_answers.rb +9 -0
  47. data/test/dummy/db/migrate/20150131153819_create_parents.rb +10 -0
  48. data/test/dummy/db/migrate/20150131161322_create_boolean_models.rb +9 -0
  49. data/test/dummy/db/migrate/20150131162551_create_numeric_models.rb +10 -0
  50. data/test/dummy/db/migrate/20150131164609_create_lexicons.rb +9 -0
  51. data/test/dummy/db/migrate/20150131170613_create_enum_models.rb +9 -0
  52. data/test/dummy/db/schema.rb +56 -0
  53. data/test/dummy/db/test.sqlite3 +0 -0
  54. data/test/dummy/log/development.log +307 -0
  55. data/test/dummy/log/test.log +2445 -0
  56. data/test/dummy/public/404.html +58 -0
  57. data/test/dummy/public/422.html +58 -0
  58. data/test/dummy/public/500.html +57 -0
  59. data/test/dummy/public/favicon.ico +0 -0
  60. data/test/dummy/test/fixtures/boolean_models.yml +7 -0
  61. data/test/dummy/test/fixtures/children.yml +11 -0
  62. data/test/dummy/test/fixtures/enum_models.yml +7 -0
  63. data/test/dummy/test/fixtures/grandchildren.yml +11 -0
  64. data/test/dummy/test/fixtures/lexicons.yml +7 -0
  65. data/test/dummy/test/fixtures/numeric_models.yml +9 -0
  66. data/test/dummy/test/fixtures/siblings.yml +11 -0
  67. data/test/dummy/test/fixtures/the_answers.yml +7 -0
  68. data/test/dummy/test/models/boolean_model_test.rb +7 -0
  69. data/test/dummy/test/models/child_test.rb +7 -0
  70. data/test/dummy/test/models/enum_model_test.rb +7 -0
  71. data/test/dummy/test/models/grand_child_test.rb +7 -0
  72. data/test/dummy/test/models/lexicon_test.rb +7 -0
  73. data/test/dummy/test/models/numeric_model_test.rb +7 -0
  74. data/test/dummy/test/models/sibling_test.rb +7 -0
  75. data/test/dummy/test/models/the_answer_test.rb +7 -0
  76. data/test/human_attribute_values_test.rb +69 -0
  77. data/test/test_helper.rb +15 -0
  78. metadata +216 -0
@@ -0,0 +1,40 @@
1
+ en:
2
+ activerecord:
3
+ models:
4
+ the_answer: The ultimate Answer
5
+ attributes:
6
+ the_answer:
7
+ ultimate_truth: "The answer the answer to life, the universe and everything"
8
+ values:
9
+ the_answer:
10
+ ultimate_truth:
11
+ '42':
12
+ one: was calculated by Deep Thought
13
+ other: there is only one ultimate answer
14
+ 'wissen ist Nacht': coined by Prof. Dr. Abdul Nachtigaller
15
+ parent:
16
+ field:
17
+ '1': 'parent value 1'
18
+ '2': 'parent value 2'
19
+ '3': 'parent value 3'
20
+ child:
21
+ field:
22
+ '1': 'child value 1'
23
+ '2': 'child value 2'
24
+ sibling:
25
+ field:
26
+ '4': 'sibling value 4'
27
+ grand_child:
28
+ field:
29
+ '1': 'grandchild value 1'
30
+ boolean_model:
31
+ boolean_field:
32
+ 'true': 'This is true'
33
+ numeric_model:
34
+ integer_field:
35
+ '1': 'One'
36
+ decimal_field:
37
+ '1_0': 'One point zero'
38
+ enum_model:
39
+ status:
40
+ dead_and_alive: 'The box has not been opened yet'
@@ -0,0 +1,56 @@
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
+
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
10
+
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
+
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Example resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Example resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Example resource route with more complex sub-resources:
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', on: :collection
40
+ # end
41
+ # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
49
+
50
+ # Example resource route within a namespace:
51
+ # namespace :admin do
52
+ # # Directs /admin/products/* to Admin::ProductsController
53
+ # # (app/controllers/admin/products_controller.rb)
54
+ # resources :products
55
+ # end
56
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
Binary file
@@ -0,0 +1,9 @@
1
+ class CreateTheAnswers < ActiveRecord::Migration
2
+ def change
3
+ create_table :the_answers do |t|
4
+ t.string :ultimate_truth
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ class CreateParents < ActiveRecord::Migration
2
+ def change
3
+ create_table :parents do |t|
4
+ t.string :type
5
+ t.string :field
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,9 @@
1
+ class CreateBooleanModels < ActiveRecord::Migration
2
+ def change
3
+ create_table :boolean_models do |t|
4
+ t.boolean :boolean_field
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ class CreateNumericModels < ActiveRecord::Migration
2
+ def change
3
+ create_table :numeric_models do |t|
4
+ t.integer :integer_field
5
+ t.decimal :decimal_field
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,9 @@
1
+ class CreateLexicons < ActiveRecord::Migration
2
+ def change
3
+ create_table :lexicons do |t|
4
+ t.references :the_answer, index: true
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class CreateEnumModels < ActiveRecord::Migration
2
+ def change
3
+ create_table :enum_models do |t|
4
+ t.integer :status
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,56 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20150131170613) do
15
+
16
+ create_table "boolean_models", force: true do |t|
17
+ t.boolean "boolean_field"
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
+ end
21
+
22
+ create_table "enum_models", force: true do |t|
23
+ t.integer "status"
24
+ t.datetime "created_at"
25
+ t.datetime "updated_at"
26
+ end
27
+
28
+ create_table "lexicons", force: true do |t|
29
+ t.integer "the_answer_id"
30
+ t.datetime "created_at"
31
+ t.datetime "updated_at"
32
+ end
33
+
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"
41
+ end
42
+
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"
48
+ end
49
+
50
+ create_table "the_answers", force: true do |t|
51
+ t.string "ultimate_truth"
52
+ t.datetime "created_at"
53
+ t.datetime "updated_at"
54
+ end
55
+
56
+ end
Binary file
@@ -0,0 +1,307 @@
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
+