rails_i18n_record 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. metadata +18 -130
  3. data/MIT-LICENSE +0 -20
  4. data/README.rdoc +0 -44
  5. data/Rakefile +0 -38
  6. data/lib/generators/i18n_generator.rb +0 -26
  7. data/lib/generators/templates/migration.erb +0 -19
  8. data/lib/generators/templates/model.erb +0 -13
  9. data/lib/rails_i18n_record.rb +0 -6
  10. data/lib/rails_i18n_record/active_record/base.rb +0 -79
  11. data/lib/rails_i18n_record/railtie.rb +0 -9
  12. data/lib/rails_i18n_record/version.rb +0 -5
  13. data/test/dummy/README.rdoc +0 -261
  14. data/test/dummy/Rakefile +0 -7
  15. data/test/dummy/app/assets/javascripts/application.js +0 -15
  16. data/test/dummy/app/assets/stylesheets/application.css +0 -13
  17. data/test/dummy/app/controllers/application_controller.rb +0 -3
  18. data/test/dummy/app/helpers/application_helper.rb +0 -2
  19. data/test/dummy/app/models/model.rb +0 -4
  20. data/test/dummy/app/models/model_translation.rb +0 -13
  21. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  22. data/test/dummy/config.ru +0 -4
  23. data/test/dummy/config/application.rb +0 -59
  24. data/test/dummy/config/boot.rb +0 -10
  25. data/test/dummy/config/database.yml +0 -25
  26. data/test/dummy/config/environment.rb +0 -5
  27. data/test/dummy/config/environments/development.rb +0 -37
  28. data/test/dummy/config/environments/production.rb +0 -67
  29. data/test/dummy/config/environments/test.rb +0 -37
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  31. data/test/dummy/config/initializers/inflections.rb +0 -15
  32. data/test/dummy/config/initializers/mime_types.rb +0 -5
  33. data/test/dummy/config/initializers/secret_token.rb +0 -7
  34. data/test/dummy/config/initializers/session_store.rb +0 -8
  35. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  36. data/test/dummy/config/locales/en.yml +0 -5
  37. data/test/dummy/config/routes.rb +0 -58
  38. data/test/dummy/db/development.sqlite3 +0 -0
  39. data/test/dummy/db/migrate/20120831205714_create_models.rb +0 -7
  40. data/test/dummy/db/migrate/20130404161713_create_models_i18n.rb +0 -19
  41. data/test/dummy/db/schema.rb +0 -35
  42. data/test/dummy/db/test.sqlite3 +0 -0
  43. data/test/dummy/log/development.log +0 -499
  44. data/test/dummy/log/test.log +0 -2397
  45. data/test/dummy/public/404.html +0 -26
  46. data/test/dummy/public/422.html +0 -26
  47. data/test/dummy/public/500.html +0 -25
  48. data/test/dummy/public/favicon.ico +0 -0
  49. data/test/dummy/script/rails +0 -6
  50. data/test/generators_test.rb +0 -24
  51. data/test/rails_i18n_record_test.rb +0 -9
  52. data/test/records_test.rb +0 -27
  53. data/test/test_helper.rb +0 -21
@@ -1,2397 +0,0 @@
1
- Connecting to database specified by database.yml
2
-  (0.3ms) begin transaction
3
-  (0.0ms) rollback transaction
4
-  (0.0ms) begin transaction
5
-  (0.0ms) rollback transaction
6
- Connecting to database specified by database.yml
7
-  (0.3ms) begin transaction
8
-  (0.0ms) rollback transaction
9
-  (0.0ms) begin transaction
10
-  (0.0ms) rollback transaction
11
- Connecting to database specified by database.yml
12
-  (0.3ms) begin transaction
13
-  (0.0ms) rollback transaction
14
-  (0.0ms) begin transaction
15
-  (0.0ms) rollback transaction
16
- Connecting to database specified by database.yml
17
-  (0.3ms) begin transaction
18
-  (0.0ms) rollback transaction
19
-  (0.0ms) begin transaction
20
-  (0.1ms) rollback transaction
21
-  (0.0ms) begin transaction
22
-  (0.0ms) rollback transaction
23
- Connecting to database specified by database.yml
24
- Connecting to database specified by database.yml
25
-  (0.3ms) begin transaction
26
-  (0.0ms) rollback transaction
27
-  (0.0ms) begin transaction
28
-  (0.1ms) rollback transaction
29
-  (0.0ms) begin transaction
30
-  (0.0ms) rollback transaction
31
- Connecting to database specified by database.yml
32
- Connecting to database specified by database.yml
33
-  (0.3ms) begin transaction
34
-  (0.0ms) rollback transaction
35
-  (0.0ms) begin transaction
36
-  (0.1ms) rollback transaction
37
-  (0.0ms) begin transaction
38
-  (0.0ms) rollback transaction
39
- Connecting to database specified by database.yml
40
-  (0.3ms) begin transaction
41
-  (0.0ms) rollback transaction
42
-  (0.0ms) begin transaction
43
-  (0.0ms) rollback transaction
44
-  (0.0ms) begin transaction
45
-  (0.0ms) rollback transaction
46
- Connecting to database specified by database.yml
47
- Connecting to database specified by database.yml
48
-  (0.4ms) begin transaction
49
-  (0.0ms) rollback transaction
50
-  (0.0ms) begin transaction
51
-  (0.1ms) rollback transaction
52
-  (0.0ms) begin transaction
53
-  (0.1ms) SAVEPOINT active_record_1
54
- SQL (20.7ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 21:10:16 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 21:10:16 UTC +00:00]]
55
- SQL (0.4ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:10:16 UTC +00:00], ["locale", "en"], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:10:16 UTC +00:00]]
56
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
57
-  (1.1ms) rollback transaction
58
-  (0.1ms) begin transaction
59
-  (0.0ms) rollback transaction
60
- Connecting to database specified by database.yml
61
-  (0.4ms) begin transaction
62
-  (0.0ms) rollback transaction
63
-  (0.0ms) begin transaction
64
-  (0.1ms) rollback transaction
65
-  (0.0ms) begin transaction
66
-  (0.1ms) SAVEPOINT active_record_1
67
- SQL (3.2ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 21:11:04 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 21:11:04 UTC +00:00]]
68
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:11:04 UTC +00:00], ["locale", "en"], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:11:04 UTC +00:00]]
69
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
70
-  (0.9ms) rollback transaction
71
-  (0.1ms) begin transaction
72
-  (0.0ms) rollback transaction
73
- Connecting to database specified by database.yml
74
-  (0.3ms) begin transaction
75
-  (0.0ms) rollback transaction
76
-  (0.0ms) begin transaction
77
-  (0.1ms) rollback transaction
78
-  (0.0ms) begin transaction
79
-  (0.1ms) SAVEPOINT active_record_1
80
- SQL (3.1ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 21:16:37 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 21:16:37 UTC +00:00]]
81
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:16:37 UTC +00:00], ["locale", "en"], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:16:37 UTC +00:00]]
82
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
83
-  (1.0ms) rollback transaction
84
-  (0.0ms) begin transaction
85
-  (0.0ms) rollback transaction
86
- Connecting to database specified by database.yml
87
-  (0.3ms) begin transaction
88
-  (0.0ms) rollback transaction
89
-  (0.0ms) begin transaction
90
-  (0.1ms) rollback transaction
91
-  (0.0ms) begin transaction
92
-  (0.1ms) SAVEPOINT active_record_1
93
- SQL (3.1ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 21:17:40 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 21:17:40 UTC +00:00]]
94
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:17:40 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:17:40 UTC +00:00]]
95
- SQL (0.1ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:17:40 UTC +00:00], ["locale", "en"], ["name", "prueba"], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:17:40 UTC +00:00]]
96
-  (0.0ms) RELEASE SAVEPOINT active_record_1
97
-  (0.9ms) rollback transaction
98
-  (0.1ms) begin transaction
99
-  (0.0ms) rollback transaction
100
- Connecting to database specified by database.yml
101
-  (0.3ms) begin transaction
102
-  (0.0ms) rollback transaction
103
-  (0.0ms) begin transaction
104
-  (0.1ms) rollback transaction
105
-  (0.0ms) begin transaction
106
-  (0.1ms) SAVEPOINT active_record_1
107
- SQL (3.7ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 21:21:40 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 21:21:40 UTC +00:00]]
108
- SQL (0.4ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:21:40 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:21:40 UTC +00:00]]
109
- SQL (0.1ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:21:40 UTC +00:00], ["locale", "en"], ["name", "prueba"], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:21:40 UTC +00:00]]
110
-  (0.0ms) RELEASE SAVEPOINT active_record_1
111
-  (1.5ms) rollback transaction
112
-  (0.1ms) begin transaction
113
-  (0.0ms) rollback transaction
114
- Connecting to database specified by database.yml
115
-  (0.3ms) begin transaction
116
-  (0.0ms) rollback transaction
117
-  (0.0ms) begin transaction
118
-  (0.1ms) rollback transaction
119
-  (0.0ms) begin transaction
120
-  (0.1ms) SAVEPOINT active_record_1
121
- SQL (3.1ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 21:22:07 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 21:22:07 UTC +00:00]]
122
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:22:07 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:22:07 UTC +00:00]]
123
- SQL (0.1ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 21:22:07 UTC +00:00], ["locale", "en"], ["name", "prueba"], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 21:22:07 UTC +00:00]]
124
-  (0.0ms) RELEASE SAVEPOINT active_record_1
125
-  (0.9ms) rollback transaction
126
-  (0.1ms) begin transaction
127
-  (0.0ms) rollback transaction
128
- Connecting to database specified by database.yml
129
-  (0.3ms) begin transaction
130
-  (0.0ms) rollback transaction
131
-  (0.0ms) begin transaction
132
-  (0.1ms) rollback transaction
133
-  (0.0ms) begin transaction
134
-  (0.1ms) SAVEPOINT active_record_1
135
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" IS NULL AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
136
- SQL (3.2ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 22:54:54 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 22:54:54 UTC +00:00]]
137
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 22:54:54 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 22:54:54 UTC +00:00]]
138
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" = 1 AND "translatable_records_i18n"."id" != 1 AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
139
-  (0.2ms) UPDATE "translatable_records_i18n" SET "name" = 'prueba', "updated_at" = '2012-08-31 22:54:54.982722' WHERE "translatable_records_i18n"."id" = 1
140
-  (0.0ms) RELEASE SAVEPOINT active_record_1
141
-  (0.9ms) rollback transaction
142
-  (0.0ms) begin transaction
143
-  (0.0ms) rollback transaction
144
- Connecting to database specified by database.yml
145
-  (0.3ms) begin transaction
146
-  (0.0ms) rollback transaction
147
-  (0.0ms) begin transaction
148
-  (0.1ms) rollback transaction
149
-  (0.0ms) begin transaction
150
-  (0.1ms) SAVEPOINT active_record_1
151
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" IS NULL AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
152
- SQL (3.2ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 31 Aug 2012 22:56:38 UTC +00:00], ["updated_at", Fri, 31 Aug 2012 22:56:38 UTC +00:00]]
153
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 31 Aug 2012 22:56:38 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Fri, 31 Aug 2012 22:56:38 UTC +00:00]]
154
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" = 1 AND "translatable_records_i18n"."id" != 1 AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
155
-  (0.2ms) UPDATE "translatable_records_i18n" SET "name" = 'prueba', "updated_at" = '2012-08-31 22:56:38.856183' WHERE "translatable_records_i18n"."id" = 1
156
-  (0.0ms) RELEASE SAVEPOINT active_record_1
157
-  (0.9ms) rollback transaction
158
-  (0.8ms) begin transaction
159
-  (0.0ms) rollback transaction
160
- Connecting to database specified by database.yml
161
-  (0.3ms) begin transaction
162
-  (0.0ms) rollback transaction
163
-  (0.0ms) begin transaction
164
-  (0.1ms) SAVEPOINT active_record_1
165
- TranslatableRecordTranslation Exists (19.2ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" IS NULL AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
166
- SQL (49.1ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 05 Sep 2012 19:18:03 UTC +00:00], ["updated_at", Wed, 05 Sep 2012 19:18:03 UTC +00:00]]
167
- SQL (1.6ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 05 Sep 2012 19:18:03 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Wed, 05 Sep 2012 19:18:03 UTC +00:00]]
168
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" = 1 AND "translatable_records_i18n"."id" != 1 AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
169
-  (0.3ms) UPDATE "translatable_records_i18n" SET "name" = 'test', "updated_at" = '2012-09-05 19:18:03.472450' WHERE "translatable_records_i18n"."id" = 1
170
-  (0.0ms) RELEASE SAVEPOINT active_record_1
171
-  (1.1ms) rollback transaction
172
-  (0.1ms) begin transaction
173
-  (0.0ms) rollback transaction
174
- Connecting to database specified by database.yml
175
-  (0.3ms) begin transaction
176
-  (0.1ms) rollback transaction
177
-  (0.0ms) begin transaction
178
-  (0.0ms) SAVEPOINT active_record_1
179
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" IS NULL AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
180
- SQL (3.1ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 05 Sep 2012 19:18:54 UTC +00:00], ["updated_at", Wed, 05 Sep 2012 19:18:54 UTC +00:00]]
181
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 05 Sep 2012 19:18:54 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Wed, 05 Sep 2012 19:18:54 UTC +00:00]]
182
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" = 1 AND "translatable_records_i18n"."id" != 1 AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
183
-  (0.2ms) UPDATE "translatable_records_i18n" SET "name" = 'test', "updated_at" = '2012-09-05 19:18:54.728271' WHERE "translatable_records_i18n"."id" = 1
184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
185
-  (0.7ms) rollback transaction
186
-  (0.0ms) begin transaction
187
-  (0.0ms) rollback transaction
188
- Connecting to database specified by database.yml
189
-  (0.4ms) begin transaction
190
-  (0.0ms) rollback transaction
191
-  (0.0ms) begin transaction
192
-  (0.0ms) SAVEPOINT active_record_1
193
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" IS NULL AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
194
- SQL (3.1ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 05 Sep 2012 19:19:31 UTC +00:00], ["updated_at", Wed, 05 Sep 2012 19:19:31 UTC +00:00]]
195
- SQL (0.3ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 05 Sep 2012 19:19:31 UTC +00:00], ["locale", "en"], ["name", nil], ["translatable_record_id", 1], ["updated_at", Wed, 05 Sep 2012 19:19:31 UTC +00:00]]
196
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" = 1 AND "translatable_records_i18n"."id" != 1 AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
197
-  (0.3ms) UPDATE "translatable_records_i18n" SET "name" = 'test', "updated_at" = '2012-09-05 19:19:31.021910' WHERE "translatable_records_i18n"."id" = 1
198
-  (0.0ms) RELEASE SAVEPOINT active_record_1
199
-  (1.0ms) rollback transaction
200
-  (0.1ms) begin transaction
201
-  (0.0ms) rollback transaction
202
- Connecting to database specified by database.yml
203
-  (0.4ms) begin transaction
204
-  (0.1ms) rollback transaction
205
-  (0.1ms) begin transaction
206
- TranslatableRecordTranslation Load (19.4ms) SELECT "translatable_records_i18n".* FROM "translatable_records_i18n" WHERE "translatable_records_i18n"."translatable_record_id" IS NULL AND "translatable_records_i18n"."locale" = 'en' LIMIT 1
207
-  (0.1ms) SAVEPOINT active_record_1
208
- TranslatableRecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "translatable_records_i18n" WHERE ("translatable_records_i18n"."translatable_record_id" IS NULL AND "translatable_records_i18n"."locale" = 'en') LIMIT 1
209
- SQL (5.0ms) INSERT INTO "translatable_records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 21 Oct 2012 22:05:12 UTC +00:00], ["updated_at", Sun, 21 Oct 2012 22:05:12 UTC +00:00]]
210
- SQL (1.4ms) INSERT INTO "translatable_records_i18n" ("created_at", "locale", "name", "translatable_record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 21 Oct 2012 22:05:12 UTC +00:00], ["locale", "en"], ["name", "test"], ["translatable_record_id", 1], ["updated_at", Sun, 21 Oct 2012 22:05:12 UTC +00:00]]
211
-  (0.1ms) RELEASE SAVEPOINT active_record_1
212
-  (0.6ms) rollback transaction
213
-  (0.0ms) begin transaction
214
-  (0.0ms) rollback transaction
215
- Connecting to database specified by database.yml
216
-  (0.3ms) begin transaction
217
-  (0.1ms) rollback transaction
218
-  (0.0ms) begin transaction
219
-  (0.0ms) SAVEPOINT active_record_1
220
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" IS NULL) LIMIT 1
221
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
222
-  (0.1ms) rollback transaction
223
-  (0.0ms) begin transaction
224
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
225
-  (0.1ms) rollback transaction
226
-  (0.0ms) begin transaction
227
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
228
-  (0.0ms) rollback transaction
229
-  (0.0ms) begin transaction
230
-  (0.0ms) rollback transaction
231
- Connecting to database specified by database.yml
232
-  (0.4ms) begin transaction
233
-  (0.0ms) rollback transaction
234
-  (0.0ms) begin transaction
235
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
236
-  (0.0ms) SAVEPOINT active_record_1
237
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
238
- SQL (3.7ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 20:49:56 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 20:49:56 UTC +00:00]]
239
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 20:49:56 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 20:49:56 UTC +00:00]]
240
-  (0.0ms) RELEASE SAVEPOINT active_record_1
241
-  (0.7ms) rollback transaction
242
-  (0.0ms) begin transaction
243
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
244
-  (0.1ms) rollback transaction
245
-  (0.3ms) begin transaction
246
- Record Load (0.2ms) SELECT "records".* FROM "records" LIMIT 1
247
-  (0.1ms) rollback transaction
248
-  (0.0ms) begin transaction
249
-  (0.0ms) rollback transaction
250
- Connecting to database specified by database.yml
251
-  (0.4ms) begin transaction
252
-  (0.1ms) rollback transaction
253
-  (0.0ms) begin transaction
254
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
255
-  (0.0ms) SAVEPOINT active_record_1
256
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
257
- SQL (3.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 20:57:07 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 20:57:07 UTC +00:00]]
258
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 20:57:07 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 20:57:07 UTC +00:00]]
259
-  (0.0ms) RELEASE SAVEPOINT active_record_1
260
-  (0.8ms) rollback transaction
261
-  (0.1ms) begin transaction
262
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
263
-  (0.0ms) rollback transaction
264
-  (0.0ms) begin transaction
265
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
266
-  (0.0ms) rollback transaction
267
-  (0.0ms) begin transaction
268
-  (0.0ms) rollback transaction
269
- Connecting to database specified by database.yml
270
-  (0.3ms) begin transaction
271
-  (0.0ms) rollback transaction
272
-  (0.0ms) begin transaction
273
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
274
-  (0.0ms) SAVEPOINT active_record_1
275
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
276
- SQL (3.6ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:01:29 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:01:29 UTC +00:00]]
277
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:01:29 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 21:01:29 UTC +00:00]]
278
-  (0.0ms) RELEASE SAVEPOINT active_record_1
279
-  (0.9ms) rollback transaction
280
-  (0.1ms) begin transaction
281
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
282
-  (0.0ms) rollback transaction
283
-  (0.0ms) begin transaction
284
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
285
-  (0.0ms) rollback transaction
286
-  (0.0ms) begin transaction
287
-  (0.0ms) rollback transaction
288
- Connecting to database specified by database.yml
289
-  (0.4ms) begin transaction
290
-  (0.1ms) rollback transaction
291
-  (0.0ms) begin transaction
292
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
293
-  (0.1ms) SAVEPOINT active_record_1
294
- RecordTranslation Exists (0.2ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
295
- SQL (4.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:01:39 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:01:39 UTC +00:00]]
296
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:01:39 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 21:01:39 UTC +00:00]]
297
-  (0.0ms) RELEASE SAVEPOINT active_record_1
298
-  (0.9ms) rollback transaction
299
-  (0.0ms) begin transaction
300
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
301
-  (0.0ms) rollback transaction
302
-  (0.0ms) begin transaction
303
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
304
-  (0.0ms) rollback transaction
305
-  (0.0ms) begin transaction
306
-  (0.0ms) rollback transaction
307
- Connecting to database specified by database.yml
308
-  (0.3ms) begin transaction
309
-  (0.1ms) rollback transaction
310
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
311
-  (0.1ms) begin transaction
312
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
313
- SQL (3.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:02:03 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:02:03 UTC +00:00]]
314
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:02:03 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 21:02:03 UTC +00:00]]
315
-  (4.3ms) commit transaction
316
- Record Load (0.2ms) SELECT "records".* FROM "records" LIMIT 1
317
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (1)
318
-  (0.0ms) begin transaction
319
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 1]]
320
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 1]]
321
-  (2.3ms) commit transaction
322
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 1 LIMIT 1
323
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
324
- Connecting to database specified by database.yml
325
-  (0.3ms) begin transaction
326
-  (0.1ms) rollback transaction
327
-  (0.0ms) begin transaction
328
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
329
-  (0.0ms) SAVEPOINT active_record_1
330
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
331
- SQL (3.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
332
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
333
-  (0.0ms) RELEASE SAVEPOINT active_record_1
334
-  (0.7ms) rollback transaction
335
-  (0.1ms) begin transaction
336
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
337
-  (0.0ms) SAVEPOINT active_record_1
338
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
339
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
340
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
341
-  (0.0ms) RELEASE SAVEPOINT active_record_1
342
-  (0.0ms) SAVEPOINT active_record_1
343
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
344
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
345
-  (0.0ms) RELEASE SAVEPOINT active_record_1
346
-  (1.3ms) rollback transaction
347
-  (0.1ms) begin transaction
348
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
349
-  (0.0ms) SAVEPOINT active_record_1
350
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
351
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
352
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
353
-  (0.0ms) RELEASE SAVEPOINT active_record_1
354
-  (0.0ms) SAVEPOINT active_record_1
355
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
356
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 21:10:41.529051' WHERE "records_i18n"."id" = 2
357
-  (0.0ms) RELEASE SAVEPOINT active_record_1
358
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
359
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
360
-  (0.8ms) rollback transaction
361
-  (0.0ms) begin transaction
362
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
363
-  (0.0ms) SAVEPOINT active_record_1
364
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
365
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
366
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:10:41 UTC +00:00]]
367
-  (0.0ms) RELEASE SAVEPOINT active_record_1
368
-  (0.7ms) rollback transaction
369
- Connecting to database specified by database.yml
370
-  (0.4ms) begin transaction
371
-  (0.1ms) rollback transaction
372
-  (0.0ms) begin transaction
373
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
374
-  (0.1ms) SAVEPOINT active_record_1
375
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
376
- SQL (3.5ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
377
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
378
-  (0.0ms) RELEASE SAVEPOINT active_record_1
379
-  (0.7ms) rollback transaction
380
-  (0.1ms) begin transaction
381
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
382
-  (0.0ms) SAVEPOINT active_record_1
383
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
384
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
385
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
386
-  (0.0ms) RELEASE SAVEPOINT active_record_1
387
-  (0.0ms) SAVEPOINT active_record_1
388
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
389
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
390
-  (0.0ms) RELEASE SAVEPOINT active_record_1
391
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
392
-  (0.9ms) rollback transaction
393
-  (0.1ms) begin transaction
394
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
395
-  (0.0ms) SAVEPOINT active_record_1
396
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
397
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
398
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
399
-  (0.0ms) RELEASE SAVEPOINT active_record_1
400
-  (0.0ms) SAVEPOINT active_record_1
401
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
402
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 21:11:02.400419' WHERE "records_i18n"."id" = 2
403
-  (0.0ms) RELEASE SAVEPOINT active_record_1
404
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
405
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
406
-  (0.7ms) rollback transaction
407
-  (0.0ms) begin transaction
408
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
409
-  (0.0ms) SAVEPOINT active_record_1
410
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
411
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
412
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:11:02 UTC +00:00]]
413
-  (0.0ms) RELEASE SAVEPOINT active_record_1
414
-  (0.8ms) rollback transaction
415
- Connecting to database specified by database.yml
416
- Connecting to database specified by database.yml
417
-  (0.4ms) begin transaction
418
-  (0.1ms) rollback transaction
419
-  (0.0ms) begin transaction
420
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
421
-  (0.0ms) SAVEPOINT active_record_1
422
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
423
- SQL (3.4ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
424
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
425
-  (0.0ms) RELEASE SAVEPOINT active_record_1
426
-  (0.9ms) rollback transaction
427
-  (0.1ms) begin transaction
428
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
429
-  (0.0ms) SAVEPOINT active_record_1
430
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
431
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
432
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
433
-  (0.0ms) RELEASE SAVEPOINT active_record_1
434
-  (0.0ms) SAVEPOINT active_record_1
435
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
436
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
437
-  (0.0ms) RELEASE SAVEPOINT active_record_1
438
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
439
-  (0.7ms) rollback transaction
440
-  (0.0ms) begin transaction
441
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
442
-  (0.0ms) SAVEPOINT active_record_1
443
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
444
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
445
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
446
-  (0.0ms) RELEASE SAVEPOINT active_record_1
447
-  (0.0ms) SAVEPOINT active_record_1
448
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
449
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 21:15:26.345365' WHERE "records_i18n"."id" = 2
450
-  (0.0ms) RELEASE SAVEPOINT active_record_1
451
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
452
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
453
-  (1.0ms) rollback transaction
454
-  (0.1ms) begin transaction
455
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
456
-  (0.0ms) SAVEPOINT active_record_1
457
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
458
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
459
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:15:26 UTC +00:00]]
460
-  (0.0ms) RELEASE SAVEPOINT active_record_1
461
-  (0.7ms) rollback transaction
462
- Connecting to database specified by database.yml
463
-  (0.4ms) begin transaction
464
-  (0.1ms) rollback transaction
465
-  (0.0ms) begin transaction
466
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
467
-  (0.0ms) SAVEPOINT active_record_1
468
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
469
- SQL (23.8ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
470
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
471
-  (0.0ms) RELEASE SAVEPOINT active_record_1
472
-  (0.7ms) rollback transaction
473
-  (0.0ms) begin transaction
474
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
475
-  (0.0ms) SAVEPOINT active_record_1
476
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
477
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
478
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
479
-  (0.0ms) RELEASE SAVEPOINT active_record_1
480
-  (0.0ms) SAVEPOINT active_record_1
481
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
482
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
483
-  (0.0ms) RELEASE SAVEPOINT active_record_1
484
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
485
-  (0.7ms) rollback transaction
486
-  (0.4ms) begin transaction
487
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
488
-  (0.0ms) SAVEPOINT active_record_1
489
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
490
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
491
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
492
-  (0.0ms) RELEASE SAVEPOINT active_record_1
493
-  (0.0ms) SAVEPOINT active_record_1
494
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
495
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 21:33:19.759617' WHERE "records_i18n"."id" = 2
496
-  (0.0ms) RELEASE SAVEPOINT active_record_1
497
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
498
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
499
-  (1.0ms) rollback transaction
500
-  (0.1ms) begin transaction
501
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
502
-  (0.0ms) SAVEPOINT active_record_1
503
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
504
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
505
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:19 UTC +00:00]]
506
-  (0.0ms) RELEASE SAVEPOINT active_record_1
507
-  (0.9ms) rollback transaction
508
- Connecting to database specified by database.yml
509
-  (0.4ms) begin transaction
510
-  (0.0ms) rollback transaction
511
-  (0.0ms) begin transaction
512
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
513
-  (0.1ms) SAVEPOINT active_record_1
514
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
515
- SQL (3.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
516
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
517
-  (0.0ms) RELEASE SAVEPOINT active_record_1
518
-  (1.0ms) rollback transaction
519
-  (0.0ms) begin transaction
520
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
521
-  (0.0ms) SAVEPOINT active_record_1
522
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
523
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
524
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
525
-  (0.0ms) RELEASE SAVEPOINT active_record_1
526
-  (0.0ms) SAVEPOINT active_record_1
527
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
528
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
529
-  (0.0ms) RELEASE SAVEPOINT active_record_1
530
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
531
-  (0.7ms) rollback transaction
532
-  (0.0ms) begin transaction
533
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
534
-  (0.0ms) SAVEPOINT active_record_1
535
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
536
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
537
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
538
-  (0.0ms) RELEASE SAVEPOINT active_record_1
539
-  (0.0ms) SAVEPOINT active_record_1
540
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
541
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 21:33:32.644680' WHERE "records_i18n"."id" = 2
542
-  (0.0ms) RELEASE SAVEPOINT active_record_1
543
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
544
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
545
-  (0.8ms) rollback transaction
546
-  (0.0ms) begin transaction
547
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
548
-  (0.0ms) SAVEPOINT active_record_1
549
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
550
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
551
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 21:33:32 UTC +00:00]]
552
-  (0.0ms) RELEASE SAVEPOINT active_record_1
553
-  (1.0ms) rollback transaction
554
- Connecting to database specified by database.yml
555
-  (0.3ms) begin transaction
556
-  (0.0ms) rollback transaction
557
-  (0.0ms) begin transaction
558
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
559
-  (0.0ms) SAVEPOINT active_record_1
560
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
561
- SQL (34.9ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00]]
562
- SQL (0.4ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00]]
563
-  (0.0ms) RELEASE SAVEPOINT active_record_1
564
-  (1.1ms) rollback transaction
565
-  (0.0ms) begin transaction
566
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
567
-  (0.0ms) SAVEPOINT active_record_1
568
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
569
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00]]
570
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00]]
571
-  (0.0ms) RELEASE SAVEPOINT active_record_1
572
-  (0.0ms) SAVEPOINT active_record_1
573
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
574
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
575
-  (0.0ms) RELEASE SAVEPOINT active_record_1
576
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
577
-  (0.9ms) rollback transaction
578
-  (0.0ms) begin transaction
579
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
580
-  (0.0ms) SAVEPOINT active_record_1
581
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
582
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00]]
583
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:01:16 UTC +00:00]]
584
-  (0.0ms) RELEASE SAVEPOINT active_record_1
585
-  (0.9ms) rollback transaction
586
- Connecting to database specified by database.yml
587
-  (0.3ms) begin transaction
588
-  (0.1ms) rollback transaction
589
-  (0.0ms) begin transaction
590
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
591
-  (0.0ms) SAVEPOINT active_record_1
592
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
593
- SQL (3.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00]]
594
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00]]
595
-  (0.0ms) RELEASE SAVEPOINT active_record_1
596
-  (0.9ms) rollback transaction
597
-  (0.1ms) begin transaction
598
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
599
-  (0.0ms) SAVEPOINT active_record_1
600
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
601
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00]]
602
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00]]
603
-  (0.0ms) RELEASE SAVEPOINT active_record_1
604
-  (0.0ms) SAVEPOINT active_record_1
605
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
606
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
607
-  (0.0ms) RELEASE SAVEPOINT active_record_1
608
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
609
-  (0.9ms) rollback transaction
610
-  (0.1ms) begin transaction
611
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
612
-  (0.0ms) SAVEPOINT active_record_1
613
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
614
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00]]
615
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:03:14 UTC +00:00]]
616
-  (0.0ms) RELEASE SAVEPOINT active_record_1
617
-  (0.0ms) SAVEPOINT active_record_1
618
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
619
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:03:14.624579' WHERE "records_i18n"."id" = 2
620
-  (0.0ms) RELEASE SAVEPOINT active_record_1
621
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
622
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
623
-  (1.0ms) rollback transaction
624
-  (0.1ms) begin transaction
625
-  (0.0ms) rollback transaction
626
- Connecting to database specified by database.yml
627
-  (0.3ms) begin transaction
628
-  (0.1ms) rollback transaction
629
-  (0.0ms) begin transaction
630
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
631
-  (0.0ms) SAVEPOINT active_record_1
632
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
633
- SQL (3.5ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00]]
634
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00]]
635
-  (0.0ms) RELEASE SAVEPOINT active_record_1
636
-  (1.0ms) rollback transaction
637
-  (0.1ms) begin transaction
638
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
639
-  (0.0ms) SAVEPOINT active_record_1
640
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
641
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00]]
642
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00]]
643
-  (0.0ms) RELEASE SAVEPOINT active_record_1
644
-  (0.0ms) SAVEPOINT active_record_1
645
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
646
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
647
-  (0.0ms) RELEASE SAVEPOINT active_record_1
648
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
649
-  (0.9ms) rollback transaction
650
-  (0.0ms) begin transaction
651
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
652
-  (0.0ms) SAVEPOINT active_record_1
653
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
654
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00]]
655
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:05:04 UTC +00:00]]
656
-  (0.0ms) RELEASE SAVEPOINT active_record_1
657
-  (0.0ms) SAVEPOINT active_record_1
658
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
659
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:05:04.686038' WHERE "records_i18n"."id" = 2
660
-  (0.0ms) RELEASE SAVEPOINT active_record_1
661
- Record Load (0.0ms) SELECT "records".* FROM "records" LIMIT 1
662
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
663
-  (1.0ms) rollback transaction
664
-  (0.0ms) begin transaction
665
-  (0.0ms) rollback transaction
666
- Connecting to database specified by database.yml
667
-  (0.3ms) begin transaction
668
-  (0.0ms) rollback transaction
669
-  (0.0ms) begin transaction
670
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
671
-  (0.0ms) SAVEPOINT active_record_1
672
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
673
- SQL (3.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
674
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
675
-  (0.0ms) RELEASE SAVEPOINT active_record_1
676
-  (56.3ms) rollback transaction
677
-  (0.1ms) begin transaction
678
- RecordTranslation Load (0.3ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
679
-  (0.1ms) SAVEPOINT active_record_1
680
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
681
- SQL (0.4ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
682
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
683
-  (0.0ms) RELEASE SAVEPOINT active_record_1
684
-  (0.0ms) SAVEPOINT active_record_1
685
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
686
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
687
-  (0.0ms) RELEASE SAVEPOINT active_record_1
688
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
689
-  (0.8ms) rollback transaction
690
-  (0.0ms) begin transaction
691
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
692
-  (0.0ms) SAVEPOINT active_record_1
693
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
694
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
695
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
696
-  (0.0ms) RELEASE SAVEPOINT active_record_1
697
-  (0.0ms) SAVEPOINT active_record_1
698
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
699
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:08:35.943624' WHERE "records_i18n"."id" = 2
700
-  (0.0ms) RELEASE SAVEPOINT active_record_1
701
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
702
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
703
-  (0.8ms) rollback transaction
704
-  (0.1ms) begin transaction
705
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
706
-  (0.1ms) SAVEPOINT active_record_1
707
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
708
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
709
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:08:35 UTC +00:00]]
710
-  (0.0ms) RELEASE SAVEPOINT active_record_1
711
-  (0.7ms) rollback transaction
712
- Connecting to database specified by database.yml
713
-  (0.3ms) begin transaction
714
-  (0.1ms) rollback transaction
715
-  (0.0ms) begin transaction
716
-  (0.1ms) rollback transaction
717
-  (0.0ms) begin transaction
718
-  (0.0ms) rollback transaction
719
-  (0.0ms) begin transaction
720
-  (0.0ms) rollback transaction
721
-  (0.0ms) begin transaction
722
-  (0.0ms) rollback transaction
723
- Connecting to database specified by database.yml
724
-  (0.4ms) begin transaction
725
-  (0.1ms) rollback transaction
726
-  (0.0ms) begin transaction
727
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
728
-  (0.0ms) SAVEPOINT active_record_1
729
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
730
- SQL (3.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
731
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
732
-  (0.0ms) RELEASE SAVEPOINT active_record_1
733
-  (1.0ms) rollback transaction
734
-  (0.1ms) begin transaction
735
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
736
-  (0.0ms) SAVEPOINT active_record_1
737
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
738
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
739
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
740
-  (0.0ms) RELEASE SAVEPOINT active_record_1
741
-  (0.0ms) SAVEPOINT active_record_1
742
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 1]]
743
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 1]]
744
-  (0.0ms) RELEASE SAVEPOINT active_record_1
745
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 1 LIMIT 1
746
-  (0.7ms) rollback transaction
747
-  (0.1ms) begin transaction
748
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
749
-  (0.0ms) SAVEPOINT active_record_1
750
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
751
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
752
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
753
-  (0.0ms) RELEASE SAVEPOINT active_record_1
754
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
755
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (1)
756
-  (0.0ms) SAVEPOINT active_record_1
757
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 1 AND "records_i18n"."id" != 1 AND "records_i18n"."locale" = 'en') LIMIT 1
758
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:11:37.474261' WHERE "records_i18n"."id" = 1
759
-  (0.0ms) RELEASE SAVEPOINT active_record_1
760
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
761
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (1)
762
-  (0.7ms) rollback transaction
763
-  (0.0ms) begin transaction
764
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
765
-  (0.0ms) SAVEPOINT active_record_1
766
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
767
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
768
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 22:11:37 UTC +00:00]]
769
-  (0.0ms) RELEASE SAVEPOINT active_record_1
770
-  (0.9ms) rollback transaction
771
- Connecting to database specified by database.yml
772
-  (0.3ms) begin transaction
773
-  (0.0ms) rollback transaction
774
-  (0.0ms) begin transaction
775
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
776
-  (0.0ms) SAVEPOINT active_record_1
777
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
778
- SQL (3.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:13:36 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:13:36 UTC +00:00]]
779
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:13:36 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 22:13:36 UTC +00:00]]
780
-  (0.0ms) RELEASE SAVEPOINT active_record_1
781
-  (1.0ms) rollback transaction
782
-  (0.1ms) begin transaction
783
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
784
-  (0.0ms) rollback transaction
785
-  (0.0ms) begin transaction
786
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
787
-  (0.0ms) rollback transaction
788
-  (0.0ms) begin transaction
789
-  (0.0ms) rollback transaction
790
- Connecting to database specified by database.yml
791
-  (0.3ms) begin transaction
792
-  (0.0ms) rollback transaction
793
- RecordTranslation Load (0.3ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
794
-  (0.0ms) begin transaction
795
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
796
- SQL (3.6ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:15:00 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:15:00 UTC +00:00]]
797
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:15:00 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 1], ["updated_at", Sat, 24 Nov 2012 22:15:00 UTC +00:00]]
798
-  (2.4ms) commit transaction
799
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
800
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (1)
801
-  (0.0ms) begin transaction
802
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 1]]
803
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 1]]
804
-  (2.6ms) commit transaction
805
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 1 LIMIT 1
806
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
807
- Connecting to database specified by database.yml
808
-  (0.3ms) begin transaction
809
-  (0.1ms) rollback transaction
810
-  (0.0ms) begin transaction
811
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
812
-  (0.0ms) SAVEPOINT active_record_1
813
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
814
- SQL (3.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
815
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
816
-  (0.0ms) RELEASE SAVEPOINT active_record_1
817
-  (0.7ms) rollback transaction
818
-  (0.0ms) begin transaction
819
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
820
-  (0.0ms) SAVEPOINT active_record_1
821
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
822
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
823
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
824
-  (0.0ms) RELEASE SAVEPOINT active_record_1
825
-  (0.0ms) SAVEPOINT active_record_1
826
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
827
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
828
-  (0.0ms) RELEASE SAVEPOINT active_record_1
829
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
830
-  (1.0ms) rollback transaction
831
-  (0.0ms) begin transaction
832
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
833
-  (0.0ms) SAVEPOINT active_record_1
834
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
835
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
836
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
837
-  (0.0ms) RELEASE SAVEPOINT active_record_1
838
-  (0.0ms) SAVEPOINT active_record_1
839
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
840
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:16:15.618362' WHERE "records_i18n"."id" = 2
841
-  (0.0ms) RELEASE SAVEPOINT active_record_1
842
- Record Load (0.1ms) SELECT "records".* FROM "records" LIMIT 1
843
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IN (2)
844
-  (0.8ms) rollback transaction
845
-  (0.0ms) begin transaction
846
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
847
-  (0.0ms) SAVEPOINT active_record_1
848
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
849
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
850
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:15 UTC +00:00]]
851
-  (0.0ms) RELEASE SAVEPOINT active_record_1
852
-  (0.9ms) rollback transaction
853
- Connecting to database specified by database.yml
854
-  (0.4ms) begin transaction
855
-  (0.1ms) rollback transaction
856
-  (0.0ms) begin transaction
857
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
858
-  (0.1ms) SAVEPOINT active_record_1
859
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
860
- SQL (3.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
861
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
862
-  (0.0ms) RELEASE SAVEPOINT active_record_1
863
-  (1.0ms) rollback transaction
864
-  (0.4ms) begin transaction
865
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
866
-  (0.0ms) SAVEPOINT active_record_1
867
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
868
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
869
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
870
-  (0.0ms) RELEASE SAVEPOINT active_record_1
871
-  (0.0ms) SAVEPOINT active_record_1
872
- SQL (0.2ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
873
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
874
-  (0.0ms) RELEASE SAVEPOINT active_record_1
875
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
876
-  (1.0ms) rollback transaction
877
-  (0.1ms) begin transaction
878
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
879
-  (0.0ms) SAVEPOINT active_record_1
880
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
881
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
882
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
883
-  (0.0ms) RELEASE SAVEPOINT active_record_1
884
-  (0.0ms) SAVEPOINT active_record_1
885
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
886
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:16:44.718743' WHERE "records_i18n"."id" = 2
887
-  (0.0ms) RELEASE SAVEPOINT active_record_1
888
-  (0.7ms) rollback transaction
889
-  (0.0ms) begin transaction
890
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
891
-  (0.0ms) SAVEPOINT active_record_1
892
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
893
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
894
- SQL (0.1ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:16:44 UTC +00:00]]
895
-  (0.0ms) RELEASE SAVEPOINT active_record_1
896
-  (1.2ms) rollback transaction
897
- Connecting to database specified by database.yml
898
-  (0.4ms) begin transaction
899
-  (0.1ms) rollback transaction
900
-  (0.0ms) begin transaction
901
- RecordTranslation Load (0.6ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
902
-  (0.1ms) rollback transaction
903
-  (0.0ms) begin transaction
904
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
905
-  (0.0ms) rollback transaction
906
-  (0.0ms) begin transaction
907
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
908
-  (0.0ms) rollback transaction
909
-  (0.0ms) begin transaction
910
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
911
-  (0.0ms) rollback transaction
912
- Connecting to database specified by database.yml
913
-  (0.3ms) begin transaction
914
-  (0.0ms) rollback transaction
915
-  (0.0ms) begin transaction
916
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
917
-  (0.1ms) rollback transaction
918
-  (0.0ms) begin transaction
919
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
920
-  (0.0ms) rollback transaction
921
-  (0.0ms) begin transaction
922
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
923
-  (0.0ms) rollback transaction
924
-  (0.0ms) begin transaction
925
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
926
-  (0.0ms) rollback transaction
927
- Connecting to database specified by database.yml
928
-  (0.3ms) begin transaction
929
-  (0.0ms) rollback transaction
930
-  (0.0ms) begin transaction
931
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
932
-  (0.0ms) SAVEPOINT active_record_1
933
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
934
- SQL (4.9ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00]]
935
- SQL (1.4ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00]]
936
-  (0.0ms) RELEASE SAVEPOINT active_record_1
937
-  (0.8ms) rollback transaction
938
-  (0.0ms) begin transaction
939
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
940
-  (0.0ms) SAVEPOINT active_record_1
941
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
942
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00]]
943
- SQL (0.1ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:36:03 UTC +00:00]]
944
-  (0.0ms) RELEASE SAVEPOINT active_record_1
945
-  (0.0ms) SAVEPOINT active_record_1
946
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
947
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
948
-  (0.0ms) RELEASE SAVEPOINT active_record_1
949
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
950
-  (0.9ms) rollback transaction
951
-  (0.0ms) begin transaction
952
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
953
-  (0.0ms) SAVEPOINT active_record_1
954
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
955
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00]]
956
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00]]
957
-  (0.0ms) RELEASE SAVEPOINT active_record_1
958
-  (0.0ms) SAVEPOINT active_record_1
959
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
960
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:36:04.009533' WHERE "records_i18n"."id" = 2
961
-  (0.0ms) RELEASE SAVEPOINT active_record_1
962
-  (1.0ms) rollback transaction
963
-  (0.1ms) begin transaction
964
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
965
-  (0.0ms) SAVEPOINT active_record_1
966
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
967
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00]]
968
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:36:04 UTC +00:00]]
969
-  (0.0ms) RELEASE SAVEPOINT active_record_1
970
-  (0.9ms) rollback transaction
971
- Connecting to database specified by database.yml
972
-  (0.4ms) begin transaction
973
-  (0.0ms) rollback transaction
974
-  (0.0ms) begin transaction
975
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
976
-  (0.0ms) SAVEPOINT active_record_1
977
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
978
- SQL (3.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
979
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
980
-  (0.0ms) RELEASE SAVEPOINT active_record_1
981
-  (1.0ms) rollback transaction
982
-  (0.1ms) begin transaction
983
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
984
-  (0.0ms) SAVEPOINT active_record_1
985
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
986
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
987
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
988
-  (0.0ms) RELEASE SAVEPOINT active_record_1
989
-  (0.0ms) SAVEPOINT active_record_1
990
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
991
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
992
-  (0.0ms) RELEASE SAVEPOINT active_record_1
993
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
994
-  (1.0ms) rollback transaction
995
-  (0.1ms) begin transaction
996
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
997
-  (0.0ms) SAVEPOINT active_record_1
998
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
999
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
1000
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
1001
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1002
-  (0.0ms) SAVEPOINT active_record_1
1003
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1004
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:37:01.417304' WHERE "records_i18n"."id" = 2
1005
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1006
-  (1.0ms) rollback transaction
1007
-  (0.1ms) begin transaction
1008
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1009
-  (0.0ms) SAVEPOINT active_record_1
1010
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1011
- SQL (0.4ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
1012
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:37:01 UTC +00:00]]
1013
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1014
-  (0.7ms) rollback transaction
1015
- Connecting to database specified by database.yml
1016
-  (0.3ms) begin transaction
1017
-  (0.0ms) rollback transaction
1018
-  (0.0ms) begin transaction
1019
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1020
-  (0.0ms) SAVEPOINT active_record_1
1021
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1022
- SQL (3.1ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1023
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1024
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1025
-  (0.8ms) rollback transaction
1026
-  (0.0ms) begin transaction
1027
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1028
-  (0.0ms) SAVEPOINT active_record_1
1029
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1030
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1031
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1032
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1033
-  (0.0ms) SAVEPOINT active_record_1
1034
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
1035
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
1036
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1037
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
1038
-  (0.8ms) rollback transaction
1039
-  (0.0ms) begin transaction
1040
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1041
-  (0.0ms) SAVEPOINT active_record_1
1042
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1043
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1044
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1045
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1046
-  (0.0ms) SAVEPOINT active_record_1
1047
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1048
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-24 22:46:31.810672' WHERE "records_i18n"."id" = 2
1049
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1050
-  (0.8ms) rollback transaction
1051
-  (0.0ms) begin transaction
1052
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1053
-  (0.4ms) SAVEPOINT active_record_1
1054
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1055
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1056
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 24 Nov 2012 22:46:31 UTC +00:00]]
1057
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1058
-  (0.9ms) rollback transaction
1059
- Connecting to database specified by database.yml
1060
-  (0.3ms) begin transaction
1061
-  (0.1ms) rollback transaction
1062
-  (0.0ms) begin transaction
1063
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1064
-  (0.1ms) SAVEPOINT active_record_1
1065
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1066
- SQL (2.9ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1067
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1068
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1069
-  (1.0ms) rollback transaction
1070
-  (0.0ms) begin transaction
1071
- RecordTranslation Load (16.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1072
-  (0.0ms) SAVEPOINT active_record_1
1073
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1074
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1075
- SQL (0.1ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1076
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1077
-  (0.0ms) SAVEPOINT active_record_1
1078
- SQL (0.2ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
1079
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
1080
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1081
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
1082
-  (0.9ms) rollback transaction
1083
-  (0.1ms) begin transaction
1084
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1085
-  (0.0ms) SAVEPOINT active_record_1
1086
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1087
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1088
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1089
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1090
-  (0.0ms) SAVEPOINT active_record_1
1091
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1092
-  (0.3ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-25 13:57:17.897610' WHERE "records_i18n"."id" = 2
1093
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1094
-  (1.1ms) rollback transaction
1095
-  (0.0ms) begin transaction
1096
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1097
-  (0.0ms) SAVEPOINT active_record_1
1098
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1099
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1100
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:17 UTC +00:00]]
1101
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1102
-  (1.0ms) rollback transaction
1103
- Connecting to database specified by database.yml
1104
-  (0.3ms) begin transaction
1105
-  (0.0ms) rollback transaction
1106
-  (0.0ms) begin transaction
1107
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1108
-  (0.0ms) SAVEPOINT active_record_1
1109
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1110
- SQL (3.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1111
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1112
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1113
-  (1.0ms) rollback transaction
1114
-  (0.1ms) begin transaction
1115
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1116
-  (0.0ms) SAVEPOINT active_record_1
1117
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1118
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1119
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1120
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1121
-  (0.0ms) SAVEPOINT active_record_1
1122
- SQL (0.2ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
1123
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
1124
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1125
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
1126
-  (0.9ms) rollback transaction
1127
-  (0.0ms) begin transaction
1128
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1129
-  (0.0ms) SAVEPOINT active_record_1
1130
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1131
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1132
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1133
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1134
-  (0.0ms) SAVEPOINT active_record_1
1135
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1136
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-25 13:57:52.478621' WHERE "records_i18n"."id" = 2
1137
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1138
-  (0.9ms) rollback transaction
1139
-  (0.1ms) begin transaction
1140
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1141
-  (0.0ms) SAVEPOINT active_record_1
1142
- RecordTranslation Exists (0.0ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1143
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1144
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:57:52 UTC +00:00]]
1145
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1146
-  (1.0ms) rollback transaction
1147
- Connecting to database specified by database.yml
1148
-  (0.3ms) begin transaction
1149
-  (0.0ms) rollback transaction
1150
-  (0.0ms) begin transaction
1151
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1152
-  (0.0ms) SAVEPOINT active_record_1
1153
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1154
- SQL (3.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1155
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1156
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1157
-  (1.0ms) rollback transaction
1158
-  (0.0ms) begin transaction
1159
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1160
-  (0.0ms) SAVEPOINT active_record_1
1161
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1162
- SQL (0.4ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1163
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1164
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1165
-  (0.0ms) SAVEPOINT active_record_1
1166
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
1167
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
1168
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1169
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
1170
-  (1.0ms) rollback transaction
1171
-  (0.1ms) begin transaction
1172
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1173
-  (0.0ms) SAVEPOINT active_record_1
1174
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1175
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1176
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1177
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1178
-  (0.0ms) SAVEPOINT active_record_1
1179
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1180
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-25 13:58:23.700583' WHERE "records_i18n"."id" = 2
1181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1182
-  (1.2ms) rollback transaction
1183
-  (0.1ms) begin transaction
1184
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1185
-  (0.1ms) SAVEPOINT active_record_1
1186
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1187
- SQL (0.5ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1188
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 13:58:23 UTC +00:00]]
1189
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
-  (1.1ms) rollback transaction
1191
- Connecting to database specified by database.yml
1192
-  (0.3ms) begin transaction
1193
-  (0.0ms) rollback transaction
1194
-  (0.0ms) begin transaction
1195
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1196
-  (0.0ms) SAVEPOINT active_record_1
1197
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1198
- SQL (3.5ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1199
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1200
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1201
-  (0.9ms) rollback transaction
1202
-  (0.1ms) begin transaction
1203
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1204
-  (0.0ms) SAVEPOINT active_record_1
1205
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1206
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1207
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1208
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1209
-  (0.0ms) SAVEPOINT active_record_1
1210
- SQL (0.3ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
1211
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
1212
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1213
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
1214
-  (1.9ms) rollback transaction
1215
-  (0.1ms) begin transaction
1216
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1217
-  (0.0ms) SAVEPOINT active_record_1
1218
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1219
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1220
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1221
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1222
-  (0.0ms) SAVEPOINT active_record_1
1223
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1224
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-25 14:00:00.879209' WHERE "records_i18n"."id" = 2
1225
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1226
-  (0.8ms) rollback transaction
1227
-  (0.0ms) begin transaction
1228
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1229
-  (0.0ms) SAVEPOINT active_record_1
1230
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1231
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1232
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:00 UTC +00:00]]
1233
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1234
-  (0.9ms) rollback transaction
1235
- Connecting to database specified by database.yml
1236
-  (0.3ms) begin transaction
1237
-  (0.0ms) rollback transaction
1238
-  (0.0ms) begin transaction
1239
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1240
-  (0.0ms) SAVEPOINT active_record_1
1241
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1242
- SQL (3.4ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1243
- SQL (0.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1244
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1245
-  (0.9ms) rollback transaction
1246
-  (0.1ms) begin transaction
1247
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1248
-  (0.0ms) SAVEPOINT active_record_1
1249
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1250
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1251
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1252
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1253
-  (0.0ms) SAVEPOINT active_record_1
1254
- SQL (0.2ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
1255
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
1256
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1257
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
1258
-  (1.2ms) rollback transaction
1259
-  (0.1ms) begin transaction
1260
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1261
-  (0.0ms) SAVEPOINT active_record_1
1262
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1263
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1264
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1265
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1266
-  (0.0ms) SAVEPOINT active_record_1
1267
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1268
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-11-25 14:00:50.967237' WHERE "records_i18n"."id" = 2
1269
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1270
-  (1.0ms) rollback transaction
1271
-  (0.1ms) begin transaction
1272
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1273
-  (0.0ms) SAVEPOINT active_record_1
1274
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1275
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1276
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sun, 25 Nov 2012 14:00:50 UTC +00:00]]
1277
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1278
-  (0.9ms) rollback transaction
1279
- Connecting to database specified by database.yml
1280
-  (0.5ms) begin transaction
1281
-  (0.1ms) rollback transaction
1282
-  (0.1ms) begin transaction
1283
- RecordTranslation Load (12.9ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1284
-  (0.1ms) SAVEPOINT active_record_1
1285
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1286
- SQL (17.0ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00]]
1287
- SQL (1.3ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00]]
1288
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1289
-  (1.0ms) rollback transaction
1290
-  (0.0ms) begin transaction
1291
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1292
-  (0.0ms) SAVEPOINT active_record_1
1293
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1294
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00]]
1295
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 01 Dec 2012 15:53:09 UTC +00:00]]
1296
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1297
-  (0.0ms) SAVEPOINT active_record_1
1298
- SQL (0.2ms) DELETE FROM "records_i18n" WHERE "records_i18n"."id" = ? [["id", 2]]
1299
- SQL (0.1ms) DELETE FROM "records" WHERE "records"."id" = ? [["id", 2]]
1300
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1301
- RecordTranslation Load (0.1ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" = 2 LIMIT 1
1302
-  (1.0ms) rollback transaction
1303
-  (0.0ms) begin transaction
1304
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1305
-  (0.0ms) SAVEPOINT active_record_1
1306
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1307
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00]]
1308
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00]]
1309
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1310
-  (0.0ms) SAVEPOINT active_record_1
1311
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" = 2 AND "records_i18n"."id" != 2 AND "records_i18n"."locale" = 'en') LIMIT 1
1312
-  (0.2ms) UPDATE "records_i18n" SET "name" = 'new name', "updated_at" = '2012-12-01 15:53:10.004801' WHERE "records_i18n"."id" = 2
1313
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1314
-  (0.9ms) rollback transaction
1315
-  (0.1ms) begin transaction
1316
- RecordTranslation Load (0.2ms) SELECT "records_i18n".* FROM "records_i18n" WHERE "records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en' LIMIT 1
1317
-  (0.0ms) SAVEPOINT active_record_1
1318
- RecordTranslation Exists (0.1ms) SELECT 1 AS one FROM "records_i18n" WHERE ("records_i18n"."record_id" IS NULL AND "records_i18n"."locale" = 'en') LIMIT 1
1319
- SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00]]
1320
- SQL (0.2ms) INSERT INTO "records_i18n" ("created_at", "locale", "name", "record_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00], ["locale", "en"], ["name", "name"], ["record_id", 2], ["updated_at", Sat, 01 Dec 2012 15:53:10 UTC +00:00]]
1321
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1322
-  (0.9ms) rollback transaction
1323
- Connecting to database specified by database.yml
1324
-  (1.0ms) select sqlite_version(*)
1325
-  (0.2ms) 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)
1326
-  (0.0ms) PRAGMA index_list("model_i18n")
1327
-  (0.1ms) CREATE INDEX "index_model_i18n_on_locale" ON "model_i18n" ("locale")
1328
-  (0.0ms) PRAGMA index_list("model_i18n")
1329
-  (0.0ms) PRAGMA index_info('index_model_i18n_on_locale')
1330
-  (0.1ms) CREATE INDEX "index_model_i18n_on_model_id" ON "model_i18n" ("model_id")
1331
-  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1332
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1333
-  (0.0ms) PRAGMA index_list("schema_migrations")
1334
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1335
-  (0.0ms) SELECT version FROM "schema_migrations"
1336
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1337
-  (0.1ms) begin transaction
1338
-  (0.0ms) rollback transaction
1339
-  (0.0ms) begin transaction
1340
-  (0.0ms) rollback transaction
1341
-  (0.0ms) begin transaction
1342
-  (0.0ms) rollback transaction
1343
-  (0.0ms) begin transaction
1344
-  (0.0ms) rollback transaction
1345
-  (0.0ms) begin transaction
1346
-  (0.0ms) rollback transaction
1347
- Connecting to database specified by database.yml
1348
-  (1.1ms) select sqlite_version(*)
1349
-  (0.2ms) 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)
1350
-  (0.0ms) PRAGMA index_list("model_i18n")
1351
-  (0.1ms) CREATE INDEX "index_model_i18n_on_locale" ON "model_i18n" ("locale")
1352
-  (0.0ms) PRAGMA index_list("model_i18n")
1353
-  (0.0ms) PRAGMA index_info('index_model_i18n_on_locale')
1354
-  (0.1ms) CREATE INDEX "index_model_i18n_on_model_id" ON "model_i18n" ("model_id")
1355
-  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1356
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1357
-  (0.0ms) PRAGMA index_list("schema_migrations")
1358
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1359
-  (0.0ms) SELECT version FROM "schema_migrations"
1360
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1361
-  (0.1ms) begin transaction
1362
-  (0.1ms) rollback transaction
1363
-  (0.0ms) begin transaction
1364
-  (0.0ms) rollback transaction
1365
-  (0.0ms) begin transaction
1366
-  (0.0ms) rollback transaction
1367
-  (0.0ms) begin transaction
1368
-  (0.0ms) rollback transaction
1369
-  (0.0ms) begin transaction
1370
-  (0.0ms) rollback transaction
1371
- Connecting to database specified by database.yml
1372
-  (1.1ms) select sqlite_version(*)
1373
-  (0.2ms) 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)
1374
-  (0.0ms) PRAGMA index_list("model_i18n")
1375
-  (0.1ms) CREATE INDEX "index_model_i18n_on_locale" ON "model_i18n" ("locale")
1376
-  (0.0ms) PRAGMA index_list("model_i18n")
1377
-  (0.0ms) PRAGMA index_info('index_model_i18n_on_locale')
1378
-  (0.1ms) CREATE INDEX "index_model_i18n_on_model_id" ON "model_i18n" ("model_id")
1379
-  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1380
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1381
-  (0.0ms) PRAGMA index_list("schema_migrations")
1382
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1383
-  (0.0ms) SELECT version FROM "schema_migrations"
1384
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1385
-  (0.1ms) begin transaction
1386
-  (0.0ms) rollback transaction
1387
-  (0.0ms) begin transaction
1388
-  (0.0ms) rollback transaction
1389
-  (0.0ms) begin transaction
1390
-  (0.0ms) rollback transaction
1391
-  (0.0ms) begin transaction
1392
-  (0.0ms) rollback transaction
1393
-  (0.0ms) begin transaction
1394
-  (0.0ms) rollback transaction
1395
- Connecting to database specified by database.yml
1396
-  (1.1ms) select sqlite_version(*)
1397
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1398
-  (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) 
1399
-  (0.0ms) PRAGMA index_list("models_i18n")
1400
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1401
-  (0.1ms) PRAGMA index_list("models_i18n")
1402
-  (0.0ms) PRAGMA index_info('index_models_i18n_on_locale')
1403
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1404
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1405
-  (0.0ms) PRAGMA index_list("schema_migrations")
1406
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1407
-  (0.0ms) SELECT version FROM "schema_migrations"
1408
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1409
-  (0.1ms) begin transaction
1410
-  (0.0ms) rollback transaction
1411
-  (0.0ms) begin transaction
1412
- ModelTranslation Load (1.3ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1413
-  (0.0ms) SAVEPOINT active_record_1
1414
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1415
- SQL (3.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1416
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1417
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1418
-  (0.0ms) rollback transaction
1419
-  (0.0ms) begin transaction
1420
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1421
-  (0.0ms) SAVEPOINT active_record_1
1422
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1423
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1424
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1425
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1426
-  (0.0ms) SAVEPOINT active_record_1
1427
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1428
- SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1429
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1430
-  (0.0ms) rollback transaction
1431
-  (0.0ms) begin transaction
1432
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1433
-  (0.0ms) SAVEPOINT active_record_1
1434
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1435
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1436
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1437
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1438
-  (0.0ms) SAVEPOINT active_record_1
1439
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1440
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2012-12-01 17:30:46.057553' WHERE "models_i18n"."id" = 1
1441
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1442
-  (0.0ms) rollback transaction
1443
-  (0.0ms) begin transaction
1444
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1445
-  (0.0ms) SAVEPOINT active_record_1
1446
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1447
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1448
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:30:46 UTC +00:00]]
1449
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1450
-  (0.0ms) rollback transaction
1451
- Connecting to database specified by database.yml
1452
-  (1.1ms) select sqlite_version(*)
1453
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1454
-  (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) 
1455
-  (0.0ms) PRAGMA index_list("models_i18n")
1456
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1457
-  (0.1ms) PRAGMA index_list("models_i18n")
1458
-  (0.0ms) PRAGMA index_info('index_models_i18n_on_locale')
1459
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1460
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1461
-  (0.0ms) PRAGMA index_list("schema_migrations")
1462
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1463
-  (0.0ms) SELECT version FROM "schema_migrations"
1464
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1465
-  (0.1ms) begin transaction
1466
-  (0.0ms) rollback transaction
1467
-  (0.0ms) begin transaction
1468
- ModelTranslation Load (0.9ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1469
-  (0.0ms) SAVEPOINT active_record_1
1470
- ModelTranslation Exists (0.2ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1471
- SQL (3.5ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1472
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1473
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1474
-  (0.0ms) rollback transaction
1475
-  (0.0ms) begin transaction
1476
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1477
-  (0.0ms) SAVEPOINT active_record_1
1478
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1479
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1480
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1481
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1482
-  (0.0ms) SAVEPOINT active_record_1
1483
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1484
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1485
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1486
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1487
-  (0.0ms) rollback transaction
1488
-  (0.0ms) begin transaction
1489
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1490
-  (0.0ms) SAVEPOINT active_record_1
1491
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1492
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1493
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1494
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1495
-  (0.0ms) SAVEPOINT active_record_1
1496
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1497
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2012-12-01 17:31:09.068908' WHERE "models_i18n"."id" = 1
1498
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1499
-  (0.0ms) rollback transaction
1500
-  (0.0ms) begin transaction
1501
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1502
-  (0.0ms) SAVEPOINT active_record_1
1503
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1504
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1505
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:31:09 UTC +00:00]]
1506
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1507
-  (0.0ms) rollback transaction
1508
- Connecting to database specified by database.yml
1509
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("models")
1510
-  (0.0ms) CREATE TABLE "models" ("id" integer primary key autoincrement not null, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1511
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("models_i18n")
1512
-  (0.0ms) 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)
1513
-  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "models_i18n" AND type = 'index'
1514
-  (0.0ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1515
-  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "models_i18n" AND type = 'index'
1516
-  (0.0ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1517
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("schema_migrations")
1518
-  (0.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1519
-  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "schema_migrations" AND type = 'index'
1520
-  (0.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1521
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("schema_info")
1522
-  (0.0ms) SELECT version FROM "schema_migrations"
1523
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1524
- ModelTranslation Load (0.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1525
- ModelTranslation Exists (1.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1526
- SQL (0.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:32:46.963000', '2012-12-01 17:32:46.963000')
1527
- SQL (0.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:32:47.039000', 'en', 1, 'name', '2012-12-01 17:32:47.039000')
1528
- ModelTranslation Load (0.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1529
- ModelTranslation Exists (1.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1530
- SQL (0.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:32:47.078000', '2012-12-01 17:32:47.078000')
1531
- SQL (1.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:32:47.088000', 'en', 1, 'name', '2012-12-01 17:32:47.088000')
1532
- SQL (1.0ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = 1
1533
- SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = 1
1534
- ModelTranslation Load (1.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1535
- ModelTranslation Load (0.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1536
- ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1537
- SQL (1.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:32:47.154000', '2012-12-01 17:32:47.154000')
1538
- SQL (0.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:32:47.167000', 'en', 1, 'name', '2012-12-01 17:32:47.167000')
1539
- ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1540
-  (0.0ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2012-12-01 17:32:47.191000' WHERE "models_i18n"."id" = 1
1541
- ModelTranslation Load (0.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1542
- ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1543
- SQL (0.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:32:47.235000', '2012-12-01 17:32:47.235000')
1544
- SQL (0.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:32:47.241000', 'en', 1, 'name', '2012-12-01 17:32:47.241000')
1545
- Connecting to database specified by database.yml
1546
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("models")
1547
-  (1.0ms) CREATE TABLE "models" ("id" integer primary key autoincrement not null, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1548
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("models_i18n")
1549
-  (0.0ms) 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)
1550
-  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "models_i18n" AND type = 'index'
1551
-  (0.0ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1552
-  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "models_i18n" AND type = 'index'
1553
-  (0.0ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1554
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("schema_migrations")
1555
-  (0.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1556
-  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "schema_migrations" AND type = 'index'
1557
-  (0.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1558
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("schema_info")
1559
-  (0.0ms) SELECT version FROM "schema_migrations"
1560
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1561
- ModelTranslation Load (1.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1562
- ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1563
- SQL (0.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:33:03.618000', '2012-12-01 17:33:03.618000')
1564
- SQL (0.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:33:03.646000', 'en', 1, 'name', '2012-12-01 17:33:03.646000')
1565
- ModelTranslation Load (0.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1566
- ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1567
- SQL (0.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:33:03.686000', '2012-12-01 17:33:03.686000')
1568
- SQL (0.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:33:03.695000', 'en', 1, 'name', '2012-12-01 17:33:03.695000')
1569
- SQL (0.0ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = 1
1570
- SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = 1
1571
- ModelTranslation Load (0.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1572
- ModelTranslation Load (1.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1573
- ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1574
- SQL (1.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:33:03.761000', '2012-12-01 17:33:03.761000')
1575
- SQL (0.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:33:03.773000', 'en', 1, 'name', '2012-12-01 17:33:03.773000')
1576
- ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1577
-  (0.0ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2012-12-01 17:33:03.795000' WHERE "models_i18n"."id" = 1
1578
- ModelTranslation Load (1.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1579
- ModelTranslation Exists (1.0ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1580
- SQL (1.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES ('2012-12-01 17:33:03.825000', '2012-12-01 17:33:03.825000')
1581
- SQL (0.0ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES ('2012-12-01 17:33:03.831000', 'en', 1, 'name', '2012-12-01 17:33:03.831000')
1582
- Connecting to database specified by database.yml
1583
-  (1.1ms) select sqlite_version(*)
1584
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1585
-  (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) 
1586
-  (0.0ms) PRAGMA index_list("models_i18n")
1587
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1588
-  (0.1ms) PRAGMA index_list("models_i18n")
1589
-  (0.0ms) PRAGMA index_info('index_models_i18n_on_locale')
1590
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1591
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1592
-  (0.0ms) PRAGMA index_list("schema_migrations")
1593
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1594
-  (0.0ms) SELECT version FROM "schema_migrations"
1595
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1596
-  (0.1ms) begin transaction
1597
-  (0.1ms) rollback transaction
1598
-  (0.0ms) begin transaction
1599
- ModelTranslation Load (0.9ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1600
-  (0.0ms) SAVEPOINT active_record_1
1601
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1602
- SQL (2.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1603
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1604
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1605
-  (0.0ms) rollback transaction
1606
-  (0.0ms) begin transaction
1607
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1608
-  (0.0ms) SAVEPOINT active_record_1
1609
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1610
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1611
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1612
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1613
-  (0.0ms) SAVEPOINT active_record_1
1614
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1615
- SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1616
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1617
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1618
-  (0.0ms) rollback transaction
1619
-  (0.0ms) begin transaction
1620
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1621
-  (0.0ms) SAVEPOINT active_record_1
1622
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1623
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1624
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1625
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1626
-  (0.0ms) SAVEPOINT active_record_1
1627
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1628
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2012-12-01 17:50:44.286254' WHERE "models_i18n"."id" = 1
1629
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1630
-  (0.0ms) rollback transaction
1631
-  (0.0ms) begin transaction
1632
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1633
-  (0.0ms) SAVEPOINT active_record_1
1634
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1635
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1636
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 01 Dec 2012 17:50:44 UTC +00:00]]
1637
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1638
-  (0.0ms) rollback transaction
1639
- Connecting to database specified by database.yml
1640
-  (2.7ms) select sqlite_version(*)
1641
-  (0.3ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1642
-  (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) 
1643
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1644
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1645
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1646
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1647
-  (0.0ms) SELECT version FROM "schema_migrations"
1648
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1649
-  (0.1ms) begin transaction
1650
-  (0.1ms) rollback transaction
1651
-  (0.0ms) begin transaction
1652
- ModelTranslation Load (2.0ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1653
-  (0.0ms) SAVEPOINT active_record_1
1654
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1655
- SQL (54.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1656
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1657
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1658
-  (0.1ms) rollback transaction
1659
-  (0.0ms) begin transaction
1660
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1661
-  (0.0ms) SAVEPOINT active_record_1
1662
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1663
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1664
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1665
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1666
-  (0.0ms) SAVEPOINT active_record_1
1667
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1668
- SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1669
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1670
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1671
-  (0.0ms) rollback transaction
1672
-  (0.0ms) begin transaction
1673
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1674
-  (0.0ms) SAVEPOINT active_record_1
1675
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1676
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1677
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1678
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1679
-  (0.0ms) SAVEPOINT active_record_1
1680
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1681
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-01-06 19:53:19.349117' WHERE "models_i18n"."id" = 1
1682
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1683
-  (0.0ms) rollback transaction
1684
-  (0.0ms) begin transaction
1685
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1686
-  (0.0ms) SAVEPOINT active_record_1
1687
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1688
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1689
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sun, 06 Jan 2013 19:53:19 UTC +00:00]]
1690
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1691
-  (0.0ms) rollback transaction
1692
- Connecting to database specified by database.yml
1693
-  (1.0ms) select sqlite_version(*)
1694
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1695
-  (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) 
1696
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1697
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1698
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1699
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1700
-  (0.0ms) SELECT version FROM "schema_migrations"
1701
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1702
-  (0.1ms) begin transaction
1703
-  (0.1ms) rollback transaction
1704
-  (0.0ms) begin transaction
1705
- ModelTranslation Load (1.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1706
-  (0.0ms) SAVEPOINT active_record_1
1707
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1708
- SQL (32.4ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00], ["updated_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00]]
1709
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00]]
1710
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1711
-  (0.0ms) rollback transaction
1712
-  (0.0ms) begin transaction
1713
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1714
-  (0.0ms) SAVEPOINT active_record_1
1715
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1716
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00], ["updated_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00]]
1717
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00]]
1718
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1719
-  (0.0ms) SAVEPOINT active_record_1
1720
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1721
- SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1722
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1723
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1724
-  (0.0ms) rollback transaction
1725
-  (0.0ms) begin transaction
1726
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1727
-  (0.0ms) SAVEPOINT active_record_1
1728
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1729
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00], ["updated_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00]]
1730
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Wed, 09 Jan 2013 17:16:13 UTC +00:00]]
1731
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1732
-  (0.0ms) SAVEPOINT active_record_1
1733
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1734
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-01-09 17:16:13.997872' WHERE "models_i18n"."id" = 1
1735
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1736
-  (0.0ms) rollback transaction
1737
-  (0.0ms) begin transaction
1738
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1739
-  (0.0ms) SAVEPOINT active_record_1
1740
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1741
- SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 09 Jan 2013 17:16:14 UTC +00:00], ["updated_at", Wed, 09 Jan 2013 17:16:14 UTC +00:00]]
1742
- SQL (0.1ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 09 Jan 2013 17:16:14 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Wed, 09 Jan 2013 17:16:14 UTC +00:00]]
1743
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1744
-  (0.0ms) rollback transaction
1745
- Connecting to database specified by database.yml
1746
- Connecting to database specified by database.yml
1747
-  (3.1ms) select sqlite_version(*)
1748
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1749
-  (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) 
1750
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1751
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1752
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1753
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1754
-  (0.0ms) SELECT version FROM "schema_migrations"
1755
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1756
- Connecting to database specified by database.yml
1757
-  (1.8ms) select sqlite_version(*)
1758
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1759
-  (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) 
1760
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1761
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1762
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1763
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1764
-  (0.1ms) SELECT version FROM "schema_migrations"
1765
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1766
- Connecting to database specified by database.yml
1767
-  (1.8ms) select sqlite_version(*)
1768
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1769
-  (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) 
1770
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1771
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1772
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1773
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1774
-  (0.0ms) SELECT version FROM "schema_migrations"
1775
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1776
-  (0.1ms) begin transaction
1777
-  (0.1ms) rollback transaction
1778
-  (0.0ms) begin transaction
1779
-  (0.0ms) rollback transaction
1780
-  (0.0ms) begin transaction
1781
-  (0.1ms) rollback transaction
1782
-  (0.1ms) begin transaction
1783
-  (0.0ms) rollback transaction
1784
-  (0.1ms) begin transaction
1785
-  (0.0ms) rollback transaction
1786
- Connecting to database specified by database.yml
1787
-  (1.9ms) select sqlite_version(*)
1788
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1789
-  (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) 
1790
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1791
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1792
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1793
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1794
-  (0.1ms) SELECT version FROM "schema_migrations"
1795
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1796
-  (0.1ms) begin transaction
1797
-  (0.1ms) rollback transaction
1798
-  (0.0ms) begin transaction
1799
-  (0.0ms) rollback transaction
1800
-  (0.0ms) begin transaction
1801
- ModelTranslation Load (1.7ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1802
-  (0.1ms) SAVEPOINT active_record_1
1803
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1804
- SQL (60.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:48:49 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:48:49 UTC +00:00]]
1805
- SQL (0.4ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00]]
1806
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1807
-  (0.1ms) rollback transaction
1808
-  (0.1ms) begin transaction
1809
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1810
-  (0.0ms) SAVEPOINT active_record_1
1811
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1812
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00]]
1813
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00]]
1814
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1815
-  (0.0ms) SAVEPOINT active_record_1
1816
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1817
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1818
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1819
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1820
-  (0.0ms) rollback transaction
1821
-  (0.1ms) begin transaction
1822
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1823
-  (0.0ms) SAVEPOINT active_record_1
1824
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1825
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00]]
1826
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:48:50 UTC +00:00]]
1827
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1828
-  (0.0ms) SAVEPOINT active_record_1
1829
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1830
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-04 15:48:50.035198' WHERE "models_i18n"."id" = 1
1831
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1832
-  (0.1ms) rollback transaction
1833
- Connecting to database specified by database.yml
1834
-  (1.8ms) select sqlite_version(*)
1835
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1836
-  (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) 
1837
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1838
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1839
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1840
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1841
-  (0.0ms) SELECT version FROM "schema_migrations"
1842
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1843
- Connecting to database specified by database.yml
1844
-  (1.8ms) select sqlite_version(*)
1845
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1846
-  (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) 
1847
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1848
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1849
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1850
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1851
-  (0.0ms) SELECT version FROM "schema_migrations"
1852
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1853
-  (0.1ms) begin transaction
1854
-  (0.1ms) rollback transaction
1855
-  (0.0ms) begin transaction
1856
-  (0.0ms) rollback transaction
1857
-  (0.0ms) begin transaction
1858
- ModelTranslation Load (1.5ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1859
-  (0.1ms) SAVEPOINT active_record_1
1860
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1861
- SQL (5.7ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00]]
1862
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00]]
1863
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1864
-  (0.1ms) rollback transaction
1865
-  (0.1ms) begin transaction
1866
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1867
-  (0.0ms) SAVEPOINT active_record_1
1868
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1869
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00]]
1870
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00]]
1871
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1872
-  (0.0ms) SAVEPOINT active_record_1
1873
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1874
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1875
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1876
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1877
-  (0.1ms) rollback transaction
1878
-  (0.1ms) begin transaction
1879
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1880
-  (0.0ms) SAVEPOINT active_record_1
1881
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1882
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00]]
1883
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:55:26 UTC +00:00]]
1884
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1885
-  (0.0ms) SAVEPOINT active_record_1
1886
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1887
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-04 15:55:26.950491' WHERE "models_i18n"."id" = 1
1888
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1889
-  (0.0ms) rollback transaction
1890
- Connecting to database specified by database.yml
1891
-  (1.8ms) select sqlite_version(*)
1892
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1893
-  (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) 
1894
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1895
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1896
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1897
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1898
-  (0.1ms) SELECT version FROM "schema_migrations"
1899
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1900
-  (0.1ms) begin transaction
1901
-  (0.1ms) rollback transaction
1902
-  (0.0ms) begin transaction
1903
-  (0.0ms) rollback transaction
1904
-  (0.0ms) begin transaction
1905
- ModelTranslation Load (1.5ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1906
-  (0.1ms) SAVEPOINT active_record_1
1907
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1908
- SQL (5.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00]]
1909
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00]]
1910
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1911
-  (0.1ms) rollback transaction
1912
-  (0.1ms) begin transaction
1913
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1914
-  (0.0ms) SAVEPOINT active_record_1
1915
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1916
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00]]
1917
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00]]
1918
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1919
-  (0.0ms) SAVEPOINT active_record_1
1920
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
1921
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
1922
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1923
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
1924
-  (0.0ms) rollback transaction
1925
-  (0.1ms) begin transaction
1926
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
1927
-  (0.0ms) SAVEPOINT active_record_1
1928
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
1929
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00]]
1930
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 15:55:39 UTC +00:00]]
1931
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1932
-  (0.0ms) SAVEPOINT active_record_1
1933
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
1934
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-04 15:55:39.639675' WHERE "models_i18n"."id" = 1
1935
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1936
-  (0.1ms) rollback transaction
1937
- Connecting to database specified by database.yml
1938
-  (1.8ms) select sqlite_version(*)
1939
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1940
-  (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) 
1941
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1942
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1943
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1944
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1945
-  (0.0ms) SELECT version FROM "schema_migrations"
1946
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1947
-  (0.1ms) begin transaction
1948
-  (0.0ms) rollback transaction
1949
-  (0.0ms) begin transaction
1950
-  (0.0ms) rollback transaction
1951
-  (0.0ms) begin transaction
1952
-  (0.1ms) rollback transaction
1953
-  (0.1ms) begin transaction
1954
-  (0.0ms) rollback transaction
1955
-  (0.1ms) begin transaction
1956
-  (0.0ms) rollback transaction
1957
- Connecting to database specified by database.yml
1958
-  (1.8ms) select sqlite_version(*)
1959
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1960
-  (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) 
1961
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1962
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1963
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1964
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1965
-  (0.1ms) SELECT version FROM "schema_migrations"
1966
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1967
-  (0.1ms) begin transaction
1968
-  (0.1ms) rollback transaction
1969
-  (0.1ms) begin transaction
1970
-  (0.0ms) rollback transaction
1971
-  (0.1ms) begin transaction
1972
-  (0.1ms) rollback transaction
1973
-  (0.1ms) begin transaction
1974
-  (0.0ms) rollback transaction
1975
-  (0.1ms) begin transaction
1976
-  (0.0ms) rollback transaction
1977
- Connecting to database specified by database.yml
1978
-  (1.8ms) select sqlite_version(*)
1979
-  (0.3ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1980
-  (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) 
1981
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
1982
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
1983
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1984
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1985
-  (0.0ms) SELECT version FROM "schema_migrations"
1986
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120831210818')
1987
-  (0.1ms) begin transaction
1988
-  (0.1ms) rollback transaction
1989
-  (0.1ms) begin transaction
1990
-  (0.0ms) rollback transaction
1991
-  (0.0ms) begin transaction
1992
-  (0.1ms) rollback transaction
1993
-  (0.1ms) begin transaction
1994
-  (0.0ms) rollback transaction
1995
-  (0.1ms) begin transaction
1996
-  (0.0ms) rollback transaction
1997
- Connecting to database specified by database.yml
1998
-  (2.2ms) select sqlite_version(*)
1999
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2000
-  (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) 
2001
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2002
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2003
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2004
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2005
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2006
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2007
-  (0.0ms) SELECT version FROM "schema_migrations"
2008
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2009
-  (0.1ms) begin transaction
2010
-  (0.1ms) rollback transaction
2011
-  (0.1ms) begin transaction
2012
-  (0.1ms) rollback transaction
2013
-  (0.1ms) begin transaction
2014
- ModelTranslation Load (1.5ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2015
-  (0.1ms) rollback transaction
2016
-  (0.1ms) begin transaction
2017
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2018
-  (0.0ms) rollback transaction
2019
-  (0.1ms) begin transaction
2020
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2021
-  (0.0ms) rollback transaction
2022
- Connecting to database specified by database.yml
2023
-  (1.8ms) select sqlite_version(*)
2024
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2025
-  (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) 
2026
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2027
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2028
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2029
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2030
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2031
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2032
-  (0.0ms) SELECT version FROM "schema_migrations"
2033
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2034
-  (0.1ms) begin transaction
2035
-  (0.1ms) rollback transaction
2036
-  (0.0ms) begin transaction
2037
-  (0.0ms) rollback transaction
2038
-  (0.4ms) begin transaction
2039
- ModelTranslation Load (1.5ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2040
-  (0.1ms) rollback transaction
2041
-  (0.1ms) begin transaction
2042
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2043
-  (0.0ms) rollback transaction
2044
-  (0.1ms) begin transaction
2045
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2046
-  (0.0ms) rollback transaction
2047
- Connecting to database specified by database.yml
2048
-  (1.8ms) select sqlite_version(*)
2049
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2050
-  (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) 
2051
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2052
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2053
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2054
-  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
2055
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2056
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2057
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2058
-  (0.0ms) SELECT version FROM "schema_migrations"
2059
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2060
-  (0.1ms) begin transaction
2061
-  (0.1ms) rollback transaction
2062
-  (0.0ms) begin transaction
2063
-  (0.0ms) rollback transaction
2064
-  (0.1ms) begin transaction
2065
- ModelTranslation Load (1.4ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2066
-  (0.1ms) SAVEPOINT active_record_1
2067
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2068
- SQL (5.6ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00]]
2069
- SQL (0.4ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00]]
2070
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2071
-  (0.1ms) rollback transaction
2072
-  (0.1ms) begin transaction
2073
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2074
-  (0.0ms) SAVEPOINT active_record_1
2075
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2076
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00]]
2077
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00]]
2078
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2079
-  (0.0ms) SAVEPOINT active_record_1
2080
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
2081
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
2082
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2083
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
2084
-  (0.0ms) rollback transaction
2085
-  (0.1ms) begin transaction
2086
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2087
-  (0.0ms) SAVEPOINT active_record_1
2088
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2089
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00]]
2090
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 16:22:53 UTC +00:00]]
2091
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2092
-  (0.0ms) SAVEPOINT active_record_1
2093
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
2094
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-04 16:22:53.173782' WHERE "models_i18n"."id" = 1
2095
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2096
-  (0.1ms) rollback transaction
2097
- Connecting to database specified by database.yml
2098
-  (2.0ms) select sqlite_version(*)
2099
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2100
-  (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) 
2101
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2102
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2103
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2104
-  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
2105
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2106
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2107
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2108
-  (0.0ms) SELECT version FROM "schema_migrations"
2109
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2110
-  (0.1ms) begin transaction
2111
-  (0.1ms) rollback transaction
2112
-  (0.0ms) begin transaction
2113
-  (0.1ms) rollback transaction
2114
-  (0.1ms) begin transaction
2115
- ModelTranslation Load (1.5ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2116
-  (0.1ms) SAVEPOINT active_record_1
2117
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2118
- SQL (29.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00]]
2119
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00]]
2120
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2121
-  (0.1ms) rollback transaction
2122
-  (0.1ms) begin transaction
2123
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2124
-  (0.0ms) SAVEPOINT active_record_1
2125
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2126
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00]]
2127
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00]]
2128
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2129
-  (0.0ms) SAVEPOINT active_record_1
2130
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
2131
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
2132
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2133
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
2134
-  (0.1ms) rollback transaction
2135
-  (0.1ms) begin transaction
2136
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2137
-  (0.0ms) SAVEPOINT active_record_1
2138
- ModelTranslation Exists (0.3ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2139
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00]]
2140
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Thu, 04 Apr 2013 16:41:06 UTC +00:00]]
2141
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2142
-  (0.0ms) SAVEPOINT active_record_1
2143
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
2144
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-04 16:41:06.863804' WHERE "models_i18n"."id" = 1
2145
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2146
-  (0.1ms) rollback transaction
2147
- Connecting to database specified by database.yml
2148
-  (1.8ms) select sqlite_version(*)
2149
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2150
-  (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) 
2151
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2152
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2153
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2154
-  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
2155
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2156
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2157
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2158
-  (0.0ms) SELECT version FROM "schema_migrations"
2159
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2160
-  (0.1ms) begin transaction
2161
-  (0.1ms) rollback transaction
2162
-  (0.0ms) begin transaction
2163
-  (0.0ms) rollback transaction
2164
-  (0.1ms) begin transaction
2165
- ModelTranslation Load (2.5ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2166
-  (0.1ms) SAVEPOINT active_record_1
2167
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2168
- SQL (57.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00]]
2169
- SQL (0.5ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00]]
2170
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2171
-  (0.1ms) rollback transaction
2172
-  (0.1ms) begin transaction
2173
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2174
-  (0.0ms) SAVEPOINT active_record_1
2175
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2176
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00]]
2177
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00]]
2178
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2179
-  (0.0ms) SAVEPOINT active_record_1
2180
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
2181
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
2182
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2183
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
2184
-  (0.0ms) rollback transaction
2185
-  (0.1ms) begin transaction
2186
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2187
-  (0.0ms) SAVEPOINT active_record_1
2188
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2189
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00]]
2190
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:26:52 UTC +00:00]]
2191
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2192
-  (0.0ms) SAVEPOINT active_record_1
2193
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
2194
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-05 12:26:52.966062' WHERE "models_i18n"."id" = 1
2195
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2196
-  (0.1ms) rollback transaction
2197
- Connecting to database specified by database.yml
2198
-  (1.9ms) select sqlite_version(*)
2199
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2200
-  (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) 
2201
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2202
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2203
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2204
-  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
2205
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2206
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2207
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2208
-  (0.0ms) SELECT version FROM "schema_migrations"
2209
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2210
-  (0.1ms) begin transaction
2211
-  (0.1ms) rollback transaction
2212
-  (0.0ms) begin transaction
2213
-  (0.1ms) rollback transaction
2214
-  (0.1ms) begin transaction
2215
- ModelTranslation Load (1.6ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2216
-  (0.1ms) SAVEPOINT active_record_1
2217
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2218
- SQL (5.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00]]
2219
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00]]
2220
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2221
-  (0.1ms) rollback transaction
2222
-  (0.1ms) begin transaction
2223
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2224
-  (0.0ms) SAVEPOINT active_record_1
2225
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2226
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00]]
2227
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00]]
2228
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2229
-  (0.0ms) SAVEPOINT active_record_1
2230
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
2231
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
2232
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2233
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
2234
-  (0.0ms) rollback transaction
2235
-  (0.0ms) begin transaction
2236
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2237
-  (0.0ms) SAVEPOINT active_record_1
2238
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2239
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00]]
2240
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:33:07 UTC +00:00]]
2241
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2242
-  (0.0ms) SAVEPOINT active_record_1
2243
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
2244
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-05 12:33:07.465901' WHERE "models_i18n"."id" = 1
2245
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2246
-  (0.1ms) rollback transaction
2247
- Connecting to database specified by database.yml
2248
-  (1.8ms) select sqlite_version(*)
2249
-  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2250
-  (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) 
2251
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2252
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2253
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2254
-  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
2255
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2256
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2257
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2258
-  (0.0ms) SELECT version FROM "schema_migrations"
2259
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2260
-  (0.1ms) begin transaction
2261
-  (0.1ms) rollback transaction
2262
-  (0.1ms) begin transaction
2263
-  (0.0ms) rollback transaction
2264
-  (0.1ms) begin transaction
2265
- ModelTranslation Load (1.5ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2266
-  (0.1ms) SAVEPOINT active_record_1
2267
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2268
- SQL (5.6ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00]]
2269
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00]]
2270
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2271
-  (0.1ms) rollback transaction
2272
-  (0.1ms) begin transaction
2273
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2274
-  (0.0ms) SAVEPOINT active_record_1
2275
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2276
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00]]
2277
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00]]
2278
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2279
-  (0.0ms) SAVEPOINT active_record_1
2280
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
2281
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
2282
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2283
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
2284
-  (0.0ms) rollback transaction
2285
-  (0.1ms) begin transaction
2286
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2287
-  (0.0ms) SAVEPOINT active_record_1
2288
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2289
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00], ["updated_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00]]
2290
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Fri, 05 Apr 2013 12:40:36 UTC +00:00]]
2291
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2292
-  (0.0ms) SAVEPOINT active_record_1
2293
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
2294
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-05 12:40:36.749030' WHERE "models_i18n"."id" = 1
2295
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2296
-  (0.1ms) rollback transaction
2297
- Connecting to database specified by database.yml
2298
- Connecting to database specified by database.yml
2299
-  (3.2ms) select sqlite_version(*)
2300
-  (0.3ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2301
-  (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) 
2302
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2303
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2304
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2305
-  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
2306
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2307
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2308
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2309
-  (0.0ms) SELECT version FROM "schema_migrations"
2310
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2311
-  (0.1ms) begin transaction
2312
-  (0.1ms) rollback transaction
2313
-  (0.1ms) begin transaction
2314
-  (0.0ms) rollback transaction
2315
-  (0.1ms) begin transaction
2316
- ModelTranslation Load (19.9ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2317
-  (0.1ms) SAVEPOINT active_record_1
2318
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2319
- SQL (48.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00], ["updated_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00]]
2320
- SQL (0.5ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00]]
2321
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2322
-  (0.1ms) rollback transaction
2323
-  (0.1ms) begin transaction
2324
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2325
-  (0.0ms) SAVEPOINT active_record_1
2326
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2327
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00], ["updated_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00]]
2328
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00]]
2329
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2330
-  (0.0ms) SAVEPOINT active_record_1
2331
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
2332
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
2333
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2334
- ModelTranslation Load (0.2ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
2335
-  (0.1ms) rollback transaction
2336
-  (0.0ms) begin transaction
2337
- ModelTranslation Load (0.2ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2338
-  (0.1ms) SAVEPOINT active_record_1
2339
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2340
- SQL (0.3ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00], ["updated_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00]]
2341
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 06 Apr 2013 18:10:53 UTC +00:00]]
2342
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2343
-  (0.0ms) SAVEPOINT active_record_1
2344
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
2345
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-06 18:10:53.988752' WHERE "models_i18n"."id" = 1
2346
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2347
-  (0.1ms) rollback transaction
2348
- Connecting to database specified by database.yml
2349
-  (1.8ms) select sqlite_version(*)
2350
-  (0.3ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2351
-  (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) 
2352
-  (0.1ms) CREATE INDEX "index_models_i18n_on_created_at" ON "models_i18n" ("created_at")
2353
-  (0.1ms) CREATE INDEX "index_models_i18n_on_locale" ON "models_i18n" ("locale")
2354
-  (0.1ms) CREATE INDEX "index_models_i18n_on_model_id" ON "models_i18n" ("model_id")
2355
-  (0.1ms) CREATE INDEX "index_models_i18n_on_name" ON "models_i18n" ("name")
2356
-  (0.1ms) CREATE INDEX "index_models_i18n_on_updated_at" ON "models_i18n" ("updated_at")
2357
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2358
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2359
-  (0.0ms) SELECT version FROM "schema_migrations"
2360
-  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130404161713')
2361
-  (0.1ms) begin transaction
2362
-  (0.1ms) rollback transaction
2363
-  (0.1ms) begin transaction
2364
-  (0.1ms) rollback transaction
2365
-  (0.1ms) begin transaction
2366
- ModelTranslation Load (1.6ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2367
-  (0.1ms) SAVEPOINT active_record_1
2368
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2369
- SQL (5.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00], ["updated_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00]]
2370
- SQL (0.3ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00]]
2371
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2372
-  (0.1ms) rollback transaction
2373
-  (0.0ms) begin transaction
2374
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2375
-  (0.0ms) SAVEPOINT active_record_1
2376
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2377
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00], ["updated_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00]]
2378
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 06 Apr 2013 18:30:29 UTC +00:00]]
2379
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2380
-  (0.0ms) SAVEPOINT active_record_1
2381
- SQL (0.1ms) DELETE FROM "models_i18n" WHERE "models_i18n"."id" = ? [["id", 1]]
2382
- SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
2383
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2384
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" = 1 LIMIT 1
2385
-  (0.1ms) rollback transaction
2386
-  (0.0ms) begin transaction
2387
- ModelTranslation Load (0.1ms) SELECT "models_i18n".* FROM "models_i18n" WHERE "models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en' LIMIT 1
2388
-  (0.0ms) SAVEPOINT active_record_1
2389
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" IS NULL AND "models_i18n"."locale" = 'en') LIMIT 1
2390
- SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 06 Apr 2013 18:30:30 UTC +00:00], ["updated_at", Sat, 06 Apr 2013 18:30:30 UTC +00:00]]
2391
- SQL (0.2ms) INSERT INTO "models_i18n" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 06 Apr 2013 18:30:30 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Sat, 06 Apr 2013 18:30:30 UTC +00:00]]
2392
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2393
-  (0.0ms) SAVEPOINT active_record_1
2394
- ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "models_i18n" WHERE ("models_i18n"."model_id" = 1 AND "models_i18n"."id" != 1 AND "models_i18n"."locale" = 'en') LIMIT 1
2395
-  (0.1ms) UPDATE "models_i18n" SET "name" = 'new name', "updated_at" = '2013-04-06 18:30:30.012902' WHERE "models_i18n"."id" = 1
2396
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2397
-  (0.1ms) rollback transaction