rails_i18n_record 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +45 -0
  3. data/Rakefile +38 -0
  4. data/lib/generators/i18n_generator.rb +26 -0
  5. data/lib/generators/templates/migration.erb +19 -0
  6. data/lib/generators/templates/model.erb +13 -0
  7. data/lib/rails_i18n_record/base.rb +77 -0
  8. data/lib/rails_i18n_record/railtie.rb +9 -0
  9. data/lib/rails_i18n_record/version.rb +5 -0
  10. data/lib/rails_i18n_record.rb +6 -0
  11. data/test/dummy/README.rdoc +261 -0
  12. data/test/dummy/Rakefile +7 -0
  13. data/test/dummy/app/assets/javascripts/application.js +15 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  15. data/test/dummy/app/controllers/application_controller.rb +3 -0
  16. data/test/dummy/app/helpers/application_helper.rb +2 -0
  17. data/test/dummy/app/models/model.rb +4 -0
  18. data/test/dummy/app/models/model_translation.rb +13 -0
  19. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  20. data/test/dummy/config/application.rb +59 -0
  21. data/test/dummy/config/boot.rb +10 -0
  22. data/test/dummy/config/database.yml +25 -0
  23. data/test/dummy/config/environment.rb +5 -0
  24. data/test/dummy/config/environments/development.rb +37 -0
  25. data/test/dummy/config/environments/production.rb +67 -0
  26. data/test/dummy/config/environments/test.rb +37 -0
  27. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  28. data/test/dummy/config/initializers/inflections.rb +15 -0
  29. data/test/dummy/config/initializers/mime_types.rb +5 -0
  30. data/test/dummy/config/initializers/secret_token.rb +7 -0
  31. data/test/dummy/config/initializers/session_store.rb +8 -0
  32. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  33. data/test/dummy/config/locales/en.yml +5 -0
  34. data/test/dummy/config/routes.rb +58 -0
  35. data/test/dummy/config.ru +4 -0
  36. data/test/dummy/db/development.sqlite3 +0 -0
  37. data/test/dummy/db/migrate/20120831205714_create_models.rb +7 -0
  38. data/test/dummy/db/migrate/20130404161713_create_models_i18n.rb +19 -0
  39. data/test/dummy/db/schema.rb +35 -0
  40. data/test/dummy/db/test.sqlite3 +0 -0
  41. data/test/dummy/log/development.log +499 -0
  42. data/test/dummy/log/test.log +2296 -0
  43. data/test/dummy/public/404.html +26 -0
  44. data/test/dummy/public/422.html +26 -0
  45. data/test/dummy/public/500.html +25 -0
  46. data/test/dummy/public/favicon.ico +0 -0
  47. data/test/dummy/script/rails +6 -0
  48. data/test/generators_test.rb +24 -0
  49. data/test/rails_i18n_record_test.rb +9 -0
  50. data/test/records_test.rb +27 -0
  51. data/test/test_helper.rb +21 -0
  52. metadata +170 -0
@@ -0,0 +1,499 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+ Connecting to database specified by database.yml
6
+ Connecting to database specified by database.yml
7
+ Connecting to database specified by database.yml
8
+ Connecting to database specified by database.yml
9
+ Connecting to database specified by database.yml
10
+ Connecting to database specified by database.yml
11
+ Connecting to database specified by database.yml
12
+  (0.1ms) select sqlite_version(*)
13
+  (52.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
14
+  (0.1ms) PRAGMA index_list("schema_migrations")
15
+  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
16
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
17
+ Migrating to CreateSomethings (20120831200235)
18
+  (0.1ms) begin transaction
19
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831200235')
20
+  (2.7ms) commit transaction
21
+  (0.3ms) select sqlite_version(*)
22
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
23
+ Connecting to database specified by database.yml
24
+ Connecting to database specified by database.yml
25
+ Connecting to database specified by database.yml
26
+ Connecting to database specified by database.yml
27
+ Connecting to database specified by database.yml
28
+ Connecting to database specified by database.yml
29
+ Connecting to database specified by database.yml
30
+ Connecting to database specified by database.yml
31
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
32
+ Migrating to CreateSomethings (20120831200235)
33
+ Migrating to CreateSomethingsI18n (20120831201902)
34
+  (0.0ms) select sqlite_version(*)
35
+  (0.0ms) begin transaction
36
+  (0.4ms) CREATE TABLE "somethings_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
37
+  (0.0ms) PRAGMA index_list("somethings_i18n")
38
+  (0.1ms) CREATE INDEX "index_somethings_i18n_on_something_id" ON "somethings_i18n" ("something_id")
39
+  (0.0ms) PRAGMA index_list("somethings_i18n")
40
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_something_id')
41
+  (0.1ms) CREATE INDEX "index_somethings_i18n_on_locale" ON "somethings_i18n" ("locale")
42
+  (0.0ms) PRAGMA index_list("somethings_i18n")
43
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_locale')
44
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_something_id')
45
+  (0.1ms) CREATE INDEX "index_somethings_i18n_on_name" ON "somethings_i18n" ("name")
46
+  (0.0ms) PRAGMA index_list("somethings_i18n")
47
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_name')
48
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_locale')
49
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_something_id')
50
+  (0.1ms) CREATE INDEX "index_somethings_i18n_on_created_at" ON "somethings_i18n" ("created_at")
51
+  (0.0ms) PRAGMA index_list("somethings_i18n")
52
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_created_at')
53
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_name')
54
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_locale')
55
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_something_id')
56
+  (0.1ms) CREATE INDEX "index_somethings_i18n_on_updated_at" ON "somethings_i18n" ("updated_at")
57
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831201902')
58
+  (56.0ms) commit transaction
59
+  (0.4ms) select sqlite_version(*)
60
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
61
+  (0.1ms) PRAGMA index_list("somethings_i18n")
62
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_updated_at')
63
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_created_at')
64
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_name')
65
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_locale')
66
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_something_id')
67
+ Connecting to database specified by database.yml
68
+ Connecting to database specified by database.yml
69
+  (1.5ms) select sqlite_version(*)
70
+  (2.2ms) CREATE TABLE "somethings_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "something_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
71
+  (0.4ms) PRAGMA index_list("somethings_i18n")
72
+  (2.8ms) CREATE INDEX "index_somethings_i18n_on_created_at" ON "somethings_i18n" ("created_at")
73
+  (0.1ms) PRAGMA index_list("somethings_i18n")
74
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_created_at')
75
+  (2.7ms) CREATE INDEX "index_somethings_i18n_on_locale" ON "somethings_i18n" ("locale")
76
+  (0.0ms) PRAGMA index_list("somethings_i18n")
77
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_locale')
78
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_created_at')
79
+  (2.7ms) CREATE INDEX "index_somethings_i18n_on_name" ON "somethings_i18n" ("name")
80
+  (0.1ms) PRAGMA index_list("somethings_i18n")
81
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_name')
82
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_locale')
83
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_created_at')
84
+  (3.0ms) CREATE INDEX "index_somethings_i18n_on_something_id" ON "somethings_i18n" ("something_id")
85
+  (0.1ms) PRAGMA index_list("somethings_i18n")
86
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_something_id')
87
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_name')
88
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_locale')
89
+  (0.0ms) PRAGMA index_info('index_somethings_i18n_on_created_at')
90
+  (2.6ms) CREATE INDEX "index_somethings_i18n_on_updated_at" ON "somethings_i18n" ("updated_at")
91
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
92
+  (0.1ms) PRAGMA index_list("schema_migrations")
93
+  (2.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
94
+  (0.1ms) SELECT version FROM "schema_migrations"
95
+  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831201902')
96
+  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831200235')
97
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
98
+ Connecting to database specified by database.yml
99
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
100
+ Connecting to database specified by database.yml
101
+ Connecting to database specified by database.yml
102
+ Connecting to database specified by database.yml
103
+ Connecting to database specified by database.yml
104
+ Connecting to database specified by database.yml
105
+ Connecting to database specified by database.yml
106
+ Connecting to database specified by database.yml
107
+ Connecting to database specified by database.yml
108
+ Connecting to database specified by database.yml
109
+ Connecting to database specified by database.yml
110
+ Connecting to database specified by database.yml
111
+ Connecting to database specified by database.yml
112
+ Connecting to database specified by database.yml
113
+ Connecting to database specified by database.yml
114
+ Connecting to database specified by database.yml
115
+ Connecting to database specified by database.yml
116
+ Connecting to database specified by database.yml
117
+ Connecting to database specified by database.yml
118
+ Connecting to database specified by database.yml
119
+ Connecting to database specified by database.yml
120
+ Connecting to database specified by database.yml
121
+ Connecting to database specified by database.yml
122
+ Connecting to database specified by database.yml
123
+ Connecting to database specified by database.yml
124
+ Connecting to database specified by database.yml
125
+ Connecting to database specified by database.yml
126
+ Connecting to database specified by database.yml
127
+ Connecting to database specified by database.yml
128
+ Connecting to database specified by database.yml
129
+ Connecting to database specified by database.yml
130
+ Connecting to database specified by database.yml
131
+  (0.1ms) select sqlite_version(*)
132
+  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
133
+  (0.0ms) PRAGMA index_list("schema_migrations")
134
+  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
135
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
136
+ Migrating to CreateTranslatableRecords (20120831205714)
137
+  (0.0ms) begin transaction
138
+  (0.3ms) CREATE TABLE "translatable_records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
139
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831205714')
140
+  (3.0ms) commit transaction
141
+ Migrating to CreateTranslatableRecordsI18n (20120831205813)
142
+  (0.0ms) begin transaction
143
+  (0.0ms) rollback transaction
144
+ Connecting to database specified by database.yml
145
+ Connecting to database specified by database.yml
146
+ Connecting to database specified by database.yml
147
+ Connecting to database specified by database.yml
148
+ Connecting to database specified by database.yml
149
+ Connecting to database specified by database.yml
150
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
151
+ Migrating to CreateTranslatableRecords (20120831205714)
152
+ Migrating to CreateTranslatableRecordsI18n (20120831210818)
153
+  (0.0ms) select sqlite_version(*)
154
+  (0.0ms) begin transaction
155
+  (0.3ms) CREATE TABLE "translatable_records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "translatable_record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
157
+  (0.1ms) CREATE INDEX "index_translatable_records_i18n_on_translatable_record_id" ON "translatable_records_i18n" ("translatable_record_id")
158
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
159
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_translatable_record_id')
160
+  (0.1ms) CREATE INDEX "index_translatable_records_i18n_on_locale" ON "translatable_records_i18n" ("locale")
161
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831210818')
162
+  (61.5ms) commit transaction
163
+  (0.3ms) select sqlite_version(*)
164
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
165
+  (0.0ms) PRAGMA index_list("translatable_records")
166
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
167
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_locale')
168
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_translatable_record_id')
169
+ Connecting to database specified by database.yml
170
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
171
+  (0.2ms) select sqlite_version(*)
172
+  (2.1ms) CREATE TABLE "translatable_records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
173
+  (2.4ms) CREATE TABLE "translatable_records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "translatable_record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
174
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
175
+  (2.8ms) CREATE INDEX "index_translatable_records_i18n_on_locale" ON "translatable_records_i18n" ("locale")
176
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
177
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_locale')
178
+  (2.7ms) CREATE INDEX "index_translatable_records_i18n_on_translatable_record_id" ON "translatable_records_i18n" ("translatable_record_id")
179
+  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
180
+  (0.0ms) PRAGMA index_list("schema_migrations")
181
+  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
182
+  (0.1ms) SELECT version FROM "schema_migrations"
183
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
184
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831205714')
185
+ Connecting to database specified by database.yml
186
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
187
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
188
+ Migrating to CreateTranslatableRecordsI18n (20120831210818)
189
+  (0.0ms) select sqlite_version(*)
190
+  (0.0ms) begin transaction
191
+  (0.1ms) PRAGMA index_list("translatable_records_i18n")
192
+  (0.1ms) PRAGMA index_info('index_translatable_records_i18n_on_locale')
193
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_translatable_record_id')
194
+  (0.3ms) DROP INDEX "index_translatable_records_i18n_on_locale"
195
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
196
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_translatable_record_id')
197
+  (0.2ms) DROP INDEX "index_translatable_records_i18n_on_translatable_record_id"
198
+  (0.2ms) DROP TABLE "translatable_records_i18n"
199
+  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120831210818'
200
+  (3.2ms) commit transaction
201
+  (0.2ms) select sqlite_version(*)
202
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
203
+  (0.0ms) PRAGMA index_list("translatable_records")
204
+ Connecting to database specified by database.yml
205
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
206
+ Migrating to CreateTranslatableRecords (20120831205714)
207
+ Migrating to CreateTranslatableRecordsI18n (20120831210818)
208
+  (0.0ms) select sqlite_version(*)
209
+  (0.0ms) begin transaction
210
+  (0.4ms) CREATE TABLE "translatable_records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "translatable_record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
211
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
212
+  (0.1ms) CREATE INDEX "index_translatable_records_i18n_on_translatable_record_id" ON "translatable_records_i18n" ("translatable_record_id")
213
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
214
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_translatable_record_id')
215
+  (0.1ms) CREATE INDEX "index_translatable_records_i18n_on_locale" ON "translatable_records_i18n" ("locale")
216
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831210818')
217
+  (177.1ms) commit transaction
218
+  (0.4ms) select sqlite_version(*)
219
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
220
+  (0.0ms) PRAGMA index_list("translatable_records")
221
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
222
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_locale')
223
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_translatable_record_id')
224
+ Connecting to database specified by database.yml
225
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
226
+  (0.2ms) select sqlite_version(*)
227
+  (15.7ms) CREATE TABLE "translatable_records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
228
+  (3.1ms) CREATE TABLE "translatable_records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "translatable_record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
229
+  (0.0ms) PRAGMA index_list("translatable_records_i18n")
230
+  (2.9ms) CREATE INDEX "index_translatable_records_i18n_on_locale" ON "translatable_records_i18n" ("locale")
231
+  (0.4ms) PRAGMA index_list("translatable_records_i18n")
232
+  (0.0ms) PRAGMA index_info('index_translatable_records_i18n_on_locale')
233
+  (2.8ms) CREATE INDEX "index_translatable_records_i18n_on_translatable_record_id" ON "translatable_records_i18n" ("translatable_record_id")
234
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
235
+  (0.0ms) PRAGMA index_list("schema_migrations")
236
+  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
237
+  (0.1ms) SELECT version FROM "schema_migrations"
238
+  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
239
+  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831205714')
240
+ Connecting to database specified by database.yml
241
+ Connecting to database specified by database.yml
242
+ Connecting to database specified by database.yml
243
+ Connecting to database specified by database.yml
244
+ Connecting to database specified by database.yml
245
+ Connecting to database specified by database.yml
246
+ Connecting to database specified by database.yml
247
+ Connecting to database specified by database.yml
248
+ Connecting to database specified by database.yml
249
+ Connecting to database specified by database.yml
250
+ Connecting to database specified by database.yml
251
+ Connecting to database specified by database.yml
252
+ Connecting to database specified by database.yml
253
+ Connecting to database specified by database.yml
254
+ Connecting to database specified by database.yml
255
+  (0.1ms) select sqlite_version(*)
256
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
257
+  (0.0ms) PRAGMA index_list("schema_migrations")
258
+  (3.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
259
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
260
+ Migrating to CreateModels (20120831205714)
261
+  (0.0ms) begin transaction
262
+  (0.3ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
263
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831205714')
264
+  (3.0ms) commit transaction
265
+ Migrating to CreateModelsI18n (20120831210818)
266
+  (0.0ms) begin transaction
267
+  (0.3ms) CREATE TABLE "models_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
268
+  (0.0ms) PRAGMA index_list("models_i18n")
269
+  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
270
+  (0.0ms) PRAGMA index_list("models_i18n")
271
+  (0.0ms) PRAGMA index_info('index_models_i18n_on_model_id')
272
+  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
273
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831210818')
274
+  (3.3ms) commit transaction
275
+  (0.2ms) select sqlite_version(*)
276
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
277
+  (0.0ms) PRAGMA index_list("models")
278
+  (0.0ms) PRAGMA index_list("models_i18n")
279
+  (0.0ms) PRAGMA index_info('index_models_i18n_on_locale')
280
+  (0.0ms) PRAGMA index_info('index_models_i18n_on_model_id')
281
+ Connecting to database specified by database.yml
282
+ Connecting to database specified by database.yml
283
+ Connecting to database specified by database.yml
284
+  (0.1ms) select sqlite_version(*)
285
+  (53.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
286
+  (0.0ms) PRAGMA index_list("schema_migrations")
287
+  (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
288
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
289
+ Migrating to CreateModels (20120831205714)
290
+  (0.0ms) begin transaction
291
+  (0.0ms) rollback transaction
292
+ Connecting to database specified by database.yml
293
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
294
+ Migrating to CreateRecords (20120831205714)
295
+  (0.0ms) select sqlite_version(*)
296
+  (0.0ms) begin transaction
297
+  (0.5ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
298
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831205714')
299
+  (53.3ms) commit transaction
300
+ Migrating to CreateRecordsI18n (20120831210818)
301
+  (0.0ms) begin transaction
302
+  (0.3ms) CREATE TABLE "records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
303
+  (0.0ms) PRAGMA index_list("records_i18n")
304
+  (0.1ms) CREATE INDEX "index_records_i18n_on_record_id" ON "records_i18n" ("record_id")
305
+  (0.0ms) PRAGMA index_list("records_i18n")
306
+  (0.0ms) PRAGMA index_info('index_records_i18n_on_record_id')
307
+  (0.1ms) CREATE INDEX "index_records_i18n_on_locale" ON "records_i18n" ("locale")
308
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831210818')
309
+  (3.3ms) commit transaction
310
+  (0.3ms) select sqlite_version(*)
311
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
312
+  (0.0ms) PRAGMA index_list("records")
313
+  (0.0ms) PRAGMA index_list("records_i18n")
314
+  (0.0ms) PRAGMA index_info('index_records_i18n_on_locale')
315
+  (0.0ms) PRAGMA index_info('index_records_i18n_on_record_id')
316
+ Connecting to database specified by database.yml
317
+ Connecting to database specified by database.yml
318
+ Connecting to database specified by database.yml
319
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
320
+  (0.3ms) select sqlite_version(*)
321
+  (2.5ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
322
+  (2.7ms) CREATE TABLE "records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
323
+  (0.0ms) PRAGMA index_list("records_i18n")
324
+  (2.6ms) CREATE INDEX "index_records_i18n_on_locale" ON "records_i18n" ("locale")
325
+  (0.0ms) PRAGMA index_list("records_i18n")
326
+  (0.0ms) PRAGMA index_info('index_records_i18n_on_locale')
327
+  (2.8ms) CREATE INDEX "index_records_i18n_on_record_id" ON "records_i18n" ("record_id")
328
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
329
+  (0.0ms) PRAGMA index_list("schema_migrations")
330
+  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
331
+  (0.1ms) SELECT version FROM "schema_migrations"
332
+  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
333
+  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831205714')
334
+ Connecting to database specified by database.yml
335
+ Connecting to database specified by database.yml
336
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
337
+  (0.2ms) select sqlite_version(*)
338
+  (31.1ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
339
+  (6.4ms) CREATE TABLE "records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
340
+  (0.0ms) PRAGMA index_list("records_i18n")
341
+  (4.2ms) CREATE INDEX "index_records_i18n_on_locale" ON "records_i18n" ("locale")
342
+  (0.0ms) PRAGMA index_list("records_i18n")
343
+  (0.0ms) PRAGMA index_info('index_records_i18n_on_locale')
344
+  (5.9ms) CREATE INDEX "index_records_i18n_on_record_id" ON "records_i18n" ("record_id")
345
+  (4.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
346
+  (0.0ms) PRAGMA index_list("schema_migrations")
347
+  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
348
+  (0.1ms) SELECT version FROM "schema_migrations"
349
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
350
+  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831205714')
351
+ Connecting to database specified by database.yml
352
+ Connecting to database specified by database.yml
353
+ Connecting to database specified by database.yml
354
+ Connecting to database specified by database.yml
355
+ Connecting to database specified by database.yml
356
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
357
+  (0.2ms) select sqlite_version(*)
358
+  (53.8ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
359
+  (2.7ms) CREATE TABLE "records_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "record_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
360
+  (0.0ms) PRAGMA index_list("records_i18n")
361
+  (2.9ms) CREATE INDEX "index_records_i18n_on_locale" ON "records_i18n" ("locale")
362
+  (0.1ms) PRAGMA index_list("records_i18n")
363
+  (0.0ms) PRAGMA index_info('index_records_i18n_on_locale')
364
+  (2.6ms) CREATE INDEX "index_records_i18n_on_record_id" ON "records_i18n" ("record_id")
365
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
366
+  (0.0ms) PRAGMA index_list("schema_migrations")
367
+  (3.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
368
+  (0.1ms) SELECT version FROM "schema_migrations"
369
+  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
370
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831205714')
371
+ Connecting to database specified by database.yml
372
+  (0.2ms) select sqlite_version(*)
373
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
374
+  (0.1ms) PRAGMA index_list("schema_migrations")
375
+  (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
376
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
377
+ Migrating to CreateModels (20120831205714)
378
+  (0.0ms) begin transaction
379
+  (0.3ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
380
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831205714')
381
+  (3.1ms) commit transaction
382
+ Migrating to CreateModelsI18n (20120831210818)
383
+  (0.0ms) begin transaction
384
+  (0.3ms) CREATE TABLE "model_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
385
+  (0.0ms) PRAGMA index_list("model_i18n")
386
+  (0.1ms) CREATE INDEX "index_model_i18n_on_model_id" ON "model_i18n" ("model_id")
387
+  (0.0ms) PRAGMA index_list("model_i18n")
388
+  (0.0ms) PRAGMA index_info('index_model_i18n_on_model_id')
389
+  (0.1ms) CREATE INDEX "index_model_i18n_on_locale" ON "model_i18n" ("locale")
390
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831210818')
391
+  (3.2ms) commit transaction
392
+  (0.2ms) select sqlite_version(*)
393
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
394
+  (0.0ms) PRAGMA index_list("model_i18n")
395
+  (0.0ms) PRAGMA index_info('index_model_i18n_on_locale')
396
+  (0.0ms) PRAGMA index_info('index_model_i18n_on_model_id')
397
+  (0.0ms) PRAGMA index_list("models")
398
+ Connecting to database specified by database.yml
399
+  (0.1ms) select sqlite_version(*)
400
+  (69.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
401
+  (0.1ms) PRAGMA index_list("schema_migrations")
402
+  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
403
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
404
+ Migrating to CreateModels (20120831205714)
405
+  (0.1ms) begin transaction
406
+  (0.5ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
407
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831205714')
408
+  (3.7ms) commit transaction
409
+ Migrating to CreateModelsI18n (20120831210818)
410
+  (0.4ms) begin transaction
411
+  (0.5ms) CREATE TABLE "models_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
412
+  (0.0ms) PRAGMA index_list("models_i18n")
413
+  (0.2ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
414
+  (0.0ms) PRAGMA index_list("models_i18n")
415
+  (0.0ms) PRAGMA index_info('index_models_i18n_on_model_id')
416
+  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
417
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831210818')
418
+  (3.9ms) commit transaction
419
+  (0.2ms) select sqlite_version(*)
420
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
421
+  (0.0ms) PRAGMA index_list("models")
422
+  (0.0ms) PRAGMA index_list("models_i18n")
423
+  (0.0ms) PRAGMA index_info('index_models_i18n_on_locale')
424
+  (0.0ms) PRAGMA index_info('index_models_i18n_on_model_id')
425
+ Connecting to database specified by database.yml
426
+ Connecting to database specified by database.yml
427
+ Connecting to database specified by database.yml
428
+ Connecting to database specified by database.yml
429
+ Connecting to database specified by database.yml
430
+ Connecting to database specified by database.yml
431
+  (0.1ms) select sqlite_version(*)
432
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
433
+  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
434
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
435
+ Migrating to CreateModels (20120831205714)
436
+  (0.0ms) begin transaction
437
+  (0.4ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
438
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831205714')
439
+  (3.7ms) commit transaction
440
+ Migrating to CreateModelsI18n (20130404161713)
441
+  (0.1ms) begin transaction
442
+  (0.3ms) CREATE TABLE "models_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
443
+  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
444
+  (0.2ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
445
+  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
446
+  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
447
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130404161713')
448
+  (2.9ms) commit transaction
449
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
450
+ Connecting to database specified by database.yml
451
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
452
+  (0.1ms) select sqlite_version(*)
453
+  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
454
+  (0.1ms) CREATE TABLE "models_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
455
+  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
456
+  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
457
+  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
458
+  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
459
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
460
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
461
+  (0.0ms) SELECT version FROM "schema_migrations"
462
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
463
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831205714')
464
+ Connecting to database specified by database.yml
465
+  (0.1ms) select sqlite_version(*)
466
+  (51.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
467
+  (3.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
468
+  (2.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
469
+ Migrating to CreateModels (20120831205714)
470
+  (0.1ms) begin transaction
471
+  (0.5ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
472
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120831205714')
473
+  (3.3ms) commit transaction
474
+ Migrating to CreateModelsI18n (20130404161713)
475
+  (0.1ms) begin transaction
476
+  (0.3ms) CREATE TABLE "models_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
477
+  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
478
+  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
479
+  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
480
+  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
481
+  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
482
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130404161713')
483
+  (4.8ms) commit transaction
484
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
485
+ Connecting to database specified by database.yml
486
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
487
+  (0.1ms) select sqlite_version(*)
488
+  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
489
+  (0.1ms) CREATE TABLE "models_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
490
+  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
491
+  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
492
+  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
493
+  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
494
+  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
495
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
496
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
497
+  (0.0ms) SELECT version FROM "schema_migrations"
498
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
499
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831205714')