weeler 1.4.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +13 -3
  3. data/CHANGELOG.md +24 -0
  4. data/Rakefile +4 -0
  5. data/app/controllers/weeler/translations_controller.rb +13 -7
  6. data/app/views/weeler/translations/_translation.html.haml +2 -2
  7. data/app/views/weeler/translations/edit.html.haml +3 -3
  8. data/app/views/weeler/translations/new.html.haml +2 -2
  9. data/app/views/weeler/translations/usage_stats.html.haml +10 -4
  10. data/lib/generators/weeler/templates/migrations/create_weeler_locks.rb +14 -0
  11. data/lib/generators/weeler/templates/migrations/create_weeler_translation_stats.rb +11 -0
  12. data/lib/i18n/backend/weeler.rb +15 -6
  13. data/lib/i18n/backend/weeler/lock.rb +78 -0
  14. data/lib/i18n/backend/weeler/translation_stat.rb +25 -0
  15. data/lib/i18n/backend/weeler/usage_logger.rb +17 -1
  16. data/lib/weeler/action_controller/acts/restful.rb +1 -1
  17. data/lib/weeler/engine.rb +1 -1
  18. data/lib/weeler/version.rb +2 -2
  19. data/spec/.gitignore +21 -0
  20. data/spec/dummy/config/database.yml +2 -24
  21. data/spec/dummy/db/migrate/20160330161101_create_weeler_locks.rb +14 -0
  22. data/spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb +11 -0
  23. data/spec/dummy/db/schema.rb +31 -11
  24. data/spec/dummy/log/development.log +780 -0
  25. data/spec/spec_helper.rb +1 -1
  26. data/spec/weeler/action_controller/acts/restful_spec.rb +1 -1
  27. data/spec/weeler/i18n/backend/weeler/lock_spec.rb +89 -0
  28. data/spec/weeler/i18n/backend/weeler/usage_logger_spec.rb +34 -0
  29. data/spec/weeler/i18n/backend/weeler_spec.rb +22 -0
  30. data/weeler.gemspec +2 -2
  31. metadata +18 -8
  32. data/spec/dummy/db/development.sqlite3 +0 -0
  33. data/spec/dummy/db/test.sqlite3 +0 -0
@@ -0,0 +1,14 @@
1
+ class CreateWeelerLocks < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :weeler_locks do |t|
4
+ t.string :name, :limit => 40
5
+ t.timestamps
6
+ end
7
+ add_index :weeler_locks, :name, :unique => true
8
+ end
9
+
10
+ def self.down
11
+ remove_index :weeler_locks, :column => :name
12
+ drop_table :weeler_locks
13
+ end
14
+ end
@@ -0,0 +1,11 @@
1
+ class CreateWeelerTranslationStats < ActiveRecord::Migration
2
+ def change
3
+ create_table :weeler_translation_stats do |t|
4
+ t.string :key
5
+ t.integer :usage_count, default: 0
6
+
7
+ t.timestamps
8
+ end
9
+ add_index :weeler_translation_stats, :key
10
+ end
11
+ end
@@ -11,7 +11,10 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140726151210) do
14
+ ActiveRecord::Schema.define(version: 20160330192005) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
15
18
 
16
19
  create_table "posts", force: :cascade do |t|
17
20
  t.string "title"
@@ -31,7 +34,7 @@ ActiveRecord::Schema.define(version: 20140726151210) do
31
34
  t.datetime "updated_at"
32
35
  end
33
36
 
34
- add_index "settings", ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true
37
+ add_index "settings", ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true, using: :btree
35
38
 
36
39
  create_table "translations", force: :cascade do |t|
37
40
  t.integer "post_id"
@@ -42,20 +45,28 @@ ActiveRecord::Schema.define(version: 20140726151210) do
42
45
  t.datetime "updated_at"
43
46
  end
44
47
 
45
- add_index "translations", ["post_id"], name: "index_translations_on_post_id"
48
+ add_index "translations", ["post_id"], name: "index_translations_on_post_id", using: :btree
49
+
50
+ create_table "weeler_locks", force: :cascade do |t|
51
+ t.string "name", limit: 40
52
+ t.datetime "created_at"
53
+ t.datetime "updated_at"
54
+ end
55
+
56
+ add_index "weeler_locks", ["name"], name: "index_weeler_locks_on_name", unique: true, using: :btree
46
57
 
47
58
  create_table "weeler_seo_translations", force: :cascade do |t|
48
59
  t.integer "weeler_seo_id", null: false
49
60
  t.string "locale", null: false
50
- t.datetime "created_at"
51
- t.datetime "updated_at"
61
+ t.datetime "created_at", null: false
62
+ t.datetime "updated_at", null: false
52
63
  t.string "title"
53
64
  t.text "description"
54
65
  t.text "keywords"
55
66
  end
56
67
 
57
- add_index "weeler_seo_translations", ["locale"], name: "index_weeler_seo_translations_on_locale"
58
- add_index "weeler_seo_translations", ["weeler_seo_id"], name: "index_weeler_seo_translations_on_weeler_seo_id"
68
+ add_index "weeler_seo_translations", ["locale"], name: "index_weeler_seo_translations_on_locale", using: :btree
69
+ add_index "weeler_seo_translations", ["weeler_seo_id"], name: "index_weeler_seo_translations_on_weeler_seo_id", using: :btree
59
70
 
60
71
  create_table "weeler_seos", force: :cascade do |t|
61
72
  t.string "title"
@@ -68,8 +79,17 @@ ActiveRecord::Schema.define(version: 20140726151210) do
68
79
  t.datetime "updated_at"
69
80
  end
70
81
 
71
- add_index "weeler_seos", ["section"], name: "index_weeler_seos_on_section"
72
- add_index "weeler_seos", ["seoable_type", "seoable_id"], name: "index_weeler_seos_on_seoable_type_and_seoable_id"
82
+ add_index "weeler_seos", ["section"], name: "index_weeler_seos_on_section", using: :btree
83
+ add_index "weeler_seos", ["seoable_type", "seoable_id"], name: "index_weeler_seos_on_seoable_type_and_seoable_id", using: :btree
84
+
85
+ create_table "weeler_translation_stats", force: :cascade do |t|
86
+ t.string "key"
87
+ t.integer "usage_count", default: 0
88
+ t.datetime "created_at"
89
+ t.datetime "updated_at"
90
+ end
91
+
92
+ add_index "weeler_translation_stats", ["key"], name: "index_weeler_translation_stats_on_key", using: :btree
73
93
 
74
94
  create_table "weeler_translations", force: :cascade do |t|
75
95
  t.string "locale"
@@ -81,7 +101,7 @@ ActiveRecord::Schema.define(version: 20140726151210) do
81
101
  t.datetime "updated_at"
82
102
  end
83
103
 
84
- add_index "weeler_translations", ["key"], name: "index_weeler_translations_on_key"
85
- add_index "weeler_translations", ["locale"], name: "index_weeler_translations_on_locale"
104
+ add_index "weeler_translations", ["key"], name: "index_weeler_translations_on_key", using: :btree
105
+ add_index "weeler_translations", ["locale"], name: "index_weeler_translations_on_locale", using: :btree
86
106
 
87
107
  end
@@ -238,3 +238,783 @@ Migrating to CreatePosts (20140718103237)
238
238
 
239
239
  Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
240
240
  Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT 1
241
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
242
+
243
+ You can opt into the new behavior and remove this warning by setting:
244
+
245
+ config.active_record.raise_in_transactional_callbacks = true
246
+
247
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
248
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
249
+
250
+ You can opt into the new behavior and remove this warning by setting:
251
+
252
+ config.active_record.raise_in_transactional_callbacks = true
253
+
254
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
255
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
256
+  (0.5ms) select sqlite_version(*)
257
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
258
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
+ Migrating to CreateWeelerSeos (20140123083704)
260
+  (0.0ms) begin transaction
261
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
262
+  (0.3ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "keywords" text, "section" varchar, "seoable_id" integer, "seoable_type" varchar, "created_at" datetime, "updated_at" datetime)
263
+  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
264
+  (0.1ms) SELECT sql
265
+ FROM sqlite_master
266
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
267
+ UNION ALL
268
+ SELECT sql
269
+ FROM sqlite_temp_master
270
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
271
+
272
+  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
273
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
274
+  (0.6ms) commit transaction
275
+ Migrating to CreateWeelerSettings (20140123083705)
276
+  (0.0ms) begin transaction
277
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
278
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
279
+  (0.3ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
280
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
281
+  (0.8ms) commit transaction
282
+ Migrating to CreateWeelerTranslations (20140123083706)
283
+  (0.0ms) begin transaction
284
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
285
+  (0.2ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar, "key" varchar, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
286
+  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
287
+  (0.0ms) SELECT sql
288
+ FROM sqlite_master
289
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
290
+ UNION ALL
291
+ SELECT sql
292
+ FROM sqlite_temp_master
293
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
294
+
295
+  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
296
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
297
+  (0.4ms) commit transaction
298
+ Migrating to TranslateWeelerSeos (20140123083707)
299
+  (0.0ms) begin transaction
300
+  (0.4ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
301
+  (0.5ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar
302
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
303
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
304
+ Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
305
+  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
306
+  (0.0ms)  SELECT sql
307
+ FROM sqlite_master
308
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
309
+ UNION ALL
310
+ SELECT sql
311
+ FROM sqlite_temp_master
312
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
313
+ 
314
+  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
315
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
316
+  (0.5ms) commit transaction
317
+ Migrating to CreatePosts (20140718103237)
318
+  (0.0ms) begin transaction
319
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
320
+  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
321
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
322
+  (0.5ms) commit transaction
323
+ Migrating to CreateTranslations (20140726151210)
324
+  (0.0ms) begin transaction
325
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
326
+  (0.2ms) CREATE TABLE "translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "locale" varchar, "title" varchar, "body" text, "created_at" datetime, "updated_at" datetime)
327
+  (0.1ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
328
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
329
+  (0.5ms) commit transaction
330
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
331
+  (0.1ms)  SELECT sql
332
+ FROM sqlite_master
333
+ WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
334
+ UNION ALL
335
+ SELECT sql
336
+ FROM sqlite_temp_master
337
+ WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
338
+ 
339
+  (0.1ms) SELECT sql
340
+ FROM sqlite_master
341
+ WHERE name='index_translations_on_post_id' AND type='index'
342
+ UNION ALL
343
+ SELECT sql
344
+ FROM sqlite_temp_master
345
+ WHERE name='index_translations_on_post_id' AND type='index'
346
+
347
+  (0.1ms)  SELECT sql
348
+ FROM sqlite_master
349
+ WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
350
+ UNION ALL
351
+ SELECT sql
352
+ FROM sqlite_temp_master
353
+ WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
354
+ 
355
+  (0.1ms) SELECT sql
356
+ FROM sqlite_master
357
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
358
+ UNION ALL
359
+ SELECT sql
360
+ FROM sqlite_temp_master
361
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
362
+
363
+  (0.1ms)  SELECT sql
364
+ FROM sqlite_master
365
+ WHERE name='index_weeler_seos_on_section' AND type='index'
366
+ UNION ALL
367
+ SELECT sql
368
+ FROM sqlite_temp_master
369
+ WHERE name='index_weeler_seos_on_section' AND type='index'
370
+ 
371
+  (0.1ms) SELECT sql
372
+ FROM sqlite_master
373
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
374
+ UNION ALL
375
+ SELECT sql
376
+ FROM sqlite_temp_master
377
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
378
+
379
+  (0.1ms)  SELECT sql
380
+ FROM sqlite_master
381
+ WHERE name='index_weeler_translations_on_key' AND type='index'
382
+ UNION ALL
383
+ SELECT sql
384
+ FROM sqlite_temp_master
385
+ WHERE name='index_weeler_translations_on_key' AND type='index'
386
+ 
387
+  (0.1ms) SELECT sql
388
+ FROM sqlite_master
389
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
390
+ UNION ALL
391
+ SELECT sql
392
+ FROM sqlite_temp_master
393
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
394
+
395
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
396
+
397
+ You can opt into the new behavior and remove this warning by setting:
398
+
399
+ config.active_record.raise_in_transactional_callbacks = true
400
+
401
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
402
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
403
+
404
+ You can opt into the new behavior and remove this warning by setting:
405
+
406
+ config.active_record.raise_in_transactional_callbacks = true
407
+
408
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
409
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
410
+  (0.1ms) select sqlite_version(*)
411
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
412
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
413
+ Migrating to CreateWeelerSeos (20140123083704)
414
+  (0.1ms) begin transaction
415
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
416
+  (0.4ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "keywords" text, "section" varchar, "seoable_id" integer, "seoable_type" varchar, "created_at" datetime, "updated_at" datetime)
417
+  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
418
+  (0.1ms) SELECT sql
419
+ FROM sqlite_master
420
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
421
+ UNION ALL
422
+ SELECT sql
423
+ FROM sqlite_temp_master
424
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
425
+
426
+  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
427
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
428
+  (0.7ms) commit transaction
429
+ Migrating to CreateWeelerSettings (20140123083705)
430
+  (0.0ms) begin transaction
431
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
432
+  (0.2ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
433
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
434
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
435
+  (0.7ms) commit transaction
436
+ Migrating to CreateWeelerTranslations (20140123083706)
437
+  (0.0ms) begin transaction
438
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
439
+  (0.3ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar, "key" varchar, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
440
+  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
441
+  (0.0ms) SELECT sql
442
+ FROM sqlite_master
443
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
444
+ UNION ALL
445
+ SELECT sql
446
+ FROM sqlite_temp_master
447
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
448
+
449
+  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
450
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
451
+  (0.4ms) commit transaction
452
+ Migrating to TranslateWeelerSeos (20140123083707)
453
+  (0.0ms) begin transaction
454
+  (0.3ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
455
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar
456
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
457
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
458
+ Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
459
+  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
460
+  (0.0ms)  SELECT sql
461
+ FROM sqlite_master
462
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
463
+ UNION ALL
464
+ SELECT sql
465
+ FROM sqlite_temp_master
466
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
467
+ 
468
+  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
469
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
470
+  (0.5ms) commit transaction
471
+ Migrating to CreatePosts (20140718103237)
472
+  (0.1ms) begin transaction
473
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
474
+  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
475
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
476
+  (0.5ms) commit transaction
477
+ Migrating to CreateTranslations (20140726151210)
478
+  (0.0ms) begin transaction
479
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
480
+  (0.2ms) CREATE TABLE "translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "locale" varchar, "title" varchar, "body" text, "created_at" datetime, "updated_at" datetime)
481
+  (0.1ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
482
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
483
+  (0.4ms) commit transaction
484
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
485
+  (0.1ms)  SELECT sql
486
+ FROM sqlite_master
487
+ WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
488
+ UNION ALL
489
+ SELECT sql
490
+ FROM sqlite_temp_master
491
+ WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
492
+ 
493
+  (0.1ms) SELECT sql
494
+ FROM sqlite_master
495
+ WHERE name='index_translations_on_post_id' AND type='index'
496
+ UNION ALL
497
+ SELECT sql
498
+ FROM sqlite_temp_master
499
+ WHERE name='index_translations_on_post_id' AND type='index'
500
+
501
+  (0.1ms)  SELECT sql
502
+ FROM sqlite_master
503
+ WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
504
+ UNION ALL
505
+ SELECT sql
506
+ FROM sqlite_temp_master
507
+ WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
508
+ 
509
+  (0.1ms) SELECT sql
510
+ FROM sqlite_master
511
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
512
+ UNION ALL
513
+ SELECT sql
514
+ FROM sqlite_temp_master
515
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
516
+
517
+  (0.1ms)  SELECT sql
518
+ FROM sqlite_master
519
+ WHERE name='index_weeler_seos_on_section' AND type='index'
520
+ UNION ALL
521
+ SELECT sql
522
+ FROM sqlite_temp_master
523
+ WHERE name='index_weeler_seos_on_section' AND type='index'
524
+ 
525
+  (0.1ms) SELECT sql
526
+ FROM sqlite_master
527
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
528
+ UNION ALL
529
+ SELECT sql
530
+ FROM sqlite_temp_master
531
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
532
+
533
+  (0.1ms)  SELECT sql
534
+ FROM sqlite_master
535
+ WHERE name='index_weeler_translations_on_key' AND type='index'
536
+ UNION ALL
537
+ SELECT sql
538
+ FROM sqlite_temp_master
539
+ WHERE name='index_weeler_translations_on_key' AND type='index'
540
+ 
541
+  (0.1ms) SELECT sql
542
+ FROM sqlite_master
543
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
544
+ UNION ALL
545
+ SELECT sql
546
+ FROM sqlite_temp_master
547
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
548
+
549
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
550
+
551
+ You can opt into the new behavior and remove this warning by setting:
552
+
553
+ config.active_record.raise_in_transactional_callbacks = true
554
+
555
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
556
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
557
+
558
+ You can opt into the new behavior and remove this warning by setting:
559
+
560
+ config.active_record.raise_in_transactional_callbacks = true
561
+
562
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
563
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
564
+  (0.1ms) select sqlite_version(*)
565
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
566
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
567
+ Migrating to CreateWeelerSeos (20140123083704)
568
+  (0.0ms) begin transaction
569
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
570
+  (0.3ms) CREATE TABLE "weeler_seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "keywords" text, "section" varchar, "seoable_id" integer, "seoable_type" varchar, "created_at" datetime, "updated_at" datetime)
571
+  (0.1ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
572
+  (0.1ms) SELECT sql
573
+ FROM sqlite_master
574
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
575
+ UNION ALL
576
+ SELECT sql
577
+ FROM sqlite_temp_master
578
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
579
+
580
+  (0.1ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
581
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083704"]]
582
+  (0.6ms) commit transaction
583
+ Migrating to CreateWeelerSettings (20140123083705)
584
+  (0.0ms) begin transaction
585
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
586
+  (0.3ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) 
587
+  (0.3ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
588
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083705"]]
589
+  (0.7ms) commit transaction
590
+ Migrating to CreateWeelerTranslations (20140123083706)
591
+  (0.0ms) begin transaction
592
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
593
+  (0.3ms) CREATE TABLE "weeler_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "locale" varchar, "key" varchar, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)
594
+  (0.1ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
595
+  (0.0ms) SELECT sql
596
+ FROM sqlite_master
597
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
598
+ UNION ALL
599
+ SELECT sql
600
+ FROM sqlite_temp_master
601
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
602
+
603
+  (0.1ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
604
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083706"]]
605
+  (0.6ms) commit transaction
606
+ Migrating to TranslateWeelerSeos (20140123083707)
607
+  (0.0ms) begin transaction
608
+  (0.2ms) CREATE TABLE "weeler_seo_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weeler_seo_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
609
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "title" varchar
610
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
611
+  (0.1ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
612
+ Weeler::Seo Load (0.1ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
613
+  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
614
+  (0.1ms)  SELECT sql
615
+ FROM sqlite_master
616
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
617
+ UNION ALL
618
+ SELECT sql
619
+ FROM sqlite_temp_master
620
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
621
+ 
622
+  (0.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
623
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123083707"]]
624
+  (0.5ms) commit transaction
625
+ Migrating to CreatePosts (20140718103237)
626
+  (0.0ms) begin transaction
627
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
628
+  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)
629
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718103237"]]
630
+  (0.5ms) commit transaction
631
+ Migrating to CreateTranslations (20140726151210)
632
+  (0.1ms) begin transaction
633
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
634
+  (0.3ms) CREATE TABLE "translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "locale" varchar, "title" varchar, "body" text, "created_at" datetime, "updated_at" datetime)
635
+  (0.1ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
636
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140726151210"]]
637
+  (1.3ms) commit transaction
638
+ Migrating to CreateWeelerLocks (20160330161101)
639
+  (0.0ms) begin transaction
640
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20160330161101_create_weeler_locks.rb:5)
641
+  (0.2ms) CREATE TABLE "weeler_locks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(40), "created_at" datetime, "updated_at" datetime) 
642
+  (0.3ms) CREATE UNIQUE INDEX "index_weeler_locks_on_name" ON "weeler_locks" ("name")
643
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160330161101"]]
644
+  (1.6ms) commit transaction
645
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
646
+  (0.1ms) SELECT sql
647
+ FROM sqlite_master
648
+ WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
649
+ UNION ALL
650
+ SELECT sql
651
+ FROM sqlite_temp_master
652
+ WHERE name='index_settings_on_thing_type_and_thing_id_and_var' AND type='index'
653
+
654
+  (0.1ms)  SELECT sql
655
+ FROM sqlite_master
656
+ WHERE name='index_translations_on_post_id' AND type='index'
657
+ UNION ALL
658
+ SELECT sql
659
+ FROM sqlite_temp_master
660
+ WHERE name='index_translations_on_post_id' AND type='index'
661
+ 
662
+  (0.1ms) SELECT sql
663
+ FROM sqlite_master
664
+ WHERE name='index_weeler_locks_on_name' AND type='index'
665
+ UNION ALL
666
+ SELECT sql
667
+ FROM sqlite_temp_master
668
+ WHERE name='index_weeler_locks_on_name' AND type='index'
669
+
670
+  (0.1ms)  SELECT sql
671
+ FROM sqlite_master
672
+ WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
673
+ UNION ALL
674
+ SELECT sql
675
+ FROM sqlite_temp_master
676
+ WHERE name='index_weeler_seo_translations_on_locale' AND type='index'
677
+ 
678
+  (0.1ms) SELECT sql
679
+ FROM sqlite_master
680
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
681
+ UNION ALL
682
+ SELECT sql
683
+ FROM sqlite_temp_master
684
+ WHERE name='index_weeler_seo_translations_on_weeler_seo_id' AND type='index'
685
+
686
+  (0.1ms)  SELECT sql
687
+ FROM sqlite_master
688
+ WHERE name='index_weeler_seos_on_section' AND type='index'
689
+ UNION ALL
690
+ SELECT sql
691
+ FROM sqlite_temp_master
692
+ WHERE name='index_weeler_seos_on_section' AND type='index'
693
+ 
694
+  (0.1ms) SELECT sql
695
+ FROM sqlite_master
696
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
697
+ UNION ALL
698
+ SELECT sql
699
+ FROM sqlite_temp_master
700
+ WHERE name='index_weeler_seos_on_seoable_type_and_seoable_id' AND type='index'
701
+
702
+  (0.1ms)  SELECT sql
703
+ FROM sqlite_master
704
+ WHERE name='index_weeler_translations_on_key' AND type='index'
705
+ UNION ALL
706
+ SELECT sql
707
+ FROM sqlite_temp_master
708
+ WHERE name='index_weeler_translations_on_key' AND type='index'
709
+ 
710
+  (0.1ms) SELECT sql
711
+ FROM sqlite_master
712
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
713
+ UNION ALL
714
+ SELECT sql
715
+ FROM sqlite_temp_master
716
+ WHERE name='index_weeler_translations_on_locale' AND type='index'
717
+
718
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
719
+
720
+ You can opt into the new behavior and remove this warning by setting:
721
+
722
+ config.active_record.raise_in_transactional_callbacks = true
723
+
724
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
725
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
726
+
727
+ You can opt into the new behavior and remove this warning by setting:
728
+
729
+ config.active_record.raise_in_transactional_callbacks = true
730
+
731
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
732
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
733
+
734
+ You can opt into the new behavior and remove this warning by setting:
735
+
736
+ config.active_record.raise_in_transactional_callbacks = true
737
+
738
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
739
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
740
+
741
+ You can opt into the new behavior and remove this warning by setting:
742
+
743
+ config.active_record.raise_in_transactional_callbacks = true
744
+
745
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
746
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
747
+
748
+ You can opt into the new behavior and remove this warning by setting:
749
+
750
+ config.active_record.raise_in_transactional_callbacks = true
751
+
752
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
753
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
754
+
755
+ You can opt into the new behavior and remove this warning by setting:
756
+
757
+ config.active_record.raise_in_transactional_callbacks = true
758
+
759
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
760
+  (14.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
761
+  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
762
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
763
+ Migrating to CreateWeelerSeos (20140123083704)
764
+  (0.1ms) BEGIN
765
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083704_create_weeler_seos.rb:10)
766
+  (6.4ms) CREATE TABLE "weeler_seos" ("id" serial primary key, "title" character varying, "description" text, "keywords" text, "section" character varying, "seoable_id" integer, "seoable_type" character varying, "created_at" timestamp, "updated_at" timestamp) 
767
+  (1.0ms) CREATE INDEX "index_weeler_seos_on_seoable_type_and_seoable_id" ON "weeler_seos" ("seoable_type", "seoable_id")
768
+  (0.9ms) CREATE INDEX "index_weeler_seos_on_section" ON "weeler_seos" ("section")
769
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083704"]]
770
+  (0.6ms) COMMIT
771
+ Migrating to CreateWeelerSettings (20140123083705)
772
+  (0.3ms) BEGIN
773
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083705_create_weeler_settings.rb:8)
774
+  (3.9ms) CREATE TABLE "settings" ("id" serial primary key, "var" character varying NOT NULL, "value" text, "thing_id" integer, "thing_type" character varying(30), "created_at" timestamp, "updated_at" timestamp) 
775
+  (1.1ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
776
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083705"]]
777
+  (0.4ms) COMMIT
778
+ Migrating to CreateWeelerTranslations (20140123083706)
779
+  (0.3ms) BEGIN
780
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb:10)
781
+  (8.8ms) CREATE TABLE "weeler_translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
782
+  (0.7ms) CREATE INDEX "index_weeler_translations_on_locale" ON "weeler_translations" ("locale")
783
+  (0.7ms) CREATE INDEX "index_weeler_translations_on_key" ON "weeler_translations" ("key")
784
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083706"]]
785
+  (0.3ms) COMMIT
786
+ Migrating to TranslateWeelerSeos (20140123083707)
787
+  (0.2ms) BEGIN
788
+  (3.5ms) CREATE TABLE "weeler_seo_translations" ("id" serial primary key, "weeler_seo_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
789
+  (3.7ms) ALTER TABLE "weeler_seo_translations" ADD "title" character varying
790
+  (0.3ms) ALTER TABLE "weeler_seo_translations" ADD "description" text
791
+  (0.2ms) ALTER TABLE "weeler_seo_translations" ADD "keywords" text
792
+ Weeler::Seo Load (0.7ms) SELECT "weeler_seos".* FROM "weeler_seos" ORDER BY "weeler_seos"."id" ASC LIMIT 1000
793
+  (0.9ms) CREATE INDEX "index_weeler_seo_translations_on_weeler_seo_id" ON "weeler_seo_translations" ("weeler_seo_id")
794
+  (1.1ms) CREATE INDEX "index_weeler_seo_translations_on_locale" ON "weeler_seo_translations" ("locale")
795
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123083707"]]
796
+  (2.3ms) COMMIT
797
+ Migrating to CreatePosts (20140718103237)
798
+  (0.3ms) BEGIN
799
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140718103237_create_posts.rb:9)
800
+  (3.3ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" text, "sequence" integer DEFAULT 0, "status" integer DEFAULT 0, "created_at" timestamp, "updated_at" timestamp)
801
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140718103237"]]
802
+  (0.3ms) COMMIT
803
+ Migrating to CreateTranslations (20140726151210)
804
+  (0.2ms) BEGIN
805
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20140726151210_create_translations.rb:9)
806
+  (3.3ms) CREATE TABLE "translations" ("id" serial primary key, "post_id" integer, "locale" character varying, "title" character varying, "body" text, "created_at" timestamp, "updated_at" timestamp)
807
+  (0.8ms) CREATE INDEX "index_translations_on_post_id" ON "translations" ("post_id")
808
+ SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140726151210"]]
809
+  (0.3ms) COMMIT
810
+ Migrating to CreateWeelerLocks (20160330161101)
811
+  (0.2ms) BEGIN
812
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20160330161101_create_weeler_locks.rb:5)
813
+  (2.1ms) CREATE TABLE "weeler_locks" ("id" serial primary key, "name" character varying(40), "created_at" timestamp, "updated_at" timestamp) 
814
+  (1.2ms) CREATE UNIQUE INDEX "index_weeler_locks_on_name" ON "weeler_locks" ("name")
815
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160330161101"]]
816
+  (0.3ms) COMMIT
817
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
818
+  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
819
+ FROM pg_constraint c
820
+ JOIN pg_class t1 ON c.conrelid = t1.oid
821
+ JOIN pg_class t2 ON c.confrelid = t2.oid
822
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
823
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
824
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
825
+ WHERE c.contype = 'f'
826
+ AND t1.relname = 'posts'
827
+ AND t3.nspname = ANY (current_schemas(false))
828
+ ORDER BY c.conname
829
+
830
+  (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
831
+ FROM pg_constraint c
832
+ JOIN pg_class t1 ON c.conrelid = t1.oid
833
+ JOIN pg_class t2 ON c.confrelid = t2.oid
834
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
835
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
836
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
837
+ WHERE c.contype = 'f'
838
+ AND t1.relname = 'settings'
839
+ AND t3.nspname = ANY (current_schemas(false))
840
+ ORDER BY c.conname
841
+ 
842
+  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
843
+ FROM pg_constraint c
844
+ JOIN pg_class t1 ON c.conrelid = t1.oid
845
+ JOIN pg_class t2 ON c.confrelid = t2.oid
846
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
847
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
848
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
849
+ WHERE c.contype = 'f'
850
+ AND t1.relname = 'translations'
851
+ AND t3.nspname = ANY (current_schemas(false))
852
+ ORDER BY c.conname
853
+
854
+  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
855
+ FROM pg_constraint c
856
+ JOIN pg_class t1 ON c.conrelid = t1.oid
857
+ JOIN pg_class t2 ON c.confrelid = t2.oid
858
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
859
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
860
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
861
+ WHERE c.contype = 'f'
862
+ AND t1.relname = 'weeler_locks'
863
+ AND t3.nspname = ANY (current_schemas(false))
864
+ ORDER BY c.conname
865
+ 
866
+  (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
867
+ FROM pg_constraint c
868
+ JOIN pg_class t1 ON c.conrelid = t1.oid
869
+ JOIN pg_class t2 ON c.confrelid = t2.oid
870
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
871
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
872
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
873
+ WHERE c.contype = 'f'
874
+ AND t1.relname = 'weeler_seo_translations'
875
+ AND t3.nspname = ANY (current_schemas(false))
876
+ ORDER BY c.conname
877
+
878
+  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
879
+ FROM pg_constraint c
880
+ JOIN pg_class t1 ON c.conrelid = t1.oid
881
+ JOIN pg_class t2 ON c.confrelid = t2.oid
882
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
883
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
884
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
885
+ WHERE c.contype = 'f'
886
+ AND t1.relname = 'weeler_seos'
887
+ AND t3.nspname = ANY (current_schemas(false))
888
+ ORDER BY c.conname
889
+ 
890
+  (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
891
+ FROM pg_constraint c
892
+ JOIN pg_class t1 ON c.conrelid = t1.oid
893
+ JOIN pg_class t2 ON c.confrelid = t2.oid
894
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
895
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
896
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
897
+ WHERE c.contype = 'f'
898
+ AND t1.relname = 'weeler_translations'
899
+ AND t3.nspname = ANY (current_schemas(false))
900
+ ORDER BY c.conname
901
+
902
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
903
+
904
+ You can opt into the new behavior and remove this warning by setting:
905
+
906
+ config.active_record.raise_in_transactional_callbacks = true
907
+
908
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
909
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
910
+
911
+ You can opt into the new behavior and remove this warning by setting:
912
+
913
+ config.active_record.raise_in_transactional_callbacks = true
914
+
915
+ (called from block in tsort_each at /Users/homer/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226)
916
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
917
+ Migrating to CreateWeelerTranslationStats (20160330192005)
918
+  (0.2ms) BEGIN
919
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/homer/Dropbox/Projects/weeler/spec/dummy/db/migrate/20160330192005_create_weeler_translation_stats.rb:7)
920
+  (16.2ms) CREATE TABLE "weeler_translation_stats" ("id" serial primary key, "key" character varying, "usage_count" integer DEFAULT 0, "created_at" timestamp, "updated_at" timestamp) 
921
+  (1.2ms) CREATE INDEX "index_weeler_translation_stats_on_key" ON "weeler_translation_stats" ("key")
922
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160330192005"]]
923
+  (0.6ms) COMMIT
924
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
925
+  (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
926
+ FROM pg_constraint c
927
+ JOIN pg_class t1 ON c.conrelid = t1.oid
928
+ JOIN pg_class t2 ON c.confrelid = t2.oid
929
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
930
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
931
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
932
+ WHERE c.contype = 'f'
933
+ AND t1.relname = 'posts'
934
+ AND t3.nspname = ANY (current_schemas(false))
935
+ ORDER BY c.conname
936
+
937
+  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
938
+ FROM pg_constraint c
939
+ JOIN pg_class t1 ON c.conrelid = t1.oid
940
+ JOIN pg_class t2 ON c.confrelid = t2.oid
941
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
942
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
943
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
944
+ WHERE c.contype = 'f'
945
+ AND t1.relname = 'settings'
946
+ AND t3.nspname = ANY (current_schemas(false))
947
+ ORDER BY c.conname
948
+ 
949
+  (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
950
+ FROM pg_constraint c
951
+ JOIN pg_class t1 ON c.conrelid = t1.oid
952
+ JOIN pg_class t2 ON c.confrelid = t2.oid
953
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
954
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
955
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
956
+ WHERE c.contype = 'f'
957
+ AND t1.relname = 'translations'
958
+ AND t3.nspname = ANY (current_schemas(false))
959
+ ORDER BY c.conname
960
+
961
+  (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
962
+ FROM pg_constraint c
963
+ JOIN pg_class t1 ON c.conrelid = t1.oid
964
+ JOIN pg_class t2 ON c.confrelid = t2.oid
965
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
966
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
967
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
968
+ WHERE c.contype = 'f'
969
+ AND t1.relname = 'weeler_locks'
970
+ AND t3.nspname = ANY (current_schemas(false))
971
+ ORDER BY c.conname
972
+ 
973
+  (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
974
+ FROM pg_constraint c
975
+ JOIN pg_class t1 ON c.conrelid = t1.oid
976
+ JOIN pg_class t2 ON c.confrelid = t2.oid
977
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
978
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
979
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
980
+ WHERE c.contype = 'f'
981
+ AND t1.relname = 'weeler_seo_translations'
982
+ AND t3.nspname = ANY (current_schemas(false))
983
+ ORDER BY c.conname
984
+
985
+  (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
986
+ FROM pg_constraint c
987
+ JOIN pg_class t1 ON c.conrelid = t1.oid
988
+ JOIN pg_class t2 ON c.confrelid = t2.oid
989
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
990
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
991
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
992
+ WHERE c.contype = 'f'
993
+ AND t1.relname = 'weeler_seos'
994
+ AND t3.nspname = ANY (current_schemas(false))
995
+ ORDER BY c.conname
996
+ 
997
+  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
998
+ FROM pg_constraint c
999
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1000
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1001
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1002
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1003
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1004
+ WHERE c.contype = 'f'
1005
+ AND t1.relname = 'weeler_translation_stats'
1006
+ AND t3.nspname = ANY (current_schemas(false))
1007
+ ORDER BY c.conname
1008
+
1009
+  (3.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1010
+ FROM pg_constraint c
1011
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1012
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1013
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1014
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1015
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1016
+ WHERE c.contype = 'f'
1017
+ AND t1.relname = 'weeler_translations'
1018
+ AND t3.nspname = ANY (current_schemas(false))
1019
+ ORDER BY c.conname
1020
+