spec/dummy/log/test.log in pulitzer-0.5.5 vs spec/dummy/log/test.log in pulitzer-0.5.6

- old
+ new

@@ -69134,5 +69134,20483 @@  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 19:45:29.982830"], ["updated_at", "2016-12-07 19:45:29.982830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.5ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.6ms) DELETE FROM "pulitzer_content_element_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.7ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.6ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.7ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.9ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.8ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.8ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 19:52:29.485637"], ["updated_at", "2016-12-07 19:52:29.485637"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (22.2ms) +Completed 200 OK in 53ms (Views: 32.3ms | ActiveRecord: 0.5ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 19:52:29.553633"], ["updated_at", "2016-12-07 19:52:29.553633"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (8.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (9.8ms) +Completed 200 OK in 18ms (Views: 11.5ms | ActiveRecord: 0.6ms) + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 19:52:29.580776"], ["updated_at", "2016-12-07 19:52:29.580776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (8.6ms) +Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 19:52:29.604794"], ["updated_at", "2016-12-07 19:52:29.604794"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.7ms) +Completed 200 OK in 10ms (Views: 5.2ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 19:52:29.624740"], ["updated_at", "2016-12-07 19:52:29.624740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 19:52:29.641492"], ["updated_at", "2016-12-07 19:52:29.641492"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (14.0ms) +Completed 200 OK in 26ms (Views: 17.7ms | ActiveRecord: 0.6ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 19:52:29.682608"], ["updated_at", "2016-12-07 19:52:29.682608"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (2.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (10.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (14.0ms) +Completed 200 OK in 40ms (Views: 15.9ms | ActiveRecord: 1.5ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 19:52:29.735553"], ["updated_at", "2016-12-07 19:52:29.735553"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (14.6ms) +Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 19:52:29.766156"], ["updated_at", "2016-12-07 19:52:29.766156"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 19:52:29.772712"], ["updated_at", "2016-12-07 19:52:29.772712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (6.7ms) +Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:29.805555"], ["updated_at", "2016-12-07 19:52:29.805555"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 19:52:29.906681"], ["updated_at", "2016-12-07 19:52:29.906681"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:29.909461"], ["updated_at", "2016-12-07 19:52:29.909461"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:29.911437"], ["updated_at", "2016-12-07 19:52:29.911437"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 19:52:29.923155"], ["updated_at", "2016-12-07 19:52:29.923155"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:29.925685"], ["updated_at", "2016-12-07 19:52:29.925685"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 19:52:29.928427"], ["updated_at", "2016-12-07 19:52:29.928427"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:29.929803"], ["updated_at", "2016-12-07 19:52:29.929803"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 19:52:29.932555"], ["updated_at", "2016-12-07 19:52:29.932555"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:29.935023"], ["updated_at", "2016-12-07 19:52:29.935023"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 19:52:29.947545"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (1.1ms) +Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 1.6ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:29.994434"], ["updated_at", "2016-12-07 19:52:29.994434"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 19:52:29.997135"], ["updated_at", "2016-12-07 19:52:29.997135"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:29.998876"], ["updated_at", "2016-12-07 19:52:29.998876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.000386"], ["updated_at", "2016-12-07 19:52:30.000386"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 19:52:30.003845"], ["updated_at", "2016-12-07 19:52:30.003845"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.006067"], ["updated_at", "2016-12-07 19:52:30.006067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 19:52:30.011687"], ["updated_at", "2016-12-07 19:52:30.011687"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.013948"], ["updated_at", "2016-12-07 19:52:30.013948"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 19:52:30.017161"], ["updated_at", "2016-12-07 19:52:30.017161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.019323"], ["updated_at", "2016-12-07 19:52:30.019323"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 19:52:30.028687"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.031506"], ["updated_at", "2016-12-07 19:52:30.031506"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: b0cbde68-5e61-4f74-b1ae-a50563560caf) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.006067"], ["updated_at", "2016-12-07 19:52:30.006067"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.042795"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.013948"], ["updated_at", "2016-12-07 19:52:30.013948"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.048017"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.019323"], ["updated_at", "2016-12-07 19:52:30.019323"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.054117"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.057460"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0cbde68-5e61-4f74-b1ae-a50563560caf] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.38ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 19:52:30.070022"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (4.4ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.6ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (5.9ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (9.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (37.2ms) +Completed 200 OK in 44ms (Views: 0.5ms | ActiveRecord: 1.0ms) + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.122889"], ["updated_at", "2016-12-07 19:52:30.122889"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 19:52:30.125460"], ["updated_at", "2016-12-07 19:52:30.125460"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.127132"], ["updated_at", "2016-12-07 19:52:30.127132"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.128661"], ["updated_at", "2016-12-07 19:52:30.128661"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 19:52:30.131233"], ["updated_at", "2016-12-07 19:52:30.131233"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.132731"], ["updated_at", "2016-12-07 19:52:30.132731"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 19:52:30.136134"], ["updated_at", "2016-12-07 19:52:30.136134"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.137696"], ["updated_at", "2016-12-07 19:52:30.137696"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 19:52:30.140185"], ["updated_at", "2016-12-07 19:52:30.140185"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.141586"], ["updated_at", "2016-12-07 19:52:30.141586"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 19:52:30.145460"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.148219"], ["updated_at", "2016-12-07 19:52:30.148219"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e8522ac8-d365-46a5-826b-faaa1d905305) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.132731"], ["updated_at", "2016-12-07 19:52:30.132731"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.158104"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.137696"], ["updated_at", "2016-12-07 19:52:30.137696"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.163287"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.141586"], ["updated_at", "2016-12-07 19:52:30.141586"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.168699"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.171487"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e8522ac8-d365-46a5-826b-faaa1d905305] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.71ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 19:52:30.182943"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.185518"], ["updated_at", "2016-12-07 19:52:30.185518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 72232742-f4f2-4dc8-9db8-19e81522df4a) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.132731"], ["updated_at", "2016-12-07 19:52:30.132731"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 19:52:30.194030"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.137696"], ["updated_at", "2016-12-07 19:52:30.137696"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 19:52:30.199086"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.141586"], ["updated_at", "2016-12-07 19:52:30.141586"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 19:52:30.204532"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.207000"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [72232742-f4f2-4dc8-9db8-19e81522df4a] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.15ms + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (7.7ms) +Completed 200 OK in 39ms (Views: 0.2ms | ActiveRecord: 2.2ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 19:52:30.231724"], ["updated_at", "2016-12-07 19:52:30.231724"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:30.237712"], ["updated_at", "2016-12-07 19:52:30.237712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 19:52:30.254830"], ["updated_at", "2016-12-07 19:52:30.254830"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:30.257996"], ["updated_at", "2016-12-07 19:52:30.257996"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) +Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 19:52:30.271833"], ["updated_at", "2016-12-07 19:52:30.271833"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:30.274629"], ["updated_at", "2016-12-07 19:52:30.274629"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) +Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 19:52:30.284536"], ["updated_at", "2016-12-07 19:52:30.284536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 19:52:30.296530"], ["updated_at", "2016-12-07 19:52:30.296530"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.4ms) +Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.5ms) +Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 19:52:30.358071"], ["updated_at", "2016-12-07 19:52:30.358071"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.3ms) +Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.5ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 19:52:30.376259"], ["updated_at", "2016-12-07 19:52:30.376259"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 19:52:30.382061"], ["updated_at", "2016-12-07 19:52:30.382061"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 5ms (Views: 2.2ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 19:52:30.398556"], ["updated_at", "2016-12-07 19:52:30.398556"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 19:52:30.412193"], ["updated_at", "2016-12-07 19:52:30.412193"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 19:52:30.423548"], ["updated_at", "2016-12-07 19:52:30.423548"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 19:52:30.443065"], ["updated_at", "2016-12-07 19:52:30.443065"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 19:52:30.455715"], ["updated_at", "2016-12-07 19:52:30.455715"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 19:52:30.463067"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 19:52:30.470015"], ["updated_at", "2016-12-07 19:52:30.470015"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 19:52:30.474143"], ["updated_at", "2016-12-07 19:52:30.474143"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.4ms) +Completed 409 Conflict in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 19:52:30.485334"], ["updated_at", "2016-12-07 19:52:30.485334"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 19:52:30.489107"], ["updated_at", "2016-12-07 19:52:30.489107"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.8ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 19:52:30.501080"], ["updated_at", "2016-12-07 19:52:30.501080"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 19:52:30.514233"], ["updated_at", "2016-12-07 19:52:30.514233"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.5ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.528637"], ["updated_at", "2016-12-07 19:52:30.528637"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 19:52:30.531421"], ["updated_at", "2016-12-07 19:52:30.531421"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.533173"], ["updated_at", "2016-12-07 19:52:30.533173"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.535380"], ["updated_at", "2016-12-07 19:52:30.535380"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 19:52:30.538682"], ["updated_at", "2016-12-07 19:52:30.538682"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.540214"], ["updated_at", "2016-12-07 19:52:30.540214"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 19:52:30.542905"], ["updated_at", "2016-12-07 19:52:30.542905"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.544296"], ["updated_at", "2016-12-07 19:52:30.544296"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 19:52:30.548713"], ["updated_at", "2016-12-07 19:52:30.548713"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.550370"], ["updated_at", "2016-12-07 19:52:30.550370"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.554720"], ["updated_at", "2016-12-07 19:52:30.554720"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.540214"], ["updated_at", "2016-12-07 19:52:30.540214"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.563299"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.544296"], ["updated_at", "2016-12-07 19:52:30.544296"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.567443"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.550370"], ["updated_at", "2016-12-07 19:52:30.550370"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.575941"], ["id", 6]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.579212"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.591632"], ["updated_at", "2016-12-07 19:52:30.591632"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 19:52:30.594149"], ["updated_at", "2016-12-07 19:52:30.594149"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.596467"], ["updated_at", "2016-12-07 19:52:30.596467"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.598049"], ["updated_at", "2016-12-07 19:52:30.598049"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.607247"], ["updated_at", "2016-12-07 19:52:30.607247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.629433"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.639192"], ["updated_at", "2016-12-07 19:52:30.639192"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 19:52:30.642013"], ["updated_at", "2016-12-07 19:52:30.642013"]] + SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.643893"], ["updated_at", "2016-12-07 19:52:30.643893"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.646101"], ["updated_at", "2016-12-07 19:52:30.646101"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 19:52:30.649158"], ["updated_at", "2016-12-07 19:52:30.649158"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.651019"], ["updated_at", "2016-12-07 19:52:30.651019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 19:52:30.653869"], ["updated_at", "2016-12-07 19:52:30.653869"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.655355"], ["updated_at", "2016-12-07 19:52:30.655355"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 19:52:30.657688"], ["updated_at", "2016-12-07 19:52:30.657688"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.659165"], ["updated_at", "2016-12-07 19:52:30.659165"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.661133"], ["updated_at", "2016-12-07 19:52:30.661133"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.651019"], ["updated_at", "2016-12-07 19:52:30.651019"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.668314"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.655355"], ["updated_at", "2016-12-07 19:52:30.655355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.674153"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.659165"], ["updated_at", "2016-12-07 19:52:30.659165"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.679723"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.682704"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.694642"], ["updated_at", "2016-12-07 19:52:30.694642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 19:52:30.703201"], ["updated_at", "2016-12-07 19:52:30.703201"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 19:52:30.704915"], ["updated_at", "2016-12-07 19:52:30.704915"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 19:52:30.707604"], ["updated_at", "2016-12-07 19:52:30.707604"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 19:52:30.708916"], ["updated_at", "2016-12-07 19:52:30.708916"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 19:52:30.711116"], ["updated_at", "2016-12-07 19:52:30.711116"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 19:52:30.712383"], ["updated_at", "2016-12-07 19:52:30.712383"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.723502"], ["updated_at", "2016-12-07 19:52:30.723502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.726759"], ["updated_at", "2016-12-07 19:52:30.726759"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.731360"], ["updated_at", "2016-12-07 19:52:30.731360"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.736738"], ["updated_at", "2016-12-07 19:52:30.736738"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 19:52:30.739703"], ["updated_at", "2016-12-07 19:52:30.739703"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 19:52:30.741358"], ["updated_at", "2016-12-07 19:52:30.741358"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 19:52:30.743913"], ["updated_at", "2016-12-07 19:52:30.743913"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 19:52:30.745601"], ["updated_at", "2016-12-07 19:52:30.745601"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 19:52:30.747842"], ["updated_at", "2016-12-07 19:52:30.747842"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 19:52:30.749109"], ["updated_at", "2016-12-07 19:52:30.749109"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 19:52:30.752649"], ["updated_at", "2016-12-07 19:52:30.752649"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.754313"], ["updated_at", "2016-12-07 19:52:30.754313"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.760220"], ["updated_at", "2016-12-07 19:52:30.760220"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.764540"], ["updated_at", "2016-12-07 19:52:30.764540"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.768846"], ["updated_at", "2016-12-07 19:52:30.768846"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.777932"], ["updated_at", "2016-12-07 19:52:30.777932"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 19:52:30.784432"], ["updated_at", "2016-12-07 19:52:30.784432"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.786778"], ["updated_at", "2016-12-07 19:52:30.786778"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.804204"], ["updated_at", "2016-12-07 19:52:30.804204"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 19:52:30.807164"], ["updated_at", "2016-12-07 19:52:30.807164"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.809426"], ["updated_at", "2016-12-07 19:52:30.809426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.811628"], ["updated_at", "2016-12-07 19:52:30.811628"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 19:52:30.815372"], ["updated_at", "2016-12-07 19:52:30.815372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.817042"], ["updated_at", "2016-12-07 19:52:30.817042"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 19:52:30.819925"], ["updated_at", "2016-12-07 19:52:30.819925"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.821463"], ["updated_at", "2016-12-07 19:52:30.821463"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 19:52:30.824042"], ["updated_at", "2016-12-07 19:52:30.824042"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.825589"], ["updated_at", "2016-12-07 19:52:30.825589"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 19:52:30.827959"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.830639"], ["updated_at", "2016-12-07 19:52:30.830639"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2e7cb0ca-2976-4cd7-b831-8806f2e86c66) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.817042"], ["updated_at", "2016-12-07 19:52:30.817042"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.838196"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.821463"], ["updated_at", "2016-12-07 19:52:30.821463"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.842819"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.825589"], ["updated_at", "2016-12-07 19:52:30.825589"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.857105"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.860190"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2e7cb0ca-2976-4cd7-b831-8806f2e86c66] Performed Pulitzer::CloneVersionJob from Inline(default) in 30.9ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.875691"], ["updated_at", "2016-12-07 19:52:30.875691"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 19:52:30.878820"], ["updated_at", "2016-12-07 19:52:30.878820"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.880871"], ["updated_at", "2016-12-07 19:52:30.880871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.882761"], ["updated_at", "2016-12-07 19:52:30.882761"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 19:52:30.885784"], ["updated_at", "2016-12-07 19:52:30.885784"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.887452"], ["updated_at", "2016-12-07 19:52:30.887452"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 19:52:30.890371"], ["updated_at", "2016-12-07 19:52:30.890371"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.892456"], ["updated_at", "2016-12-07 19:52:30.892456"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 19:52:30.895471"], ["updated_at", "2016-12-07 19:52:30.895471"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.899043"], ["updated_at", "2016-12-07 19:52:30.899043"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 19:52:30.901446"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.905852"], ["updated_at", "2016-12-07 19:52:30.905852"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: b88c670b-6857-44d6-a746-16bb2350b617) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.887452"], ["updated_at", "2016-12-07 19:52:30.887452"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.916298"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.892456"], ["updated_at", "2016-12-07 19:52:30.892456"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.922292"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.899043"], ["updated_at", "2016-12-07 19:52:30.899043"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:30.927758"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.930612"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b88c670b-6857-44d6-a746-16bb2350b617] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.16ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 19:52:30.938107"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.940783"], ["updated_at", "2016-12-07 19:52:30.940783"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 22405ee8-0712-434c-a07f-868e99ce6e9b) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.887452"], ["updated_at", "2016-12-07 19:52:30.887452"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 19:52:30.949075"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.892456"], ["updated_at", "2016-12-07 19:52:30.892456"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 19:52:30.953652"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.899043"], ["updated_at", "2016-12-07 19:52:30.899043"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 19:52:30.957898"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:30.960176"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [22405ee8-0712-434c-a07f-868e99ce6e9b] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.99ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:30.972520"], ["updated_at", "2016-12-07 19:52:30.972520"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 19:52:30.975099"], ["updated_at", "2016-12-07 19:52:30.975099"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.976822"], ["updated_at", "2016-12-07 19:52:30.976822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:30.978622"], ["updated_at", "2016-12-07 19:52:30.978622"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 19:52:30.981241"], ["updated_at", "2016-12-07 19:52:30.981241"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.982821"], ["updated_at", "2016-12-07 19:52:30.982821"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 19:52:30.985529"], ["updated_at", "2016-12-07 19:52:30.985529"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.987266"], ["updated_at", "2016-12-07 19:52:30.987266"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 19:52:30.989843"], ["updated_at", "2016-12-07 19:52:30.989843"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:30.991350"], ["updated_at", "2016-12-07 19:52:30.991350"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 19:52:30.996228"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:30.999369"], ["updated_at", "2016-12-07 19:52:30.999369"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7682e8fd-3c9e-469d-a33f-9067ee56322c) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:30.982821"], ["updated_at", "2016-12-07 19:52:30.982821"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:31.011150"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:30.987266"], ["updated_at", "2016-12-07 19:52:30.987266"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:31.016315"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:30.991350"], ["updated_at", "2016-12-07 19:52:30.991350"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:31.022648"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:31.025681"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7682e8fd-3c9e-469d-a33f-9067ee56322c] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.19ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 19:52:31.034307"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 19:52:31.047941"], ["updated_at", "2016-12-07 19:52:31.047941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.051362"], ["updated_at", "2016-12-07 19:52:31.051362"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 19:52:31.054432"], ["updated_at", "2016-12-07 19:52:31.054432"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.056473"], ["updated_at", "2016-12-07 19:52:31.056473"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.058181"], ["updated_at", "2016-12-07 19:52:31.058181"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 19:52:31.061025"], ["updated_at", "2016-12-07 19:52:31.061025"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 19:52:31.064394"], ["updated_at", "2016-12-07 19:52:31.064394"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 19:52:31.067964"], ["updated_at", "2016-12-07 19:52:31.067964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 19:52:31.070928"], ["updated_at", "2016-12-07 19:52:31.070928"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 19:52:31.073878"], ["updated_at", "2016-12-07 19:52:31.073878"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 19:52:31.075530"], ["updated_at", "2016-12-07 19:52:31.075530"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 19:52:31.084695"], ["updated_at", "2016-12-07 19:52:31.084695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 19:52:31.088041"], ["updated_at", "2016-12-07 19:52:31.088041"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 19:52:31.090404"], ["updated_at", "2016-12-07 19:52:31.090404"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 19:52:31.095033"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 19:52:31.099208"], ["updated_at", "2016-12-07 19:52:31.099208"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: acad822d-53de-45f4-a865-0ccfde99500f) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:31.064394"], ["updated_at", "2016-12-07 19:52:31.064394"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:31.110649"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 19:52:31.070928"], ["updated_at", "2016-12-07 19:52:31.070928"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:31.115700"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 19:52:31.075530"], ["updated_at", "2016-12-07 19:52:31.075530"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.2ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 19:52:31.121200"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 19:52:31.124692"], ["updated_at", "2016-12-07 19:52:31.124692"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 19:52:31.126524"], ["updated_at", "2016-12-07 19:52:31.126524"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 19:52:31.128508"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [acad822d-53de-45f4-a865-0ccfde99500f] Performed Pulitzer::CloneVersionJob from Inline(default) in 32.75ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 19:52:31.145710"], ["updated_at", "2016-12-07 19:52:31.145710"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.3ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 19:52:31.158099"], ["updated_at", "2016-12-07 19:52:31.158099"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 19:52:31.163348"], ["updated_at", "2016-12-07 19:52:31.163348"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 19:52:31.169243"], ["updated_at", "2016-12-07 19:52:31.169243"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 19:52:31.174472"], ["updated_at", "2016-12-07 19:52:31.174472"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:31.176976"], ["updated_at", "2016-12-07 19:52:31.176976"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 19:52:31.183917"], ["updated_at", "2016-12-07 19:52:31.183917"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 19:52:31.186013"], ["updated_at", "2016-12-07 19:52:31.186013"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 19:52:31.191711"], ["updated_at", "2016-12-07 19:52:31.191711"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.4ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 19:52:31.196935"], ["updated_at", "2016-12-07 19:52:31.196935"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 19:52:31.202317"], ["updated_at", "2016-12-07 19:52:31.202317"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.346653"], ["updated_at", "2016-12-07 19:52:31.346653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.3ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.365341"], ["updated_at", "2016-12-07 19:52:31.365341"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 19:52:31.369099"], ["updated_at", "2016-12-07 19:52:31.369099"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.371755"], ["updated_at", "2016-12-07 19:52:31.371755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.374516"], ["updated_at", "2016-12-07 19:52:31.374516"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 19:52:31.376876"], ["updated_at", "2016-12-07 19:52:31.376876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.383591"], ["updated_at", "2016-12-07 19:52:31.383591"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 19:52:31.387336"], ["updated_at", "2016-12-07 19:52:31.387336"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.390099"], ["updated_at", "2016-12-07 19:52:31.390099"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.3ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.395561"], ["updated_at", "2016-12-07 19:52:31.395561"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 19:52:31.398724"], ["updated_at", "2016-12-07 19:52:31.398724"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.400943"], ["updated_at", "2016-12-07 19:52:31.400943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 19:52:31.404151"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 19:52:31.410802"], ["updated_at", "2016-12-07 19:52:31.410802"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.415053"], ["updated_at", "2016-12-07 19:52:31.415053"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 19:52:31.419128"], ["updated_at", "2016-12-07 19:52:31.419128"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.421161"], ["updated_at", "2016-12-07 19:52:31.421161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.423239"], ["updated_at", "2016-12-07 19:52:31.423239"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.3ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.448325"], ["updated_at", "2016-12-07 19:52:31.448325"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 19:52:31.452572"], ["updated_at", "2016-12-07 19:52:31.452572"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.3ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.2ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 19:52:31.530972"], ["updated_at", "2016-12-07 19:52:31.530972"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:31.543815"], ["updated_at", "2016-12-07 19:52:31.543815"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 19:52:31.546084"], ["updated_at", "2016-12-07 19:52:31.546084"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.553250"], ["updated_at", "2016-12-07 19:52:31.553250"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 19:52:31.556112"], ["updated_at", "2016-12-07 19:52:31.556112"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.557827"], ["updated_at", "2016-12-07 19:52:31.557827"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 19:52:31.559325"], ["updated_at", "2016-12-07 19:52:31.559325"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 19:52:31.561313"], ["updated_at", "2016-12-07 19:52:31.561313"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 19:52:31.565923"], ["updated_at", "2016-12-07 19:52:31.565923"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:31.576715"], ["updated_at", "2016-12-07 19:52:31.576715"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 19:52:31.579107"], ["updated_at", "2016-12-07 19:52:31.579107"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 19:52:31.583931"], ["updated_at", "2016-12-07 19:52:31.583931"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 19:52:31.587091"], ["updated_at", "2016-12-07 19:52:31.587091"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 19:52:31.588345' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 19:52:31.591829"], ["updated_at", "2016-12-07 19:52:31.591829"]] + SQL (0.3ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 19:52:31.593488' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:31.608153"], ["updated_at", "2016-12-07 19:52:31.608153"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 19:52:31.611662"], ["updated_at", "2016-12-07 19:52:31.611662"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 19:52:31.615206"], ["updated_at", "2016-12-07 19:52:31.615206"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 19:52:31.616330' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:31.620649"], ["updated_at", "2016-12-07 19:52:31.620649"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 19:52:31.623399"], ["updated_at", "2016-12-07 19:52:31.623399"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 19:52:31.625785"], ["updated_at", "2016-12-07 19:52:31.625785"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 19:52:31.626485' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 19:52:31.633135"], ["updated_at", "2016-12-07 19:52:31.633135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 19:52:31.637518"], ["updated_at", "2016-12-07 19:52:31.637518"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 19:52:31.640611"], ["updated_at", "2016-12-07 19:52:31.640611"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 19:52:31.641723' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.647120"], ["updated_at", "2016-12-07 19:52:31.647120"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 19:52:31.650314"], ["updated_at", "2016-12-07 19:52:31.650314"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.652876"], ["updated_at", "2016-12-07 19:52:31.652876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 19:52:31.674822"], ["updated_at", "2016-12-07 19:52:31.674822"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 19:52:31.677365"], ["updated_at", "2016-12-07 19:52:31.677365"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 19:52:31.679606"], ["updated_at", "2016-12-07 19:52:31.679606"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.681096"], ["updated_at", "2016-12-07 19:52:31.681096"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 19:52:31.682527"], ["updated_at", "2016-12-07 19:52:31.682527"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 19:52:31.684405"], ["updated_at", "2016-12-07 19:52:31.684405"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.5ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.8ms) DELETE FROM "pulitzer_content_element_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.7ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.6ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.7ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (1.4ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.7ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.6ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:10:28.772250"], ["updated_at", "2016-12-07 20:10:28.772250"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (4.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.5ms) +Completed 200 OK in 48ms (Views: 30.8ms | ActiveRecord: 0.4ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:10:28.833734"], ["updated_at", "2016-12-07 20:10:28.833734"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (7.0ms) +Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 0.5ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:10:28.857493"], ["updated_at", "2016-12-07 20:10:28.857493"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (1.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (11.5ms) +Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:10:28.880671"], ["updated_at", "2016-12-07 20:10:28.880671"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.3ms) +Completed 200 OK in 10ms (Views: 4.7ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:10:28.900409"], ["updated_at", "2016-12-07 20:10:28.900409"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:10:28.917279"], ["updated_at", "2016-12-07 20:10:28.917279"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.4ms) +Completed 200 OK in 25ms (Views: 16.7ms | ActiveRecord: 0.6ms) +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:10:28.960253"], ["updated_at", "2016-12-07 20:10:28.960253"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.3ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (11.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (13.3ms) +Completed 200 OK in 25ms (Views: 14.6ms | ActiveRecord: 1.1ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:10:28.996934"], ["updated_at", "2016-12-07 20:10:28.996934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (12.4ms) +Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:10:29.024168"], ["updated_at", "2016-12-07 20:10:29.024168"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:10:29.039008"], ["updated_at", "2016-12-07 20:10:29.039008"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (5.4ms) +Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.4ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.068821"], ["updated_at", "2016-12-07 20:10:29.068821"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:10:29.163821"], ["updated_at", "2016-12-07 20:10:29.163821"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.166489"], ["updated_at", "2016-12-07 20:10:29.166489"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.168424"], ["updated_at", "2016-12-07 20:10:29.168424"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:10:29.180931"], ["updated_at", "2016-12-07 20:10:29.180931"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.184769"], ["updated_at", "2016-12-07 20:10:29.184769"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:10:29.188155"], ["updated_at", "2016-12-07 20:10:29.188155"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.190358"], ["updated_at", "2016-12-07 20:10:29.190358"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:10:29.193280"], ["updated_at", "2016-12-07 20:10:29.193280"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.195057"], ["updated_at", "2016-12-07 20:10:29.195057"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:10:29.205434"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (1.1ms) +Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 1.4ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.249884"], ["updated_at", "2016-12-07 20:10:29.249884"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:10:29.252863"], ["updated_at", "2016-12-07 20:10:29.252863"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.254592"], ["updated_at", "2016-12-07 20:10:29.254592"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.256433"], ["updated_at", "2016-12-07 20:10:29.256433"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:10:29.259806"], ["updated_at", "2016-12-07 20:10:29.259806"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.261448"], ["updated_at", "2016-12-07 20:10:29.261448"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:10:29.265666"], ["updated_at", "2016-12-07 20:10:29.265666"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.268202"], ["updated_at", "2016-12-07 20:10:29.268202"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:10:29.271229"], ["updated_at", "2016-12-07 20:10:29.271229"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.273274"], ["updated_at", "2016-12-07 20:10:29.273274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:10:29.280131"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:29.285377"], ["updated_at", "2016-12-07 20:10:29.285377"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 990d81a8-c3a7-4c60-afe9-690abb61975f) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:29.261448"], ["updated_at", "2016-12-07 20:10:29.261448"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.304832"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:29.268202"], ["updated_at", "2016-12-07 20:10:29.268202"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.309357"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:29.273274"], ["updated_at", "2016-12-07 20:10:29.273274"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.313886"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:29.316134"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [990d81a8-c3a7-4c60-afe9-690abb61975f] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.25ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:10:29.329038"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.2ms) + Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (6.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (7.6ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (4.2ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (34.8ms) +Completed 200 OK in 40ms (Views: 0.4ms | ActiveRecord: 1.1ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.375785"], ["updated_at", "2016-12-07 20:10:29.375785"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:10:29.378576"], ["updated_at", "2016-12-07 20:10:29.378576"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.380146"], ["updated_at", "2016-12-07 20:10:29.380146"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.381651"], ["updated_at", "2016-12-07 20:10:29.381651"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:10:29.383988"], ["updated_at", "2016-12-07 20:10:29.383988"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.385378"], ["updated_at", "2016-12-07 20:10:29.385378"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:10:29.388020"], ["updated_at", "2016-12-07 20:10:29.388020"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.389594"], ["updated_at", "2016-12-07 20:10:29.389594"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:10:29.392771"], ["updated_at", "2016-12-07 20:10:29.392771"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.394114"], ["updated_at", "2016-12-07 20:10:29.394114"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:10:29.397453"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:29.399751"], ["updated_at", "2016-12-07 20:10:29.399751"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 9c2fc2e7-1886-4efc-8e8d-d8c3b5307499) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:29.385378"], ["updated_at", "2016-12-07 20:10:29.385378"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.407567"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:29.389594"], ["updated_at", "2016-12-07 20:10:29.389594"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.413390"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:29.394114"], ["updated_at", "2016-12-07 20:10:29.394114"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.417499"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:29.419920"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9c2fc2e7-1886-4efc-8e8d-d8c3b5307499] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.44ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:10:29.432223"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:29.434820"], ["updated_at", "2016-12-07 20:10:29.434820"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 24f9c0a9-8e03-4d16-84e7-2251e5d41401) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:29.385378"], ["updated_at", "2016-12-07 20:10:29.385378"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:10:29.444023"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:29.389594"], ["updated_at", "2016-12-07 20:10:29.389594"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:10:29.447998"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:29.394114"], ["updated_at", "2016-12-07 20:10:29.394114"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:10:29.451867"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:29.454160"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [24f9c0a9-8e03-4d16-84e7-2251e5d41401] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.37ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (6.6ms) +Completed 200 OK in 35ms (Views: 0.2ms | ActiveRecord: 2.0ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:10:29.476701"], ["updated_at", "2016-12-07 20:10:29.476701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:29.480343"], ["updated_at", "2016-12-07 20:10:29.480343"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:10:29.494296"], ["updated_at", "2016-12-07 20:10:29.494296"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:29.496498"], ["updated_at", "2016-12-07 20:10:29.496498"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:10:29.507300"], ["updated_at", "2016-12-07 20:10:29.507300"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:29.510323"], ["updated_at", "2016-12-07 20:10:29.510323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:10:29.519945"], ["updated_at", "2016-12-07 20:10:29.519945"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:10:29.534047"], ["updated_at", "2016-12-07 20:10:29.534047"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.3ms) +Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:10:29.577197"], ["updated_at", "2016-12-07 20:10:29.577197"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.4ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:10:29.587959"], ["updated_at", "2016-12-07 20:10:29.587959"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.6ms) +Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.5ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:10:29.601099"], ["updated_at", "2016-12-07 20:10:29.601099"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:10:29.618478"], ["updated_at", "2016-12-07 20:10:29.618478"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:10:29.643387"], ["updated_at", "2016-12-07 20:10:29.643387"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:10:29.655367"], ["updated_at", "2016-12-07 20:10:29.655367"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:10:29.674506"], ["updated_at", "2016-12-07 20:10:29.674506"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:10:29.685217"], ["updated_at", "2016-12-07 20:10:29.685217"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:10:29.692970"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:10:29.698396"], ["updated_at", "2016-12-07 20:10:29.698396"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:10:29.701973"], ["updated_at", "2016-12-07 20:10:29.701973"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:10:29.714937"], ["updated_at", "2016-12-07 20:10:29.714937"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:10:29.717980"], ["updated_at", "2016-12-07 20:10:29.717980"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:10:29.730812"], ["updated_at", "2016-12-07 20:10:29.730812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:10:29.743462"], ["updated_at", "2016-12-07 20:10:29.743462"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.4ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.757051"], ["updated_at", "2016-12-07 20:10:29.757051"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:10:29.759753"], ["updated_at", "2016-12-07 20:10:29.759753"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.761757"], ["updated_at", "2016-12-07 20:10:29.761757"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.763620"], ["updated_at", "2016-12-07 20:10:29.763620"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:10:29.766573"], ["updated_at", "2016-12-07 20:10:29.766573"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.768267"], ["updated_at", "2016-12-07 20:10:29.768267"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:10:29.771074"], ["updated_at", "2016-12-07 20:10:29.771074"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.773055"], ["updated_at", "2016-12-07 20:10:29.773055"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:10:29.776999"], ["updated_at", "2016-12-07 20:10:29.776999"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.778444"], ["updated_at", "2016-12-07 20:10:29.778444"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:29.781336"], ["updated_at", "2016-12-07 20:10:29.781336"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:29.768267"], ["updated_at", "2016-12-07 20:10:29.768267"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.786876"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:29.773055"], ["updated_at", "2016-12-07 20:10:29.773055"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.793440"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:29.778444"], ["updated_at", "2016-12-07 20:10:29.778444"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.797910"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:29.800091"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.809269"], ["updated_at", "2016-12-07 20:10:29.809269"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:10:29.811790"], ["updated_at", "2016-12-07 20:10:29.811790"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.813414"], ["updated_at", "2016-12-07 20:10:29.813414"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.814829"], ["updated_at", "2016-12-07 20:10:29.814829"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:29.820387"], ["updated_at", "2016-12-07 20:10:29.820387"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:29.831603"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.839967"], ["updated_at", "2016-12-07 20:10:29.839967"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:10:29.843082"], ["updated_at", "2016-12-07 20:10:29.843082"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.845320"], ["updated_at", "2016-12-07 20:10:29.845320"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.847082"], ["updated_at", "2016-12-07 20:10:29.847082"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:10:29.850033"], ["updated_at", "2016-12-07 20:10:29.850033"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.851618"], ["updated_at", "2016-12-07 20:10:29.851618"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:10:29.854193"], ["updated_at", "2016-12-07 20:10:29.854193"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.857160"], ["updated_at", "2016-12-07 20:10:29.857160"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:10:29.861218"], ["updated_at", "2016-12-07 20:10:29.861218"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:29.862634"], ["updated_at", "2016-12-07 20:10:29.862634"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:29.864748"], ["updated_at", "2016-12-07 20:10:29.864748"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:29.851618"], ["updated_at", "2016-12-07 20:10:29.851618"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.870828"], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:29.857160"], ["updated_at", "2016-12-07 20:10:29.857160"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.875558"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:29.862634"], ["updated_at", "2016-12-07 20:10:29.862634"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:29.879646"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:29.882048"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.892085"], ["updated_at", "2016-12-07 20:10:29.892085"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:10:29.898633"], ["updated_at", "2016-12-07 20:10:29.898633"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:10:29.900292"], ["updated_at", "2016-12-07 20:10:29.900292"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:10:29.902602"], ["updated_at", "2016-12-07 20:10:29.902602"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:10:29.903988"], ["updated_at", "2016-12-07 20:10:29.903988"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:10:29.906443"], ["updated_at", "2016-12-07 20:10:29.906443"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:10:29.907870"], ["updated_at", "2016-12-07 20:10:29.907870"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:10:29.920220"], ["updated_at", "2016-12-07 20:10:29.920220"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:10:29.924270"], ["updated_at", "2016-12-07 20:10:29.924270"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:10:29.928950"], ["updated_at", "2016-12-07 20:10:29.928950"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.933518"], ["updated_at", "2016-12-07 20:10:29.933518"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:10:29.936210"], ["updated_at", "2016-12-07 20:10:29.936210"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:10:29.937732"], ["updated_at", "2016-12-07 20:10:29.937732"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:10:29.942301"], ["updated_at", "2016-12-07 20:10:29.942301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:10:29.943818"], ["updated_at", "2016-12-07 20:10:29.943818"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:10:29.946004"], ["updated_at", "2016-12-07 20:10:29.946004"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:10:29.947249"], ["updated_at", "2016-12-07 20:10:29.947249"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:10:29.950852"], ["updated_at", "2016-12-07 20:10:29.950852"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.952336"], ["updated_at", "2016-12-07 20:10:29.952336"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:10:29.959231"], ["updated_at", "2016-12-07 20:10:29.959231"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:10:29.964247"], ["updated_at", "2016-12-07 20:10:29.964247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:10:29.970395"], ["updated_at", "2016-12-07 20:10:29.970395"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:29.979425"], ["updated_at", "2016-12-07 20:10:29.979425"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:10:29.986461"], ["updated_at", "2016-12-07 20:10:29.986461"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:29.988186"], ["updated_at", "2016-12-07 20:10:29.988186"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.004575"], ["updated_at", "2016-12-07 20:10:30.004575"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:10:30.008039"], ["updated_at", "2016-12-07 20:10:30.008039"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.009689"], ["updated_at", "2016-12-07 20:10:30.009689"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.011804"], ["updated_at", "2016-12-07 20:10:30.011804"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:10:30.015836"], ["updated_at", "2016-12-07 20:10:30.015836"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.017501"], ["updated_at", "2016-12-07 20:10:30.017501"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:10:30.020029"], ["updated_at", "2016-12-07 20:10:30.020029"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.021437"], ["updated_at", "2016-12-07 20:10:30.021437"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:10:30.026223"], ["updated_at", "2016-12-07 20:10:30.026223"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.027974"], ["updated_at", "2016-12-07 20:10:30.027974"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:10:30.030314"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:30.033019"], ["updated_at", "2016-12-07 20:10:30.033019"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 6867958d-b2f3-4fe5-800e-d24f0e019d5c) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:30.017501"], ["updated_at", "2016-12-07 20:10:30.017501"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.041134"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:30.021437"], ["updated_at", "2016-12-07 20:10:30.021437"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.046154"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:30.027974"], ["updated_at", "2016-12-07 20:10:30.027974"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.050749"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:30.052982"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6867958d-b2f3-4fe5-800e-d24f0e019d5c] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.33ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.069023"], ["updated_at", "2016-12-07 20:10:30.069023"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:10:30.072043"], ["updated_at", "2016-12-07 20:10:30.072043"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.073760"], ["updated_at", "2016-12-07 20:10:30.073760"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.075540"], ["updated_at", "2016-12-07 20:10:30.075540"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:10:30.077805"], ["updated_at", "2016-12-07 20:10:30.077805"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.079238"], ["updated_at", "2016-12-07 20:10:30.079238"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:10:30.081536"], ["updated_at", "2016-12-07 20:10:30.081536"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.082814"], ["updated_at", "2016-12-07 20:10:30.082814"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:10:30.095061"], ["updated_at", "2016-12-07 20:10:30.095061"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.096429"], ["updated_at", "2016-12-07 20:10:30.096429"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:10:30.098500"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:30.100675"], ["updated_at", "2016-12-07 20:10:30.100675"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e0a5f54c-2073-4e47-a697-837b007d7144) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:30.079238"], ["updated_at", "2016-12-07 20:10:30.079238"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.112770"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:30.082814"], ["updated_at", "2016-12-07 20:10:30.082814"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.117363"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:30.096429"], ["updated_at", "2016-12-07 20:10:30.096429"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.123386"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:30.125950"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e0a5f54c-2073-4e47-a697-837b007d7144] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.31ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:10:30.133444"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:30.136309"], ["updated_at", "2016-12-07 20:10:30.136309"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: b0accd11-b695-4cd1-92b0-954287d46f3d) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:30.079238"], ["updated_at", "2016-12-07 20:10:30.079238"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:10:30.145016"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:30.082814"], ["updated_at", "2016-12-07 20:10:30.082814"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:10:30.149119"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:30.096429"], ["updated_at", "2016-12-07 20:10:30.096429"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:10:30.153361"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:30.155791"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b0accd11-b695-4cd1-92b0-954287d46f3d] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.86ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.171286"], ["updated_at", "2016-12-07 20:10:30.171286"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:10:30.175896"], ["updated_at", "2016-12-07 20:10:30.175896"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.178001"], ["updated_at", "2016-12-07 20:10:30.178001"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.180164"], ["updated_at", "2016-12-07 20:10:30.180164"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:10:30.182684"], ["updated_at", "2016-12-07 20:10:30.182684"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.184183"], ["updated_at", "2016-12-07 20:10:30.184183"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:10:30.187323"], ["updated_at", "2016-12-07 20:10:30.187323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.188742"], ["updated_at", "2016-12-07 20:10:30.188742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:10:30.193792"], ["updated_at", "2016-12-07 20:10:30.193792"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.196326"], ["updated_at", "2016-12-07 20:10:30.196326"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:10:30.198793"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:30.201265"], ["updated_at", "2016-12-07 20:10:30.201265"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: d556cc8a-53a5-4067-b808-d179a1519cad) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:30.184183"], ["updated_at", "2016-12-07 20:10:30.184183"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.3ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.214622"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:30.188742"], ["updated_at", "2016-12-07 20:10:30.188742"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.219326"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:30.196326"], ["updated_at", "2016-12-07 20:10:30.196326"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.3ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.3ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.231095"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:30.236707"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d556cc8a-53a5-4067-b808-d179a1519cad] Performed Pulitzer::CloneVersionJob from Inline(default) in 40.75ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:10:30.247420"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:10:30.260880"], ["updated_at", "2016-12-07 20:10:30.260880"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.265418"], ["updated_at", "2016-12-07 20:10:30.265418"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:10:30.267902"], ["updated_at", "2016-12-07 20:10:30.267902"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.269404"], ["updated_at", "2016-12-07 20:10:30.269404"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.270748"], ["updated_at", "2016-12-07 20:10:30.270748"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:10:30.275432"], ["updated_at", "2016-12-07 20:10:30.275432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.277559"], ["updated_at", "2016-12-07 20:10:30.277559"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:10:30.280864"], ["updated_at", "2016-12-07 20:10:30.280864"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.282422"], ["updated_at", "2016-12-07 20:10:30.282422"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:10:30.284812"], ["updated_at", "2016-12-07 20:10:30.284812"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.286604"], ["updated_at", "2016-12-07 20:10:30.286604"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.294786"], ["updated_at", "2016-12-07 20:10:30.294786"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:10:30.298308"], ["updated_at", "2016-12-07 20:10:30.298308"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.301072"], ["updated_at", "2016-12-07 20:10:30.301072"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:10:30.304405"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:10:30.306966"], ["updated_at", "2016-12-07 20:10:30.306966"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 09d9459b-e797-4666-bc73-632c84d570e0) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:30.277559"], ["updated_at", "2016-12-07 20:10:30.277559"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.315811"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:10:30.282422"], ["updated_at", "2016-12-07 20:10:30.282422"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.320140"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:10:30.286604"], ["updated_at", "2016-12-07 20:10:30.286604"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:10:30.324469"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:10:30.327179"], ["updated_at", "2016-12-07 20:10:30.327179"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:10:30.329640"], ["updated_at", "2016-12-07 20:10:30.329640"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:10:30.331893"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [09d9459b-e797-4666-bc73-632c84d570e0] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.13ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:10:30.344430"], ["updated_at", "2016-12-07 20:10:30.344430"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:10:30.355197"], ["updated_at", "2016-12-07 20:10:30.355197"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:10:30.360010"], ["updated_at", "2016-12-07 20:10:30.360010"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:10:30.365207"], ["updated_at", "2016-12-07 20:10:30.365207"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:10:30.370237"], ["updated_at", "2016-12-07 20:10:30.370237"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:30.371756"], ["updated_at", "2016-12-07 20:10:30.371756"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:10:30.378670"], ["updated_at", "2016-12-07 20:10:30.378670"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:10:30.380368"], ["updated_at", "2016-12-07 20:10:30.380368"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:10:30.384563"], ["updated_at", "2016-12-07 20:10:30.384563"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:10:30.389540"], ["updated_at", "2016-12-07 20:10:30.389540"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:10:30.396474"], ["updated_at", "2016-12-07 20:10:30.396474"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.535703"], ["updated_at", "2016-12-07 20:10:30.535703"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.557258"], ["updated_at", "2016-12-07 20:10:30.557258"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:10:30.559913"], ["updated_at", "2016-12-07 20:10:30.559913"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.561862"], ["updated_at", "2016-12-07 20:10:30.561862"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.564322"], ["updated_at", "2016-12-07 20:10:30.564322"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:10:30.566107"], ["updated_at", "2016-12-07 20:10:30.566107"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.572788"], ["updated_at", "2016-12-07 20:10:30.572788"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:10:30.579173"], ["updated_at", "2016-12-07 20:10:30.579173"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.581130"], ["updated_at", "2016-12-07 20:10:30.581130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.585461"], ["updated_at", "2016-12-07 20:10:30.585461"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:10:30.588075"], ["updated_at", "2016-12-07 20:10:30.588075"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.589953"], ["updated_at", "2016-12-07 20:10:30.589953"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:10:30.592387"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:10:30.597528"], ["updated_at", "2016-12-07 20:10:30.597528"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.600507"], ["updated_at", "2016-12-07 20:10:30.600507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:10:30.603523"], ["updated_at", "2016-12-07 20:10:30.603523"]] + SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.606075"], ["updated_at", "2016-12-07 20:10:30.606075"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.609935"], ["updated_at", "2016-12-07 20:10:30.609935"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.633922"], ["updated_at", "2016-12-07 20:10:30.633922"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:10:30.638144"], ["updated_at", "2016-12-07 20:10:30.638144"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.4ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.5ms) begin transaction +  (0.2ms) commit transaction +  (0.2ms) begin transaction + Pulitzer::Tag Exists (0.6ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:10:30.697139"], ["updated_at", "2016-12-07 20:10:30.697139"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (5.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:30.717246"], ["updated_at", "2016-12-07 20:10:30.717246"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:10:30.719994"], ["updated_at", "2016-12-07 20:10:30.719994"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.4ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.731373"], ["updated_at", "2016-12-07 20:10:30.731373"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:10:30.734384"], ["updated_at", "2016-12-07 20:10:30.734384"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.736351"], ["updated_at", "2016-12-07 20:10:30.736351"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:10:30.746402"], ["updated_at", "2016-12-07 20:10:30.746402"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:10:30.749505"], ["updated_at", "2016-12-07 20:10:30.749505"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.752124"], ["updated_at", "2016-12-07 20:10:30.752124"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:30.761852"], ["updated_at", "2016-12-07 20:10:30.761852"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:10:30.764519"], ["updated_at", "2016-12-07 20:10:30.764519"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:10:30.769850"], ["updated_at", "2016-12-07 20:10:30.769850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:10:30.772936"], ["updated_at", "2016-12-07 20:10:30.772936"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:10:30.773979' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:10:30.776369"], ["updated_at", "2016-12-07 20:10:30.776369"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:10:30.777137' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:30.784014"], ["updated_at", "2016-12-07 20:10:30.784014"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:10:30.786593"], ["updated_at", "2016-12-07 20:10:30.786593"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:10:30.789157"], ["updated_at", "2016-12-07 20:10:30.789157"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:10:30.790091' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:30.795405"], ["updated_at", "2016-12-07 20:10:30.795405"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:10:30.798858"], ["updated_at", "2016-12-07 20:10:30.798858"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:10:30.801144"], ["updated_at", "2016-12-07 20:10:30.801144"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:10:30.802009' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:10:30.808167"], ["updated_at", "2016-12-07 20:10:30.808167"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:10:30.810873"], ["updated_at", "2016-12-07 20:10:30.810873"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:10:30.813102"], ["updated_at", "2016-12-07 20:10:30.813102"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:10:30.813993' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.818999"], ["updated_at", "2016-12-07 20:10:30.818999"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:10:30.822249"], ["updated_at", "2016-12-07 20:10:30.822249"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.824301"], ["updated_at", "2016-12-07 20:10:30.824301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:10:30.844475"], ["updated_at", "2016-12-07 20:10:30.844475"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:10:30.847286"], ["updated_at", "2016-12-07 20:10:30.847286"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:10:30.850272"], ["updated_at", "2016-12-07 20:10:30.850272"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.852100"], ["updated_at", "2016-12-07 20:10:30.852100"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:10:30.853703"], ["updated_at", "2016-12-07 20:10:30.853703"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:10:30.855799"], ["updated_at", "2016-12-07 20:10:30.855799"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.5ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.6ms) DELETE FROM "pulitzer_content_element_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.7ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.7ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.6ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (1.1ms) DELETE FROM "pulitzer_layouts"; +  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (1.2ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:11:34.602768"], ["updated_at", "2016-12-07 20:11:34.602768"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.0ms) +Completed 200 OK in 48ms (Views: 28.1ms | ActiveRecord: 0.4ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:11:34.665964"], ["updated_at", "2016-12-07 20:11:34.665964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (6.8ms) +Completed 200 OK in 15ms (Views: 8.7ms | ActiveRecord: 0.6ms) + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:11:34.690616"], ["updated_at", "2016-12-07 20:11:34.690616"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (10.4ms) +Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:11:34.714096"], ["updated_at", "2016-12-07 20:11:34.714096"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.5ms) +Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:11:34.733929"], ["updated_at", "2016-12-07 20:11:34.733929"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:11:34.750785"], ["updated_at", "2016-12-07 20:11:34.750785"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (13.1ms) +Completed 200 OK in 27ms (Views: 17.9ms | ActiveRecord: 0.7ms) +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:11:34.795016"], ["updated_at", "2016-12-07 20:11:34.795016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (10.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (12.3ms) +Completed 200 OK in 25ms (Views: 14.2ms | ActiveRecord: 1.1ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:11:34.832552"], ["updated_at", "2016-12-07 20:11:34.832552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (11.8ms) +Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.3ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:11:34.859449"], ["updated_at", "2016-12-07 20:11:34.859449"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:11:34.862820"], ["updated_at", "2016-12-07 20:11:34.862820"]] +  (12.5ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (5.6ms) +Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.4ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:34.902520"], ["updated_at", "2016-12-07 20:11:34.902520"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:11:34.996259"], ["updated_at", "2016-12-07 20:11:34.996259"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:34.998820"], ["updated_at", "2016-12-07 20:11:34.998820"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.001400"], ["updated_at", "2016-12-07 20:11:35.001400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:11:35.013487"], ["updated_at", "2016-12-07 20:11:35.013487"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.015782"], ["updated_at", "2016-12-07 20:11:35.015782"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:11:35.018519"], ["updated_at", "2016-12-07 20:11:35.018519"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.019948"], ["updated_at", "2016-12-07 20:11:35.019948"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:11:35.022876"], ["updated_at", "2016-12-07 20:11:35.022876"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.024651"], ["updated_at", "2016-12-07 20:11:35.024651"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:11:35.036335"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (1.1ms) +Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 1.3ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (1.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.086135"], ["updated_at", "2016-12-07 20:11:35.086135"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:11:35.091243"], ["updated_at", "2016-12-07 20:11:35.091243"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.092751"], ["updated_at", "2016-12-07 20:11:35.092751"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.094571"], ["updated_at", "2016-12-07 20:11:35.094571"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:11:35.097855"], ["updated_at", "2016-12-07 20:11:35.097855"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.100393"], ["updated_at", "2016-12-07 20:11:35.100393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:11:35.104338"], ["updated_at", "2016-12-07 20:11:35.104338"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.106162"], ["updated_at", "2016-12-07 20:11:35.106162"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:11:35.109649"], ["updated_at", "2016-12-07 20:11:35.109649"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.111437"], ["updated_at", "2016-12-07 20:11:35.111437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:11:35.119658"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.122105"], ["updated_at", "2016-12-07 20:11:35.122105"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 46441a78-bdc4-443d-9f59-193dc206baef) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.2ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.100393"], ["updated_at", "2016-12-07 20:11:35.100393"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.143253"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.106162"], ["updated_at", "2016-12-07 20:11:35.106162"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.147383"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.111437"], ["updated_at", "2016-12-07 20:11:35.111437"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.151445"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.153960"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [46441a78-bdc4-443d-9f59-193dc206baef] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.51ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:11:35.165082"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.4ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.3ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.0ms) + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.4ms) + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.4ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (30.4ms) +Completed 200 OK in 36ms (Views: 0.4ms | ActiveRecord: 1.1ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.207193"], ["updated_at", "2016-12-07 20:11:35.207193"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:11:35.210040"], ["updated_at", "2016-12-07 20:11:35.210040"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.211834"], ["updated_at", "2016-12-07 20:11:35.211834"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.213423"], ["updated_at", "2016-12-07 20:11:35.213423"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:11:35.215929"], ["updated_at", "2016-12-07 20:11:35.215929"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.217308"], ["updated_at", "2016-12-07 20:11:35.217308"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:11:35.220276"], ["updated_at", "2016-12-07 20:11:35.220276"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.221797"], ["updated_at", "2016-12-07 20:11:35.221797"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:11:35.224687"], ["updated_at", "2016-12-07 20:11:35.224687"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.226439"], ["updated_at", "2016-12-07 20:11:35.226439"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:11:35.230104"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.232377"], ["updated_at", "2016-12-07 20:11:35.232377"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: fe4296ba-38fd-4e3c-aefe-97689d92ed7b) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.217308"], ["updated_at", "2016-12-07 20:11:35.217308"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.240442"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.221797"], ["updated_at", "2016-12-07 20:11:35.221797"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.246416"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.226439"], ["updated_at", "2016-12-07 20:11:35.226439"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.251139"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.253631"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [fe4296ba-38fd-4e3c-aefe-97689d92ed7b] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.12ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:11:35.265657"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.268249"], ["updated_at", "2016-12-07 20:11:35.268249"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 6a4c1613-087a-49db-bf56-cf223939e717) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.217308"], ["updated_at", "2016-12-07 20:11:35.217308"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:11:35.275751"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.221797"], ["updated_at", "2016-12-07 20:11:35.221797"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:11:35.279673"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.226439"], ["updated_at", "2016-12-07 20:11:35.226439"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:11:35.284106"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.286442"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [6a4c1613-087a-49db-bf56-cf223939e717] Performed Pulitzer::CloneVersionJob from Inline(default) in 19.47ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (6.2ms) +Completed 200 OK in 33ms (Views: 0.3ms | ActiveRecord: 2.0ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:11:35.308295"], ["updated_at", "2016-12-07 20:11:35.308295"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:35.311875"], ["updated_at", "2016-12-07 20:11:35.311875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:11:35.326335"], ["updated_at", "2016-12-07 20:11:35.326335"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:35.328706"], ["updated_at", "2016-12-07 20:11:35.328706"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) +Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:11:35.338937"], ["updated_at", "2016-12-07 20:11:35.338937"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:35.342223"], ["updated_at", "2016-12-07 20:11:35.342223"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:11:35.352104"], ["updated_at", "2016-12-07 20:11:35.352104"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:11:35.364552"], ["updated_at", "2016-12-07 20:11:35.364552"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.4ms) +Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:11:35.409965"], ["updated_at", "2016-12-07 20:11:35.409965"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.5ms) +Completed 200 OK in 9ms (Views: 3.8ms | ActiveRecord: 0.9ms) +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:11:35.426706"], ["updated_at", "2016-12-07 20:11:35.426706"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:11:35.431783"], ["updated_at", "2016-12-07 20:11:35.431783"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 7ms (Views: 2.6ms | ActiveRecord: 0.4ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:11:35.448486"], ["updated_at", "2016-12-07 20:11:35.448486"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:11:35.475146"], ["updated_at", "2016-12-07 20:11:35.475146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.4ms) +Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:11:35.487440"], ["updated_at", "2016-12-07 20:11:35.487440"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:11:35.505948"], ["updated_at", "2016-12-07 20:11:35.505948"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:11:35.517289"], ["updated_at", "2016-12-07 20:11:35.517289"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:11:35.526840"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.3ms) +Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:11:35.532400"], ["updated_at", "2016-12-07 20:11:35.532400"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:11:35.535725"], ["updated_at", "2016-12-07 20:11:35.535725"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:11:35.546526"], ["updated_at", "2016-12-07 20:11:35.546526"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:11:35.549667"], ["updated_at", "2016-12-07 20:11:35.549667"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:11:35.561872"], ["updated_at", "2016-12-07 20:11:35.561872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:11:35.574865"], ["updated_at", "2016-12-07 20:11:35.574865"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.590029"], ["updated_at", "2016-12-07 20:11:35.590029"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:11:35.593143"], ["updated_at", "2016-12-07 20:11:35.593143"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.594713"], ["updated_at", "2016-12-07 20:11:35.594713"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.596081"], ["updated_at", "2016-12-07 20:11:35.596081"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:11:35.598689"], ["updated_at", "2016-12-07 20:11:35.598689"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.600190"], ["updated_at", "2016-12-07 20:11:35.600190"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:11:35.602760"], ["updated_at", "2016-12-07 20:11:35.602760"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.604097"], ["updated_at", "2016-12-07 20:11:35.604097"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:11:35.607016"], ["updated_at", "2016-12-07 20:11:35.607016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.609443"], ["updated_at", "2016-12-07 20:11:35.609443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.612707"], ["updated_at", "2016-12-07 20:11:35.612707"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.600190"], ["updated_at", "2016-12-07 20:11:35.600190"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.618440"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.604097"], ["updated_at", "2016-12-07 20:11:35.604097"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.622429"], ["id", 5]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.609443"], ["updated_at", "2016-12-07 20:11:35.609443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.628887"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.631032"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.639520"], ["updated_at", "2016-12-07 20:11:35.639520"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:11:35.642559"], ["updated_at", "2016-12-07 20:11:35.642559"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.644180"], ["updated_at", "2016-12-07 20:11:35.644180"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.645532"], ["updated_at", "2016-12-07 20:11:35.645532"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.651960"], ["updated_at", "2016-12-07 20:11:35.651960"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.664261"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.672417"], ["updated_at", "2016-12-07 20:11:35.672417"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:11:35.676016"], ["updated_at", "2016-12-07 20:11:35.676016"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.677592"], ["updated_at", "2016-12-07 20:11:35.677592"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.679120"], ["updated_at", "2016-12-07 20:11:35.679120"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:11:35.681594"], ["updated_at", "2016-12-07 20:11:35.681594"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.683025"], ["updated_at", "2016-12-07 20:11:35.683025"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:11:35.685344"], ["updated_at", "2016-12-07 20:11:35.685344"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.687252"], ["updated_at", "2016-12-07 20:11:35.687252"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:11:35.690269"], ["updated_at", "2016-12-07 20:11:35.690269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.693887"], ["updated_at", "2016-12-07 20:11:35.693887"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.695974"], ["updated_at", "2016-12-07 20:11:35.695974"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.683025"], ["updated_at", "2016-12-07 20:11:35.683025"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.701862"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.687252"], ["updated_at", "2016-12-07 20:11:35.687252"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.705699"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.693887"], ["updated_at", "2016-12-07 20:11:35.693887"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.711695"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.714251"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.725283"], ["updated_at", "2016-12-07 20:11:35.725283"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:11:35.733301"], ["updated_at", "2016-12-07 20:11:35.733301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:11:35.734942"], ["updated_at", "2016-12-07 20:11:35.734942"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:11:35.737297"], ["updated_at", "2016-12-07 20:11:35.737297"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:11:35.738534"], ["updated_at", "2016-12-07 20:11:35.738534"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:11:35.740786"], ["updated_at", "2016-12-07 20:11:35.740786"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:11:35.742133"], ["updated_at", "2016-12-07 20:11:35.742133"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.752760"], ["updated_at", "2016-12-07 20:11:35.752760"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.755733"], ["updated_at", "2016-12-07 20:11:35.755733"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.760046"], ["updated_at", "2016-12-07 20:11:35.760046"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.765695"], ["updated_at", "2016-12-07 20:11:35.765695"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:11:35.768427"], ["updated_at", "2016-12-07 20:11:35.768427"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:11:35.769787"], ["updated_at", "2016-12-07 20:11:35.769787"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:11:35.771975"], ["updated_at", "2016-12-07 20:11:35.771975"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:11:35.774060"], ["updated_at", "2016-12-07 20:11:35.774060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:11:35.777640"], ["updated_at", "2016-12-07 20:11:35.777640"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:11:35.778939"], ["updated_at", "2016-12-07 20:11:35.778939"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:11:35.782530"], ["updated_at", "2016-12-07 20:11:35.782530"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.784083"], ["updated_at", "2016-12-07 20:11:35.784083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.790035"], ["updated_at", "2016-12-07 20:11:35.790035"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.794175"], ["updated_at", "2016-12-07 20:11:35.794175"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.798053"], ["updated_at", "2016-12-07 20:11:35.798053"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.806708"], ["updated_at", "2016-12-07 20:11:35.806708"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:11:35.815158"], ["updated_at", "2016-12-07 20:11:35.815158"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.816797"], ["updated_at", "2016-12-07 20:11:35.816797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.832168"], ["updated_at", "2016-12-07 20:11:35.832168"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:11:35.834655"], ["updated_at", "2016-12-07 20:11:35.834655"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.836179"], ["updated_at", "2016-12-07 20:11:35.836179"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.837607"], ["updated_at", "2016-12-07 20:11:35.837607"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:11:35.840872"], ["updated_at", "2016-12-07 20:11:35.840872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.843456"], ["updated_at", "2016-12-07 20:11:35.843456"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:11:35.846639"], ["updated_at", "2016-12-07 20:11:35.846639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.848185"], ["updated_at", "2016-12-07 20:11:35.848185"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:11:35.852066"], ["updated_at", "2016-12-07 20:11:35.852066"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.854219"], ["updated_at", "2016-12-07 20:11:35.854219"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:11:35.856822"], ["id", 2]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.861806"], ["updated_at", "2016-12-07 20:11:35.861806"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.843456"], ["updated_at", "2016-12-07 20:11:35.843456"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.870695"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.848185"], ["updated_at", "2016-12-07 20:11:35.848185"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.875069"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.854219"], ["updated_at", "2016-12-07 20:11:35.854219"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.879219"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.881458"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f3b3fc0-1970-4b5f-b52f-ea9ab6e6bc5f] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.77ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.895476"], ["updated_at", "2016-12-07 20:11:35.895476"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:11:35.898129"], ["updated_at", "2016-12-07 20:11:35.898129"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.899746"], ["updated_at", "2016-12-07 20:11:35.899746"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:35.901138"], ["updated_at", "2016-12-07 20:11:35.901138"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:11:35.904046"], ["updated_at", "2016-12-07 20:11:35.904046"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.905511"], ["updated_at", "2016-12-07 20:11:35.905511"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:11:35.908408"], ["updated_at", "2016-12-07 20:11:35.908408"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.910075"], ["updated_at", "2016-12-07 20:11:35.910075"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:11:35.923409"], ["updated_at", "2016-12-07 20:11:35.923409"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:35.925763"], ["updated_at", "2016-12-07 20:11:35.925763"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:11:35.929588"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.933296"], ["updated_at", "2016-12-07 20:11:35.933296"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 77c86744-864c-4a7e-b9fc-4c9580773128) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.905511"], ["updated_at", "2016-12-07 20:11:35.905511"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.943479"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.910075"], ["updated_at", "2016-12-07 20:11:35.910075"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.947962"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.925763"], ["updated_at", "2016-12-07 20:11:35.925763"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:35.952097"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.954249"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [77c86744-864c-4a7e-b9fc-4c9580773128] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.08ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:11:35.961111"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:35.963694"], ["updated_at", "2016-12-07 20:11:35.963694"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: b1931922-ce5e-4998-af3c-b79ad9608f74) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:35.905511"], ["updated_at", "2016-12-07 20:11:35.905511"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:11:35.973061"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:35.910075"], ["updated_at", "2016-12-07 20:11:35.910075"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:11:35.978201"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:35.925763"], ["updated_at", "2016-12-07 20:11:35.925763"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:11:35.982244"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:35.984306"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [b1931922-ce5e-4998-af3c-b79ad9608f74] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.7ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:35.997202"], ["updated_at", "2016-12-07 20:11:35.997202"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:11:35.999744"], ["updated_at", "2016-12-07 20:11:35.999744"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.001385"], ["updated_at", "2016-12-07 20:11:36.001385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.003536"], ["updated_at", "2016-12-07 20:11:36.003536"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:11:36.006172"], ["updated_at", "2016-12-07 20:11:36.006172"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.008064"], ["updated_at", "2016-12-07 20:11:36.008064"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:11:36.010798"], ["updated_at", "2016-12-07 20:11:36.010798"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.012281"], ["updated_at", "2016-12-07 20:11:36.012281"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:11:36.014632"], ["updated_at", "2016-12-07 20:11:36.014632"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.015933"], ["updated_at", "2016-12-07 20:11:36.015933"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:11:36.018086"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:36.020500"], ["updated_at", "2016-12-07 20:11:36.020500"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: ddfe34e2-f9c6-4e31-853f-3c72cccf8a04) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:36.008064"], ["updated_at", "2016-12-07 20:11:36.008064"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:36.029433"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:36.012281"], ["updated_at", "2016-12-07 20:11:36.012281"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:36.035345"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:36.015933"], ["updated_at", "2016-12-07 20:11:36.015933"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:36.039338"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:36.043407"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddfe34e2-f9c6-4e31-853f-3c72cccf8a04] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.11ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:11:36.049860"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:11:36.060477"], ["updated_at", "2016-12-07 20:11:36.060477"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.063011"], ["updated_at", "2016-12-07 20:11:36.063011"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:11:36.065063"], ["updated_at", "2016-12-07 20:11:36.065063"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.066568"], ["updated_at", "2016-12-07 20:11:36.066568"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.068229"], ["updated_at", "2016-12-07 20:11:36.068229"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:11:36.070659"], ["updated_at", "2016-12-07 20:11:36.070659"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.072084"], ["updated_at", "2016-12-07 20:11:36.072084"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:11:36.075425"], ["updated_at", "2016-12-07 20:11:36.075425"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.076913"], ["updated_at", "2016-12-07 20:11:36.076913"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:11:36.079244"], ["updated_at", "2016-12-07 20:11:36.079244"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.080530"], ["updated_at", "2016-12-07 20:11:36.080530"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.086366"], ["updated_at", "2016-12-07 20:11:36.086366"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:11:36.088866"], ["updated_at", "2016-12-07 20:11:36.088866"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.091051"], ["updated_at", "2016-12-07 20:11:36.091051"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:11:36.095988"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:11:36.098317"], ["updated_at", "2016-12-07 20:11:36.098317"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:36.072084"], ["updated_at", "2016-12-07 20:11:36.072084"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:36.105781"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:11:36.076913"], ["updated_at", "2016-12-07 20:11:36.076913"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:36.111763"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:11:36.080530"], ["updated_at", "2016-12-07 20:11:36.080530"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:11:36.115916"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:11:36.118512"], ["updated_at", "2016-12-07 20:11:36.118512"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:11:36.120699"], ["updated_at", "2016-12-07 20:11:36.120699"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:11:36.123051"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cf35dbc1-eeb5-460b-bcc0-a9994b6a10c7] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.36ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:11:36.135231"], ["updated_at", "2016-12-07 20:11:36.135231"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:11:36.145729"], ["updated_at", "2016-12-07 20:11:36.145729"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:11:36.150853"], ["updated_at", "2016-12-07 20:11:36.150853"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:11:36.156145"], ["updated_at", "2016-12-07 20:11:36.156145"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:11:36.161656"], ["updated_at", "2016-12-07 20:11:36.161656"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:36.163254"], ["updated_at", "2016-12-07 20:11:36.163254"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:11:36.169147"], ["updated_at", "2016-12-07 20:11:36.169147"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:11:36.171012"], ["updated_at", "2016-12-07 20:11:36.171012"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:11:36.177081"], ["updated_at", "2016-12-07 20:11:36.177081"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:11:36.181937"], ["updated_at", "2016-12-07 20:11:36.181937"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:11:36.187005"], ["updated_at", "2016-12-07 20:11:36.187005"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.311903"], ["updated_at", "2016-12-07 20:11:36.311903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.3ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.336390"], ["updated_at", "2016-12-07 20:11:36.336390"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:11:36.339182"], ["updated_at", "2016-12-07 20:11:36.339182"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.341026"], ["updated_at", "2016-12-07 20:11:36.341026"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.343013"], ["updated_at", "2016-12-07 20:11:36.343013"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:11:36.344571"], ["updated_at", "2016-12-07 20:11:36.344571"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.350507"], ["updated_at", "2016-12-07 20:11:36.350507"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:11:36.353739"], ["updated_at", "2016-12-07 20:11:36.353739"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.355369"], ["updated_at", "2016-12-07 20:11:36.355369"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.3ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.362123"], ["updated_at", "2016-12-07 20:11:36.362123"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:11:36.365297"], ["updated_at", "2016-12-07 20:11:36.365297"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.366900"], ["updated_at", "2016-12-07 20:11:36.366900"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:11:36.369188"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:11:36.378088"], ["updated_at", "2016-12-07 20:11:36.378088"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.381412"], ["updated_at", "2016-12-07 20:11:36.381412"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:11:36.384081"], ["updated_at", "2016-12-07 20:11:36.384081"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.385793"], ["updated_at", "2016-12-07 20:11:36.385793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.387366"], ["updated_at", "2016-12-07 20:11:36.387366"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.411094"], ["updated_at", "2016-12-07 20:11:36.411094"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:11:36.414720"], ["updated_at", "2016-12-07 20:11:36.414720"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:11:36.459639"], ["updated_at", "2016-12-07 20:11:36.459639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:36.474699"], ["updated_at", "2016-12-07 20:11:36.474699"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:11:36.477904"], ["updated_at", "2016-12-07 20:11:36.477904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.485791"], ["updated_at", "2016-12-07 20:11:36.485791"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:11:36.489326"], ["updated_at", "2016-12-07 20:11:36.489326"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.491676"], ["updated_at", "2016-12-07 20:11:36.491676"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:11:36.493384"], ["updated_at", "2016-12-07 20:11:36.493384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:11:36.503801"], ["updated_at", "2016-12-07 20:11:36.503801"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.508491"], ["updated_at", "2016-12-07 20:11:36.508491"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:36.517414"], ["updated_at", "2016-12-07 20:11:36.517414"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:11:36.519967"], ["updated_at", "2016-12-07 20:11:36.519967"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:11:36.526059"], ["updated_at", "2016-12-07 20:11:36.526059"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:11:36.528789"], ["updated_at", "2016-12-07 20:11:36.528789"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:11:36.529723' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:11:36.531792"], ["updated_at", "2016-12-07 20:11:36.531792"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:11:36.532617' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:36.540535"], ["updated_at", "2016-12-07 20:11:36.540535"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:11:36.543250"], ["updated_at", "2016-12-07 20:11:36.543250"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:11:36.545428"], ["updated_at", "2016-12-07 20:11:36.545428"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:11:36.546242' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:36.550869"], ["updated_at", "2016-12-07 20:11:36.550869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:11:36.554721"], ["updated_at", "2016-12-07 20:11:36.554721"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:11:36.557606"], ["updated_at", "2016-12-07 20:11:36.557606"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:11:36.560243' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:11:36.564664"], ["updated_at", "2016-12-07 20:11:36.564664"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:11:36.567088"], ["updated_at", "2016-12-07 20:11:36.567088"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:11:36.569693"], ["updated_at", "2016-12-07 20:11:36.569693"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:11:36.570627' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.575403"], ["updated_at", "2016-12-07 20:11:36.575403"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:11:36.578385"], ["updated_at", "2016-12-07 20:11:36.578385"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.580074"], ["updated_at", "2016-12-07 20:11:36.580074"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:11:36.600598"], ["updated_at", "2016-12-07 20:11:36.600598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:11:36.603834"], ["updated_at", "2016-12-07 20:11:36.603834"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:11:36.606218"], ["updated_at", "2016-12-07 20:11:36.606218"]] + SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.608071"], ["updated_at", "2016-12-07 20:11:36.608071"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:11:36.611781"], ["updated_at", "2016-12-07 20:11:36.611781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:11:36.614260"], ["updated_at", "2016-12-07 20:11:36.614260"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.4ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.7ms) DELETE FROM "pulitzer_content_element_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.7ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.7ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.8ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.8ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:12:18.098827"], ["updated_at", "2016-12-07 20:12:18.098827"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (4.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (18.9ms) +Completed 200 OK in 45ms (Views: 27.4ms | ActiveRecord: 0.3ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:12:18.158639"], ["updated_at", "2016-12-07 20:12:18.158639"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (6.9ms) +Completed 200 OK in 15ms (Views: 8.7ms | ActiveRecord: 0.5ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:12:18.181369"], ["updated_at", "2016-12-07 20:12:18.181369"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (10.1ms) +Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:12:18.204337"], ["updated_at", "2016-12-07 20:12:18.204337"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.1ms) +Completed 200 OK in 10ms (Views: 5.5ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:12:18.224125"], ["updated_at", "2016-12-07 20:12:18.224125"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:12:18.242008"], ["updated_at", "2016-12-07 20:12:18.242008"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.5ms) +Completed 200 OK in 25ms (Views: 16.3ms | ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:12:18.282014"], ["updated_at", "2016-12-07 20:12:18.282014"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (2.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (9.8ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (11.5ms) +Completed 200 OK in 22ms (Views: 12.8ms | ActiveRecord: 0.9ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:12:18.319002"], ["updated_at", "2016-12-07 20:12:18.319002"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (12.2ms) +Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.2ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:12:18.357426"], ["updated_at", "2016-12-07 20:12:18.357426"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:12:18.361228"], ["updated_at", "2016-12-07 20:12:18.361228"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (4.7ms) +Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:18.389025"], ["updated_at", "2016-12-07 20:12:18.389025"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:12:18.488551"], ["updated_at", "2016-12-07 20:12:18.488551"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:18.491044"], ["updated_at", "2016-12-07 20:12:18.491044"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:18.493006"], ["updated_at", "2016-12-07 20:12:18.493006"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:12:18.503933"], ["updated_at", "2016-12-07 20:12:18.503933"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.506183"], ["updated_at", "2016-12-07 20:12:18.506183"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:12:18.509345"], ["updated_at", "2016-12-07 20:12:18.509345"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.510808"], ["updated_at", "2016-12-07 20:12:18.510808"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:12:18.513182"], ["updated_at", "2016-12-07 20:12:18.513182"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.514557"], ["updated_at", "2016-12-07 20:12:18.514557"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:12:18.525063"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (1.3ms) +Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 1.4ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:18.580718"], ["updated_at", "2016-12-07 20:12:18.580718"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:12:18.583231"], ["updated_at", "2016-12-07 20:12:18.583231"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:18.584697"], ["updated_at", "2016-12-07 20:12:18.584697"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:18.586747"], ["updated_at", "2016-12-07 20:12:18.586747"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:12:18.589373"], ["updated_at", "2016-12-07 20:12:18.589373"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.590753"], ["updated_at", "2016-12-07 20:12:18.590753"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:12:18.594458"], ["updated_at", "2016-12-07 20:12:18.594458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.596575"], ["updated_at", "2016-12-07 20:12:18.596575"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:12:18.600426"], ["updated_at", "2016-12-07 20:12:18.600426"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.602293"], ["updated_at", "2016-12-07 20:12:18.602293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:12:18.609011"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:18.614299"], ["updated_at", "2016-12-07 20:12:18.614299"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 9ebf890e-dbde-46fd-b909-1261377f7226) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:18.590753"], ["updated_at", "2016-12-07 20:12:18.590753"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:18.633069"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:18.596575"], ["updated_at", "2016-12-07 20:12:18.596575"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:18.637650"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:18.602293"], ["updated_at", "2016-12-07 20:12:18.602293"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:18.641480"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:18.644346"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ebf890e-dbde-46fd-b909-1261377f7226] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.91ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:12:18.657903"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.1ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.4ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.1ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (4.2ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (9.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (31.6ms) +Completed 200 OK in 37ms (Views: 0.4ms | ActiveRecord: 0.9ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:18.701540"], ["updated_at", "2016-12-07 20:12:18.701540"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:12:18.704624"], ["updated_at", "2016-12-07 20:12:18.704624"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:18.706684"], ["updated_at", "2016-12-07 20:12:18.706684"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:18.708364"], ["updated_at", "2016-12-07 20:12:18.708364"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:12:18.711097"], ["updated_at", "2016-12-07 20:12:18.711097"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.712663"], ["updated_at", "2016-12-07 20:12:18.712663"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:12:18.715232"], ["updated_at", "2016-12-07 20:12:18.715232"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.716634"], ["updated_at", "2016-12-07 20:12:18.716634"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:12:18.718989"], ["updated_at", "2016-12-07 20:12:18.718989"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:18.720340"], ["updated_at", "2016-12-07 20:12:18.720340"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:12:18.723581"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:18.725859"], ["updated_at", "2016-12-07 20:12:18.725859"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: bd6e8417-9240-441b-90e4-63b75aa4241e) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:18.712663"], ["updated_at", "2016-12-07 20:12:18.712663"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:18.733419"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:18.716634"], ["updated_at", "2016-12-07 20:12:18.716634"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:18.739350"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:18.720340"], ["updated_at", "2016-12-07 20:12:18.720340"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:18.743408"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:18.745582"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [bd6e8417-9240-441b-90e4-63b75aa4241e] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.98ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:12:18.757494"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:18.760009"], ["updated_at", "2016-12-07 20:12:18.760009"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0e7f5de1-e74c-45cb-b4da-ccb85865569c) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:18.712663"], ["updated_at", "2016-12-07 20:12:18.712663"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:12:18.768158"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:18.716634"], ["updated_at", "2016-12-07 20:12:18.716634"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:12:18.772642"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:18.720340"], ["updated_at", "2016-12-07 20:12:18.720340"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:12:18.776651"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:18.778788"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0e7f5de1-e74c-45cb-b4da-ccb85865569c] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.08ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (7.2ms) +Completed 200 OK in 35ms (Views: 0.2ms | ActiveRecord: 2.1ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:12:18.804235"], ["updated_at", "2016-12-07 20:12:18.804235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:18.808228"], ["updated_at", "2016-12-07 20:12:18.808228"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) +Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:12:18.822102"], ["updated_at", "2016-12-07 20:12:18.822102"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:18.824385"], ["updated_at", "2016-12-07 20:12:18.824385"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:12:18.834819"], ["updated_at", "2016-12-07 20:12:18.834819"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:18.837449"], ["updated_at", "2016-12-07 20:12:18.837449"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:12:18.846354"], ["updated_at", "2016-12-07 20:12:18.846354"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.3ms) +Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:12:18.858196"], ["updated_at", "2016-12-07 20:12:18.858196"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.5ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:12:18.917966"], ["updated_at", "2016-12-07 20:12:18.917966"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.4ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:12:18.930528"], ["updated_at", "2016-12-07 20:12:18.930528"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:12:18.938436"], ["updated_at", "2016-12-07 20:12:18.938436"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:12:18.953431"], ["updated_at", "2016-12-07 20:12:18.953431"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 4ms (Views: 0.9ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:12:18.966078"], ["updated_at", "2016-12-07 20:12:18.966078"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:12:18.979019"], ["updated_at", "2016-12-07 20:12:18.979019"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:12:18.994461"], ["updated_at", "2016-12-07 20:12:18.994461"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.5ms) +Completed 409 Conflict in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:12:19.006733"], ["updated_at", "2016-12-07 20:12:19.006733"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:12:19.013046"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:12:19.020132"], ["updated_at", "2016-12-07 20:12:19.020132"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:12:19.023862"], ["updated_at", "2016-12-07 20:12:19.023862"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:12:19.035020"], ["updated_at", "2016-12-07 20:12:19.035020"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:12:19.038222"], ["updated_at", "2016-12-07 20:12:19.038222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:12:19.050916"], ["updated_at", "2016-12-07 20:12:19.050916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:12:19.061916"], ["updated_at", "2016-12-07 20:12:19.061916"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.074320"], ["updated_at", "2016-12-07 20:12:19.074320"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:12:19.076827"], ["updated_at", "2016-12-07 20:12:19.076827"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.078326"], ["updated_at", "2016-12-07 20:12:19.078326"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.079687"], ["updated_at", "2016-12-07 20:12:19.079687"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:12:19.082869"], ["updated_at", "2016-12-07 20:12:19.082869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.085084"], ["updated_at", "2016-12-07 20:12:19.085084"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:12:19.087752"], ["updated_at", "2016-12-07 20:12:19.087752"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.089399"], ["updated_at", "2016-12-07 20:12:19.089399"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:12:19.091906"], ["updated_at", "2016-12-07 20:12:19.091906"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.093232"], ["updated_at", "2016-12-07 20:12:19.093232"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.095823"], ["updated_at", "2016-12-07 20:12:19.095823"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.085084"], ["updated_at", "2016-12-07 20:12:19.085084"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.101399"], ["id", 4]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.089399"], ["updated_at", "2016-12-07 20:12:19.089399"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.107707"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.093232"], ["updated_at", "2016-12-07 20:12:19.093232"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.111695"], ["id", 6]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.114538"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.123381"], ["updated_at", "2016-12-07 20:12:19.123381"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:12:19.125801"], ["updated_at", "2016-12-07 20:12:19.125801"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.127240"], ["updated_at", "2016-12-07 20:12:19.127240"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.128577"], ["updated_at", "2016-12-07 20:12:19.128577"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.134397"], ["updated_at", "2016-12-07 20:12:19.134397"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.146088"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.154620"], ["updated_at", "2016-12-07 20:12:19.154620"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:12:19.157869"], ["updated_at", "2016-12-07 20:12:19.157869"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.159986"], ["updated_at", "2016-12-07 20:12:19.159986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.161454"], ["updated_at", "2016-12-07 20:12:19.161454"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:12:19.164199"], ["updated_at", "2016-12-07 20:12:19.164199"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.165667"], ["updated_at", "2016-12-07 20:12:19.165667"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:12:19.168345"], ["updated_at", "2016-12-07 20:12:19.168345"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.171466"], ["updated_at", "2016-12-07 20:12:19.171466"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:12:19.174711"], ["updated_at", "2016-12-07 20:12:19.174711"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.176598"], ["updated_at", "2016-12-07 20:12:19.176598"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.178439"], ["updated_at", "2016-12-07 20:12:19.178439"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.165667"], ["updated_at", "2016-12-07 20:12:19.165667"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.184273"], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.171466"], ["updated_at", "2016-12-07 20:12:19.171466"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.189188"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.176598"], ["updated_at", "2016-12-07 20:12:19.176598"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.193582"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.195695"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.204551"], ["updated_at", "2016-12-07 20:12:19.204551"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:12:19.211303"], ["updated_at", "2016-12-07 20:12:19.211303"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:12:19.213062"], ["updated_at", "2016-12-07 20:12:19.213062"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:12:19.215534"], ["updated_at", "2016-12-07 20:12:19.215534"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:12:19.216741"], ["updated_at", "2016-12-07 20:12:19.216741"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:12:19.218824"], ["updated_at", "2016-12-07 20:12:19.218824"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:12:19.220003"], ["updated_at", "2016-12-07 20:12:19.220003"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.229975"], ["updated_at", "2016-12-07 20:12:19.229975"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.233031"], ["updated_at", "2016-12-07 20:12:19.233031"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.235924"], ["updated_at", "2016-12-07 20:12:19.235924"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.242640"], ["updated_at", "2016-12-07 20:12:19.242640"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:12:19.245355"], ["updated_at", "2016-12-07 20:12:19.245355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:12:19.246677"], ["updated_at", "2016-12-07 20:12:19.246677"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:12:19.249083"], ["updated_at", "2016-12-07 20:12:19.249083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:12:19.250359"], ["updated_at", "2016-12-07 20:12:19.250359"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:12:19.253207"], ["updated_at", "2016-12-07 20:12:19.253207"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:12:19.255801"], ["updated_at", "2016-12-07 20:12:19.255801"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:12:19.259273"], ["updated_at", "2016-12-07 20:12:19.259273"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.260784"], ["updated_at", "2016-12-07 20:12:19.260784"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.266600"], ["updated_at", "2016-12-07 20:12:19.266600"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.271149"], ["updated_at", "2016-12-07 20:12:19.271149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.275715"], ["updated_at", "2016-12-07 20:12:19.275715"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.284173"], ["updated_at", "2016-12-07 20:12:19.284173"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:12:19.293273"], ["updated_at", "2016-12-07 20:12:19.293273"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.294744"], ["updated_at", "2016-12-07 20:12:19.294744"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.310798"], ["updated_at", "2016-12-07 20:12:19.310798"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:12:19.313853"], ["updated_at", "2016-12-07 20:12:19.313853"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.315667"], ["updated_at", "2016-12-07 20:12:19.315667"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.317497"], ["updated_at", "2016-12-07 20:12:19.317497"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:12:19.321516"], ["updated_at", "2016-12-07 20:12:19.321516"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.323086"], ["updated_at", "2016-12-07 20:12:19.323086"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:12:19.325635"], ["updated_at", "2016-12-07 20:12:19.325635"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.327099"], ["updated_at", "2016-12-07 20:12:19.327099"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:12:19.329663"], ["updated_at", "2016-12-07 20:12:19.329663"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.331153"], ["updated_at", "2016-12-07 20:12:19.331153"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:12:19.334658"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.339413"], ["updated_at", "2016-12-07 20:12:19.339413"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 61e0b52a-c099-47d0-b6f8-eb48bc759615) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.323086"], ["updated_at", "2016-12-07 20:12:19.323086"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.346986"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.327099"], ["updated_at", "2016-12-07 20:12:19.327099"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (11.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.362106"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.331153"], ["updated_at", "2016-12-07 20:12:19.331153"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.367434"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.370781"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [61e0b52a-c099-47d0-b6f8-eb48bc759615] Performed Pulitzer::CloneVersionJob from Inline(default) in 32.67ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.385018"], ["updated_at", "2016-12-07 20:12:19.385018"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:12:19.388007"], ["updated_at", "2016-12-07 20:12:19.388007"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.389683"], ["updated_at", "2016-12-07 20:12:19.389683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.391717"], ["updated_at", "2016-12-07 20:12:19.391717"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:12:19.394493"], ["updated_at", "2016-12-07 20:12:19.394493"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.396391"], ["updated_at", "2016-12-07 20:12:19.396391"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:12:19.399008"], ["updated_at", "2016-12-07 20:12:19.399008"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.400553"], ["updated_at", "2016-12-07 20:12:19.400553"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:12:19.403679"], ["updated_at", "2016-12-07 20:12:19.403679"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.405156"], ["updated_at", "2016-12-07 20:12:19.405156"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:12:19.407347"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.409714"], ["updated_at", "2016-12-07 20:12:19.409714"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 1e9bec97-4df7-45db-8933-4ac3b36a92ba) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.396391"], ["updated_at", "2016-12-07 20:12:19.396391"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.417249"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.400553"], ["updated_at", "2016-12-07 20:12:19.400553"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.423062"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.405156"], ["updated_at", "2016-12-07 20:12:19.405156"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.427746"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.430157"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1e9bec97-4df7-45db-8933-4ac3b36a92ba] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.0ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:12:19.439282"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.441856"], ["updated_at", "2016-12-07 20:12:19.441856"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e6a6c3a2-b912-499b-8b6d-dd610c9e8b78) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.396391"], ["updated_at", "2016-12-07 20:12:19.396391"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:12:19.449085"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.400553"], ["updated_at", "2016-12-07 20:12:19.400553"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:12:19.453099"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.405156"], ["updated_at", "2016-12-07 20:12:19.405156"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:12:19.457068"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.460263"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [e6a6c3a2-b912-499b-8b6d-dd610c9e8b78] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.63ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.473135"], ["updated_at", "2016-12-07 20:12:19.473135"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:12:19.475676"], ["updated_at", "2016-12-07 20:12:19.475676"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.477130"], ["updated_at", "2016-12-07 20:12:19.477130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.478747"], ["updated_at", "2016-12-07 20:12:19.478747"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:12:19.481154"], ["updated_at", "2016-12-07 20:12:19.481154"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.482592"], ["updated_at", "2016-12-07 20:12:19.482592"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:12:19.484951"], ["updated_at", "2016-12-07 20:12:19.484951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.486677"], ["updated_at", "2016-12-07 20:12:19.486677"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:12:19.490735"], ["updated_at", "2016-12-07 20:12:19.490735"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.492734"], ["updated_at", "2016-12-07 20:12:19.492734"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:12:19.495368"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.497892"], ["updated_at", "2016-12-07 20:12:19.497892"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7b23f291-0c04-4d2c-b828-53516f7b2c10) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.482592"], ["updated_at", "2016-12-07 20:12:19.482592"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.506697"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.486677"], ["updated_at", "2016-12-07 20:12:19.486677"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.511881"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.492734"], ["updated_at", "2016-12-07 20:12:19.492734"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.515845"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.518173"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7b23f291-0c04-4d2c-b828-53516f7b2c10] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.43ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:12:19.526031"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:12:19.537684"], ["updated_at", "2016-12-07 20:12:19.537684"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.540772"], ["updated_at", "2016-12-07 20:12:19.540772"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:12:19.543471"], ["updated_at", "2016-12-07 20:12:19.543471"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.545135"], ["updated_at", "2016-12-07 20:12:19.545135"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.546479"], ["updated_at", "2016-12-07 20:12:19.546479"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:12:19.548758"], ["updated_at", "2016-12-07 20:12:19.548758"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.550157"], ["updated_at", "2016-12-07 20:12:19.550157"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:12:19.553195"], ["updated_at", "2016-12-07 20:12:19.553195"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.554679"], ["updated_at", "2016-12-07 20:12:19.554679"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:12:19.557013"], ["updated_at", "2016-12-07 20:12:19.557013"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.558320"], ["updated_at", "2016-12-07 20:12:19.558320"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.566193"], ["updated_at", "2016-12-07 20:12:19.566193"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:12:19.569322"], ["updated_at", "2016-12-07 20:12:19.569322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:12:19.572616"], ["updated_at", "2016-12-07 20:12:19.572616"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:12:19.576290"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.577887"], ["updated_at", "2016-12-07 20:12:19.577887"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 01d78bba-f68e-4395-b20a-ac8aeb56ee6d) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.550157"], ["updated_at", "2016-12-07 20:12:19.550157"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.3ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.587872"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:12:19.554679"], ["updated_at", "2016-12-07 20:12:19.554679"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.592230"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:12:19.558320"], ["updated_at", "2016-12-07 20:12:19.558320"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:12:19.596612"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:12:19.599146"], ["updated_at", "2016-12-07 20:12:19.599146"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:12:19.600550"], ["updated_at", "2016-12-07 20:12:19.600550"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:12:19.601860"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [01d78bba-f68e-4395-b20a-ac8aeb56ee6d] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.36ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:12:19.613611"], ["updated_at", "2016-12-07 20:12:19.613611"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:12:19.624319"], ["updated_at", "2016-12-07 20:12:19.624319"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:12:19.628759"], ["updated_at", "2016-12-07 20:12:19.628759"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:12:19.632892"], ["updated_at", "2016-12-07 20:12:19.632892"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:12:19.637815"], ["updated_at", "2016-12-07 20:12:19.637815"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.639439"], ["updated_at", "2016-12-07 20:12:19.639439"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:12:19.644062"], ["updated_at", "2016-12-07 20:12:19.644062"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:12:19.646224"], ["updated_at", "2016-12-07 20:12:19.646224"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:12:19.653337"], ["updated_at", "2016-12-07 20:12:19.653337"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:12:19.658342"], ["updated_at", "2016-12-07 20:12:19.658342"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:12:19.663437"], ["updated_at", "2016-12-07 20:12:19.663437"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.791203"], ["updated_at", "2016-12-07 20:12:19.791203"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.2ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) rollback transaction +  (0.3ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.816944"], ["updated_at", "2016-12-07 20:12:19.816944"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:12:19.822772"], ["updated_at", "2016-12-07 20:12:19.822772"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.824683"], ["updated_at", "2016-12-07 20:12:19.824683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.826739"], ["updated_at", "2016-12-07 20:12:19.826739"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.828237"], ["updated_at", "2016-12-07 20:12:19.828237"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.834060"], ["updated_at", "2016-12-07 20:12:19.834060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:12:19.838253"], ["updated_at", "2016-12-07 20:12:19.838253"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.840031"], ["updated_at", "2016-12-07 20:12:19.840031"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.844365"], ["updated_at", "2016-12-07 20:12:19.844365"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:12:19.847018"], ["updated_at", "2016-12-07 20:12:19.847018"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.848635"], ["updated_at", "2016-12-07 20:12:19.848635"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:12:19.851029"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:12:19.859015"], ["updated_at", "2016-12-07 20:12:19.859015"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.861939"], ["updated_at", "2016-12-07 20:12:19.861939"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:12:19.864840"], ["updated_at", "2016-12-07 20:12:19.864840"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.866816"], ["updated_at", "2016-12-07 20:12:19.866816"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.868664"], ["updated_at", "2016-12-07 20:12:19.868664"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.893869"], ["updated_at", "2016-12-07 20:12:19.893869"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:12:19.897924"], ["updated_at", "2016-12-07 20:12:19.897924"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:12:19.964509"], ["updated_at", "2016-12-07 20:12:19.964509"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:19.979723"], ["updated_at", "2016-12-07 20:12:19.979723"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:12:19.982073"], ["updated_at", "2016-12-07 20:12:19.982073"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:19.991770"], ["updated_at", "2016-12-07 20:12:19.991770"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:12:19.994582"], ["updated_at", "2016-12-07 20:12:19.994582"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:19.996248"], ["updated_at", "2016-12-07 20:12:19.996248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:12:19.998130"], ["updated_at", "2016-12-07 20:12:19.998130"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:12:20.000276"], ["updated_at", "2016-12-07 20:12:20.000276"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:12:20.006510"], ["updated_at", "2016-12-07 20:12:20.006510"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:20.014156"], ["updated_at", "2016-12-07 20:12:20.014156"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:12:20.016792"], ["updated_at", "2016-12-07 20:12:20.016792"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:12:20.022861"], ["updated_at", "2016-12-07 20:12:20.022861"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:12:20.026004"], ["updated_at", "2016-12-07 20:12:20.026004"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:12:20.027442' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:12:20.030153"], ["updated_at", "2016-12-07 20:12:20.030153"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:12:20.030990' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.3ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:20.039415"], ["updated_at", "2016-12-07 20:12:20.039415"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:12:20.042046"], ["updated_at", "2016-12-07 20:12:20.042046"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:12:20.044279"], ["updated_at", "2016-12-07 20:12:20.044279"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:12:20.045369' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:20.049777"], ["updated_at", "2016-12-07 20:12:20.049777"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:12:20.052345"], ["updated_at", "2016-12-07 20:12:20.052345"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:12:20.055331"], ["updated_at", "2016-12-07 20:12:20.055331"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:12:20.056208' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:12:20.060401"], ["updated_at", "2016-12-07 20:12:20.060401"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:12:20.062942"], ["updated_at", "2016-12-07 20:12:20.062942"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:12:20.065210"], ["updated_at", "2016-12-07 20:12:20.065210"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:12:20.066038' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:20.072582"], ["updated_at", "2016-12-07 20:12:20.072582"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:12:20.075740"], ["updated_at", "2016-12-07 20:12:20.075740"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:20.077414"], ["updated_at", "2016-12-07 20:12:20.077414"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.3ms) begin transaction +  (0.3ms) commit transaction +  (0.2ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:12:20.098059"], ["updated_at", "2016-12-07 20:12:20.098059"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:12:20.102198"], ["updated_at", "2016-12-07 20:12:20.102198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:12:20.104928"], ["updated_at", "2016-12-07 20:12:20.104928"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:20.106875"], ["updated_at", "2016-12-07 20:12:20.106875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:12:20.108607"], ["updated_at", "2016-12-07 20:12:20.108607"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:12:20.111248"], ["updated_at", "2016-12-07 20:12:20.111248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.5ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (2.9ms) DELETE FROM "pulitzer_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (1.0ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.7ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.7ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.6ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:25.021691"], ["updated_at", "2016-12-07 20:13:25.021691"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.2ms) +Completed 200 OK in 49ms (Views: 28.2ms | ActiveRecord: 0.4ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:25.083837"], ["updated_at", "2016-12-07 20:13:25.083837"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (7.1ms) +Completed 200 OK in 16ms (Views: 9.2ms | ActiveRecord: 0.6ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:25.107523"], ["updated_at", "2016-12-07 20:13:25.107523"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (9.4ms) +Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:25.129456"], ["updated_at", "2016-12-07 20:13:25.129456"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.5ms) +Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:25.151153"], ["updated_at", "2016-12-07 20:13:25.151153"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:25.167973"], ["updated_at", "2016-12-07 20:13:25.167973"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.6ms) +Completed 200 OK in 26ms (Views: 16.1ms | ActiveRecord: 0.6ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:25.208666"], ["updated_at", "2016-12-07 20:13:25.208666"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (2.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (9.4ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (11.0ms) +Completed 200 OK in 22ms (Views: 12.3ms | ActiveRecord: 0.9ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:25.243008"], ["updated_at", "2016-12-07 20:13:25.243008"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (11.9ms) +Completed 200 OK in 25ms (Views: 13.6ms | ActiveRecord: 0.2ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:25.281505"], ["updated_at", "2016-12-07 20:13:25.281505"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:25.284504"], ["updated_at", "2016-12-07 20:13:25.284504"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (5.2ms) +Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.3ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:25.311899"], ["updated_at", "2016-12-07 20:13:25.311899"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:13:25.412561"], ["updated_at", "2016-12-07 20:13:25.412561"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:25.415635"], ["updated_at", "2016-12-07 20:13:25.415635"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:25.417902"], ["updated_at", "2016-12-07 20:13:25.417902"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:13:25.430415"], ["updated_at", "2016-12-07 20:13:25.430415"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.433065"], ["updated_at", "2016-12-07 20:13:25.433065"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:13:25.436676"], ["updated_at", "2016-12-07 20:13:25.436676"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.438461"], ["updated_at", "2016-12-07 20:13:25.438461"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:13:25.441416"], ["updated_at", "2016-12-07 20:13:25.441416"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.443055"], ["updated_at", "2016-12-07 20:13:25.443055"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:25.453611"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (8.4ms) +Completed 500 Internal Server Error in 35ms +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:25.503797"], ["updated_at", "2016-12-07 20:13:25.503797"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:13:25.506266"], ["updated_at", "2016-12-07 20:13:25.506266"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:25.507814"], ["updated_at", "2016-12-07 20:13:25.507814"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:25.509213"], ["updated_at", "2016-12-07 20:13:25.509213"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:13:25.511818"], ["updated_at", "2016-12-07 20:13:25.511818"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.513675"], ["updated_at", "2016-12-07 20:13:25.513675"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:13:25.516514"], ["updated_at", "2016-12-07 20:13:25.516514"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.518167"], ["updated_at", "2016-12-07 20:13:25.518167"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:13:25.520937"], ["updated_at", "2016-12-07 20:13:25.520937"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.523324"], ["updated_at", "2016-12-07 20:13:25.523324"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:25.530287"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:25.533196"], ["updated_at", "2016-12-07 20:13:25.533196"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 40edd2be-63b6-44f0-aa00-6f9d5c9842fc) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:25.513675"], ["updated_at", "2016-12-07 20:13:25.513675"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:25.548246"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.2ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:25.518167"], ["updated_at", "2016-12-07 20:13:25.518167"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:25.558337"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:25.523324"], ["updated_at", "2016-12-07 20:13:25.523324"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:25.563034"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:25.565489"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [40edd2be-63b6-44f0-aa00-6f9d5c9842fc] Performed Pulitzer::CloneVersionJob from Inline(default) in 28.57ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:25.576876"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.1ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.1ms) + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.5ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (31.3ms) +Completed 200 OK in 37ms (Views: 0.4ms | ActiveRecord: 0.9ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:25.620343"], ["updated_at", "2016-12-07 20:13:25.620343"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:13:25.622804"], ["updated_at", "2016-12-07 20:13:25.622804"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:25.624270"], ["updated_at", "2016-12-07 20:13:25.624270"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:25.625734"], ["updated_at", "2016-12-07 20:13:25.625734"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:13:25.628376"], ["updated_at", "2016-12-07 20:13:25.628376"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.630094"], ["updated_at", "2016-12-07 20:13:25.630094"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:13:25.632453"], ["updated_at", "2016-12-07 20:13:25.632453"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.634638"], ["updated_at", "2016-12-07 20:13:25.634638"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:13:25.638163"], ["updated_at", "2016-12-07 20:13:25.638163"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:25.639976"], ["updated_at", "2016-12-07 20:13:25.639976"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:25.643829"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:25.646328"], ["updated_at", "2016-12-07 20:13:25.646328"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: cb32925c-9ad7-4296-9353-2ae30b7262a9) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:25.630094"], ["updated_at", "2016-12-07 20:13:25.630094"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:25.654647"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:25.634638"], ["updated_at", "2016-12-07 20:13:25.634638"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:25.659650"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:25.639976"], ["updated_at", "2016-12-07 20:13:25.639976"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:25.665913"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:25.668294"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [cb32925c-9ad7-4296-9353-2ae30b7262a9] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.24ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:25.678730"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:25.682078"], ["updated_at", "2016-12-07 20:13:25.682078"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7525b888-0db3-4a2e-9323-95407e25149b) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:25.630094"], ["updated_at", "2016-12-07 20:13:25.630094"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:25.689525"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:25.634638"], ["updated_at", "2016-12-07 20:13:25.634638"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:25.693760"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:25.639976"], ["updated_at", "2016-12-07 20:13:25.639976"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:25.698530"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:25.700778"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7525b888-0db3-4a2e-9323-95407e25149b] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.06ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (6.4ms) +Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 2.1ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:13:25.723243"], ["updated_at", "2016-12-07 20:13:25.723243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:25.727033"], ["updated_at", "2016-12-07 20:13:25.727033"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:13:25.741970"], ["updated_at", "2016-12-07 20:13:25.741970"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:25.744255"], ["updated_at", "2016-12-07 20:13:25.744255"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) +Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:13:25.754543"], ["updated_at", "2016-12-07 20:13:25.754543"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:25.757254"], ["updated_at", "2016-12-07 20:13:25.757254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) +Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.9ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:13:25.768981"], ["updated_at", "2016-12-07 20:13:25.768981"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:13:25.779847"], ["updated_at", "2016-12-07 20:13:25.779847"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:13:25.819492"], ["updated_at", "2016-12-07 20:13:25.819492"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.5ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:13:25.840929"], ["updated_at", "2016-12-07 20:13:25.840929"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.9ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:13:25.846597"], ["updated_at", "2016-12-07 20:13:25.846597"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:13:25.860278"], ["updated_at", "2016-12-07 20:13:25.860278"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 6ms (Views: 0.7ms | ActiveRecord: 0.5ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:13:25.887411"], ["updated_at", "2016-12-07 20:13:25.887411"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:13:25.898579"], ["updated_at", "2016-12-07 20:13:25.898579"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:13:25.914282"], ["updated_at", "2016-12-07 20:13:25.914282"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 409 Conflict in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:13:25.925775"], ["updated_at", "2016-12-07 20:13:25.925775"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:13:25.934171"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:13:25.939431"], ["updated_at", "2016-12-07 20:13:25.939431"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:13:25.942386"], ["updated_at", "2016-12-07 20:13:25.942386"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:13:25.954523"], ["updated_at", "2016-12-07 20:13:25.954523"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:13:25.957919"], ["updated_at", "2016-12-07 20:13:25.957919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 4ms (Views: 0.6ms | ActiveRecord: 0.4ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:13:25.971741"], ["updated_at", "2016-12-07 20:13:25.971741"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:13:25.981034"], ["updated_at", "2016-12-07 20:13:25.981034"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms) +  (0.5ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:25.995089"], ["updated_at", "2016-12-07 20:13:25.995089"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:13:25.998320"], ["updated_at", "2016-12-07 20:13:25.998320"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:25.999979"], ["updated_at", "2016-12-07 20:13:25.999979"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.001385"], ["updated_at", "2016-12-07 20:13:26.001385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:13:26.004999"], ["updated_at", "2016-12-07 20:13:26.004999"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.007557"], ["updated_at", "2016-12-07 20:13:26.007557"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:13:26.010279"], ["updated_at", "2016-12-07 20:13:26.010279"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.011776"], ["updated_at", "2016-12-07 20:13:26.011776"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:13:26.016705"], ["updated_at", "2016-12-07 20:13:26.016705"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.018125"], ["updated_at", "2016-12-07 20:13:26.018125"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.020734"], ["updated_at", "2016-12-07 20:13:26.020734"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.007557"], ["updated_at", "2016-12-07 20:13:26.007557"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.026254"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.011776"], ["updated_at", "2016-12-07 20:13:26.011776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.030961"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.018125"], ["updated_at", "2016-12-07 20:13:26.018125"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.035695"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.037899"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.046452"], ["updated_at", "2016-12-07 20:13:26.046452"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:13:26.049095"], ["updated_at", "2016-12-07 20:13:26.049095"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.050535"], ["updated_at", "2016-12-07 20:13:26.050535"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.051889"], ["updated_at", "2016-12-07 20:13:26.051889"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.057316"], ["updated_at", "2016-12-07 20:13:26.057316"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.071369"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.081025"], ["updated_at", "2016-12-07 20:13:26.081025"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:13:26.083768"], ["updated_at", "2016-12-07 20:13:26.083768"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.085251"], ["updated_at", "2016-12-07 20:13:26.085251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.087359"], ["updated_at", "2016-12-07 20:13:26.087359"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:13:26.091005"], ["updated_at", "2016-12-07 20:13:26.091005"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.092698"], ["updated_at", "2016-12-07 20:13:26.092698"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:13:26.095581"], ["updated_at", "2016-12-07 20:13:26.095581"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.099001"], ["updated_at", "2016-12-07 20:13:26.099001"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:13:26.101903"], ["updated_at", "2016-12-07 20:13:26.101903"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.103297"], ["updated_at", "2016-12-07 20:13:26.103297"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.104932"], ["updated_at", "2016-12-07 20:13:26.104932"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.092698"], ["updated_at", "2016-12-07 20:13:26.092698"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.113172"], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.099001"], ["updated_at", "2016-12-07 20:13:26.099001"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.118175"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.103297"], ["updated_at", "2016-12-07 20:13:26.103297"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.122000"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.124061"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.134252"], ["updated_at", "2016-12-07 20:13:26.134252"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:13:26.142157"], ["updated_at", "2016-12-07 20:13:26.142157"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:26.143815"], ["updated_at", "2016-12-07 20:13:26.143815"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:13:26.146730"], ["updated_at", "2016-12-07 20:13:26.146730"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:26.148181"], ["updated_at", "2016-12-07 20:13:26.148181"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:13:26.150399"], ["updated_at", "2016-12-07 20:13:26.150399"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:26.151726"], ["updated_at", "2016-12-07 20:13:26.151726"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.161920"], ["updated_at", "2016-12-07 20:13:26.161920"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.165176"], ["updated_at", "2016-12-07 20:13:26.165176"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.168644"], ["updated_at", "2016-12-07 20:13:26.168644"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.174237"], ["updated_at", "2016-12-07 20:13:26.174237"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:13:26.177245"], ["updated_at", "2016-12-07 20:13:26.177245"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:26.178649"], ["updated_at", "2016-12-07 20:13:26.178649"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:13:26.183161"], ["updated_at", "2016-12-07 20:13:26.183161"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:26.184481"], ["updated_at", "2016-12-07 20:13:26.184481"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:13:26.186528"], ["updated_at", "2016-12-07 20:13:26.186528"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:26.187687"], ["updated_at", "2016-12-07 20:13:26.187687"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:13:26.191214"], ["updated_at", "2016-12-07 20:13:26.191214"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.193775"], ["updated_at", "2016-12-07 20:13:26.193775"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.200871"], ["updated_at", "2016-12-07 20:13:26.200871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.205668"], ["updated_at", "2016-12-07 20:13:26.205668"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.211741"], ["updated_at", "2016-12-07 20:13:26.211741"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.221085"], ["updated_at", "2016-12-07 20:13:26.221085"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:13:26.227546"], ["updated_at", "2016-12-07 20:13:26.227546"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.229695"], ["updated_at", "2016-12-07 20:13:26.229695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.247762"], ["updated_at", "2016-12-07 20:13:26.247762"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:13:26.250470"], ["updated_at", "2016-12-07 20:13:26.250470"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.251973"], ["updated_at", "2016-12-07 20:13:26.251973"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.253385"], ["updated_at", "2016-12-07 20:13:26.253385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:13:26.257274"], ["updated_at", "2016-12-07 20:13:26.257274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.259146"], ["updated_at", "2016-12-07 20:13:26.259146"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:13:26.261681"], ["updated_at", "2016-12-07 20:13:26.261681"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.263218"], ["updated_at", "2016-12-07 20:13:26.263218"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:13:26.267755"], ["updated_at", "2016-12-07 20:13:26.267755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.269212"], ["updated_at", "2016-12-07 20:13:26.269212"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:26.271381"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.273724"], ["updated_at", "2016-12-07 20:13:26.273724"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 00c1ef9b-6702-474a-baa7-0c945417179f) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.259146"], ["updated_at", "2016-12-07 20:13:26.259146"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.282310"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.263218"], ["updated_at", "2016-12-07 20:13:26.263218"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.286530"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.269212"], ["updated_at", "2016-12-07 20:13:26.269212"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.290796"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.293094"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [00c1ef9b-6702-474a-baa7-0c945417179f] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.2ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.306279"], ["updated_at", "2016-12-07 20:13:26.306279"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:13:26.309765"], ["updated_at", "2016-12-07 20:13:26.309765"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.311516"], ["updated_at", "2016-12-07 20:13:26.311516"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.313446"], ["updated_at", "2016-12-07 20:13:26.313446"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:13:26.316297"], ["updated_at", "2016-12-07 20:13:26.316297"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.317864"], ["updated_at", "2016-12-07 20:13:26.317864"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:13:26.320404"], ["updated_at", "2016-12-07 20:13:26.320404"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.321812"], ["updated_at", "2016-12-07 20:13:26.321812"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:13:26.323995"], ["updated_at", "2016-12-07 20:13:26.323995"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.325225"], ["updated_at", "2016-12-07 20:13:26.325225"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:26.338173"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.343068"], ["updated_at", "2016-12-07 20:13:26.343068"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4806dd50-ec70-4d34-8a54-b3abd07c9d62) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.317864"], ["updated_at", "2016-12-07 20:13:26.317864"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.352818"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.321812"], ["updated_at", "2016-12-07 20:13:26.321812"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.356893"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.325225"], ["updated_at", "2016-12-07 20:13:26.325225"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.361853"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.364838"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4806dd50-ec70-4d34-8a54-b3abd07c9d62] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.26ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:26.371878"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.374354"], ["updated_at", "2016-12-07 20:13:26.374354"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 983bae69-b19c-4386-b2b1-3d9c57576969) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.317864"], ["updated_at", "2016-12-07 20:13:26.317864"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:26.383817"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.321812"], ["updated_at", "2016-12-07 20:13:26.321812"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:26.388432"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.325225"], ["updated_at", "2016-12-07 20:13:26.325225"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:26.393059"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.395238"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [983bae69-b19c-4386-b2b1-3d9c57576969] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.75ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.409346"], ["updated_at", "2016-12-07 20:13:26.409346"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:13:26.412703"], ["updated_at", "2016-12-07 20:13:26.412703"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.414767"], ["updated_at", "2016-12-07 20:13:26.414767"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.416437"], ["updated_at", "2016-12-07 20:13:26.416437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:13:26.419014"], ["updated_at", "2016-12-07 20:13:26.419014"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.420705"], ["updated_at", "2016-12-07 20:13:26.420705"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:13:26.424779"], ["updated_at", "2016-12-07 20:13:26.424779"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.426394"], ["updated_at", "2016-12-07 20:13:26.426394"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:13:26.429141"], ["updated_at", "2016-12-07 20:13:26.429141"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.430781"], ["updated_at", "2016-12-07 20:13:26.430781"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:26.433320"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.435941"], ["updated_at", "2016-12-07 20:13:26.435941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8dbe8539-e196-45e2-b63d-13ec3ab370da) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.420705"], ["updated_at", "2016-12-07 20:13:26.420705"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.445239"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.426394"], ["updated_at", "2016-12-07 20:13:26.426394"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.451775"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.430781"], ["updated_at", "2016-12-07 20:13:26.430781"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.456061"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.458178"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8dbe8539-e196-45e2-b63d-13ec3ab370da] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.51ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:26.464524"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:13:26.476145"], ["updated_at", "2016-12-07 20:13:26.476145"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.479144"], ["updated_at", "2016-12-07 20:13:26.479144"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:13:26.481954"], ["updated_at", "2016-12-07 20:13:26.481954"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.483974"], ["updated_at", "2016-12-07 20:13:26.483974"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.485488"], ["updated_at", "2016-12-07 20:13:26.485488"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:13:26.487770"], ["updated_at", "2016-12-07 20:13:26.487770"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.489204"], ["updated_at", "2016-12-07 20:13:26.489204"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:13:26.491587"], ["updated_at", "2016-12-07 20:13:26.491587"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.492953"], ["updated_at", "2016-12-07 20:13:26.492953"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:13:26.495316"], ["updated_at", "2016-12-07 20:13:26.495316"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.496934"], ["updated_at", "2016-12-07 20:13:26.496934"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.502988"], ["updated_at", "2016-12-07 20:13:26.502988"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:13:26.505114"], ["updated_at", "2016-12-07 20:13:26.505114"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.506869"], ["updated_at", "2016-12-07 20:13:26.506869"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:26.512027"], ["id", 2]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.516067"], ["updated_at", "2016-12-07 20:13:26.516067"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 325b5b9d-ea1c-4d07-bf2d-7d28736228e8) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.489204"], ["updated_at", "2016-12-07 20:13:26.489204"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.523761"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:26.492953"], ["updated_at", "2016-12-07 20:13:26.492953"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.527633"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:26.496934"], ["updated_at", "2016-12-07 20:13:26.496934"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:26.532504"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:13:26.535162"], ["updated_at", "2016-12-07 20:13:26.535162"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:13:26.536549"], ["updated_at", "2016-12-07 20:13:26.536549"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:26.537805"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [325b5b9d-ea1c-4d07-bf2d-7d28736228e8] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.81ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:13:26.547866"], ["updated_at", "2016-12-07 20:13:26.547866"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:13:26.556961"], ["updated_at", "2016-12-07 20:13:26.556961"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:13:26.561367"], ["updated_at", "2016-12-07 20:13:26.561367"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:13:26.565559"], ["updated_at", "2016-12-07 20:13:26.565559"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:13:26.570229"], ["updated_at", "2016-12-07 20:13:26.570229"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.571829"], ["updated_at", "2016-12-07 20:13:26.571829"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:13:26.576653"], ["updated_at", "2016-12-07 20:13:26.576653"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:26.578209"], ["updated_at", "2016-12-07 20:13:26.578209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:13:26.584200"], ["updated_at", "2016-12-07 20:13:26.584200"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:13:26.588246"], ["updated_at", "2016-12-07 20:13:26.588246"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:13:26.592569"], ["updated_at", "2016-12-07 20:13:26.592569"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.724560"], ["updated_at", "2016-12-07 20:13:26.724560"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.740781"], ["updated_at", "2016-12-07 20:13:26.740781"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:13:26.743425"], ["updated_at", "2016-12-07 20:13:26.743425"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.745209"], ["updated_at", "2016-12-07 20:13:26.745209"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.748918"], ["updated_at", "2016-12-07 20:13:26.748918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.753102"], ["updated_at", "2016-12-07 20:13:26.753102"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.763474"], ["updated_at", "2016-12-07 20:13:26.763474"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:13:26.766059"], ["updated_at", "2016-12-07 20:13:26.766059"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.767707"], ["updated_at", "2016-12-07 20:13:26.767707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.773119"], ["updated_at", "2016-12-07 20:13:26.773119"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:13:26.775697"], ["updated_at", "2016-12-07 20:13:26.775697"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.777710"], ["updated_at", "2016-12-07 20:13:26.777710"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.3ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:13:26.780166"], ["id", 1]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:13:26.788508"], ["updated_at", "2016-12-07 20:13:26.788508"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.791328"], ["updated_at", "2016-12-07 20:13:26.791328"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:13:26.793973"], ["updated_at", "2016-12-07 20:13:26.793973"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.796655"], ["updated_at", "2016-12-07 20:13:26.796655"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.798323"], ["updated_at", "2016-12-07 20:13:26.798323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.819727"], ["updated_at", "2016-12-07 20:13:26.819727"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:13:26.824447"], ["updated_at", "2016-12-07 20:13:26.824447"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:13:26.875756"], ["updated_at", "2016-12-07 20:13:26.875756"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:26.900742"], ["updated_at", "2016-12-07 20:13:26.900742"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:13:26.903502"], ["updated_at", "2016-12-07 20:13:26.903502"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:26.911100"], ["updated_at", "2016-12-07 20:13:26.911100"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:13:26.917858"], ["updated_at", "2016-12-07 20:13:26.917858"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:26.920344"], ["updated_at", "2016-12-07 20:13:26.920344"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:13:26.921966"], ["updated_at", "2016-12-07 20:13:26.921966"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:13:26.924111"], ["updated_at", "2016-12-07 20:13:26.924111"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:26.927902"], ["updated_at", "2016-12-07 20:13:26.927902"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:26.938760"], ["updated_at", "2016-12-07 20:13:26.938760"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:13:26.941707"], ["updated_at", "2016-12-07 20:13:26.941707"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:13:26.955652"], ["updated_at", "2016-12-07 20:13:26.955652"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:26.958681"], ["updated_at", "2016-12-07 20:13:26.958681"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:26.959529' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:26.961549"], ["updated_at", "2016-12-07 20:13:26.961549"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:26.962270' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:26.970501"], ["updated_at", "2016-12-07 20:13:26.970501"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:13:26.972959"], ["updated_at", "2016-12-07 20:13:26.972959"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:26.975222"], ["updated_at", "2016-12-07 20:13:26.975222"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:26.976059' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.2ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:26.981395"], ["updated_at", "2016-12-07 20:13:26.981395"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:13:26.983755"], ["updated_at", "2016-12-07 20:13:26.983755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:26.985775"], ["updated_at", "2016-12-07 20:13:26.985775"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:26.986634' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:26.992280"], ["updated_at", "2016-12-07 20:13:26.992280"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:13:26.995138"], ["updated_at", "2016-12-07 20:13:26.995138"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:26.998821"], ["updated_at", "2016-12-07 20:13:26.998821"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:27.000201' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:27.005075"], ["updated_at", "2016-12-07 20:13:27.005075"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:13:27.007758"], ["updated_at", "2016-12-07 20:13:27.007758"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:27.009337"], ["updated_at", "2016-12-07 20:13:27.009337"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.3ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:13:27.029668"], ["updated_at", "2016-12-07 20:13:27.029668"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:27.034421"], ["updated_at", "2016-12-07 20:13:27.034421"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:13:27.038326"], ["updated_at", "2016-12-07 20:13:27.038326"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:27.041205"], ["updated_at", "2016-12-07 20:13:27.041205"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:27.043404"], ["updated_at", "2016-12-07 20:13:27.043404"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:27.045890"], ["updated_at", "2016-12-07 20:13:27.045890"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.4ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.7ms) DELETE FROM "pulitzer_content_element_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.8ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (1.5ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.8ms) DELETE FROM "pulitzer_post_tags"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.8ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.7ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:47.418964"], ["updated_at", "2016-12-07 20:13:47.418964"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.0ms) +Completed 200 OK in 45ms (Views: 28.0ms | ActiveRecord: 0.4ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:47.477846"], ["updated_at", "2016-12-07 20:13:47.477846"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (7.5ms) +Completed 200 OK in 15ms (Views: 9.2ms | ActiveRecord: 0.6ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:47.501607"], ["updated_at", "2016-12-07 20:13:47.501607"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (11.0ms) +Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.1ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:47.524970"], ["updated_at", "2016-12-07 20:13:47.524970"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.5ms) +Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:13:47.545565"], ["updated_at", "2016-12-07 20:13:47.545565"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.1ms) +Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:47.562467"], ["updated_at", "2016-12-07 20:13:47.562467"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.9ms) +Completed 200 OK in 26ms (Views: 17.6ms | ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:47.605011"], ["updated_at", "2016-12-07 20:13:47.605011"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (10.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (12.4ms) +Completed 200 OK in 23ms (Views: 13.9ms | ActiveRecord: 1.0ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:47.640732"], ["updated_at", "2016-12-07 20:13:47.640732"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (12.7ms) +Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 0.2ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:47.679608"], ["updated_at", "2016-12-07 20:13:47.679608"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:13:47.683390"], ["updated_at", "2016-12-07 20:13:47.683390"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (4.6ms) +Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:47.711650"], ["updated_at", "2016-12-07 20:13:47.711650"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:13:47.809272"], ["updated_at", "2016-12-07 20:13:47.809272"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:47.812068"], ["updated_at", "2016-12-07 20:13:47.812068"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:47.814282"], ["updated_at", "2016-12-07 20:13:47.814282"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:13:47.824958"], ["updated_at", "2016-12-07 20:13:47.824958"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:47.827264"], ["updated_at", "2016-12-07 20:13:47.827264"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:13:47.829869"], ["updated_at", "2016-12-07 20:13:47.829869"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:47.831283"], ["updated_at", "2016-12-07 20:13:47.831283"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:13:47.833568"], ["updated_at", "2016-12-07 20:13:47.833568"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:47.834997"], ["updated_at", "2016-12-07 20:13:47.834997"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:47.845842"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 1.2ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:47.895942"], ["updated_at", "2016-12-07 20:13:47.895942"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:13:47.898398"], ["updated_at", "2016-12-07 20:13:47.898398"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:47.899944"], ["updated_at", "2016-12-07 20:13:47.899944"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:47.901402"], ["updated_at", "2016-12-07 20:13:47.901402"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:13:47.904387"], ["updated_at", "2016-12-07 20:13:47.904387"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:47.905835"], ["updated_at", "2016-12-07 20:13:47.905835"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:13:47.909115"], ["updated_at", "2016-12-07 20:13:47.909115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:47.911676"], ["updated_at", "2016-12-07 20:13:47.911676"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:13:47.915750"], ["updated_at", "2016-12-07 20:13:47.915750"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:47.918011"], ["updated_at", "2016-12-07 20:13:47.918011"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:47.924617"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:47.927811"], ["updated_at", "2016-12-07 20:13:47.927811"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0b13d50f-3817-4e58-8197-701e6dfff803) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:47.905835"], ["updated_at", "2016-12-07 20:13:47.905835"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:47.950110"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:47.911676"], ["updated_at", "2016-12-07 20:13:47.911676"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:47.955072"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:47.918011"], ["updated_at", "2016-12-07 20:13:47.918011"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:47.959582"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:47.961722"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0b13d50f-3817-4e58-8197-701e6dfff803] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.68ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:47.974571"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.0ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (5.9ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.8ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (8.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (33.8ms) +Completed 200 OK in 43ms (Views: 0.4ms | ActiveRecord: 0.9ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.023753"], ["updated_at", "2016-12-07 20:13:48.023753"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:13:48.026432"], ["updated_at", "2016-12-07 20:13:48.026432"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.028800"], ["updated_at", "2016-12-07 20:13:48.028800"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.030521"], ["updated_at", "2016-12-07 20:13:48.030521"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:13:48.033608"], ["updated_at", "2016-12-07 20:13:48.033608"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.035254"], ["updated_at", "2016-12-07 20:13:48.035254"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:13:48.037988"], ["updated_at", "2016-12-07 20:13:48.037988"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.039470"], ["updated_at", "2016-12-07 20:13:48.039470"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:13:48.041879"], ["updated_at", "2016-12-07 20:13:48.041879"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.043228"], ["updated_at", "2016-12-07 20:13:48.043228"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:48.046573"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.049028"], ["updated_at", "2016-12-07 20:13:48.049028"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3e9ea863-753b-43ed-9566-75cec147880b) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.035254"], ["updated_at", "2016-12-07 20:13:48.035254"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.058079"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.039470"], ["updated_at", "2016-12-07 20:13:48.039470"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.064268"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.043228"], ["updated_at", "2016-12-07 20:13:48.043228"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.070749"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.073301"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3e9ea863-753b-43ed-9566-75cec147880b] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.31ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:48.084964"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.087924"], ["updated_at", "2016-12-07 20:13:48.087924"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 021a708a-92ad-4227-a74b-598a3b72cb4d) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.035254"], ["updated_at", "2016-12-07 20:13:48.035254"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:48.096519"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.039470"], ["updated_at", "2016-12-07 20:13:48.039470"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:48.101206"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.043228"], ["updated_at", "2016-12-07 20:13:48.043228"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:48.105746"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.107964"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [021a708a-92ad-4227-a74b-598a3b72cb4d] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.26ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (6.5ms) +Completed 200 OK in 36ms (Views: 0.2ms | ActiveRecord: 2.0ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:13:48.130237"], ["updated_at", "2016-12-07 20:13:48.130237"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:48.134296"], ["updated_at", "2016-12-07 20:13:48.134296"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:13:48.148775"], ["updated_at", "2016-12-07 20:13:48.148775"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:48.151364"], ["updated_at", "2016-12-07 20:13:48.151364"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:13:48.162274"], ["updated_at", "2016-12-07 20:13:48.162274"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:48.165003"], ["updated_at", "2016-12-07 20:13:48.165003"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:13:48.175547"], ["updated_at", "2016-12-07 20:13:48.175547"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:13:48.186472"], ["updated_at", "2016-12-07 20:13:48.186472"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:13:48.245576"], ["updated_at", "2016-12-07 20:13:48.245576"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 0.5ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:13:48.257229"], ["updated_at", "2016-12-07 20:13:48.257229"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:13:48.262850"], ["updated_at", "2016-12-07 20:13:48.262850"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:13:48.279783"], ["updated_at", "2016-12-07 20:13:48.279783"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:13:48.294813"], ["updated_at", "2016-12-07 20:13:48.294813"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:13:48.305344"], ["updated_at", "2016-12-07 20:13:48.305344"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:13:48.324248"], ["updated_at", "2016-12-07 20:13:48.324248"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:13:48.335677"], ["updated_at", "2016-12-07 20:13:48.335677"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:13:48.342688"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:13:48.348801"], ["updated_at", "2016-12-07 20:13:48.348801"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:13:48.352281"], ["updated_at", "2016-12-07 20:13:48.352281"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:13:48.364820"], ["updated_at", "2016-12-07 20:13:48.364820"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:13:48.368640"], ["updated_at", "2016-12-07 20:13:48.368640"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:13:48.380152"], ["updated_at", "2016-12-07 20:13:48.380152"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:13:48.391416"], ["updated_at", "2016-12-07 20:13:48.391416"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.404007"], ["updated_at", "2016-12-07 20:13:48.404007"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:13:48.406447"], ["updated_at", "2016-12-07 20:13:48.406447"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.407956"], ["updated_at", "2016-12-07 20:13:48.407956"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.409306"], ["updated_at", "2016-12-07 20:13:48.409306"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:13:48.413179"], ["updated_at", "2016-12-07 20:13:48.413179"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.415645"], ["updated_at", "2016-12-07 20:13:48.415645"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:13:48.420707"], ["updated_at", "2016-12-07 20:13:48.420707"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.422215"], ["updated_at", "2016-12-07 20:13:48.422215"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:13:48.424468"], ["updated_at", "2016-12-07 20:13:48.424468"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.425785"], ["updated_at", "2016-12-07 20:13:48.425785"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.428323"], ["updated_at", "2016-12-07 20:13:48.428323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.415645"], ["updated_at", "2016-12-07 20:13:48.415645"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.434782"], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.422215"], ["updated_at", "2016-12-07 20:13:48.422215"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.439787"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.425785"], ["updated_at", "2016-12-07 20:13:48.425785"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.444104"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.446292"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (1.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.457111"], ["updated_at", "2016-12-07 20:13:48.457111"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:13:48.459545"], ["updated_at", "2016-12-07 20:13:48.459545"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.461007"], ["updated_at", "2016-12-07 20:13:48.461007"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.462476"], ["updated_at", "2016-12-07 20:13:48.462476"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.469687"], ["updated_at", "2016-12-07 20:13:48.469687"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.483528"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.493685"], ["updated_at", "2016-12-07 20:13:48.493685"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:13:48.496919"], ["updated_at", "2016-12-07 20:13:48.496919"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.498560"], ["updated_at", "2016-12-07 20:13:48.498560"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.500370"], ["updated_at", "2016-12-07 20:13:48.500370"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:13:48.504937"], ["updated_at", "2016-12-07 20:13:48.504937"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.506777"], ["updated_at", "2016-12-07 20:13:48.506777"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:13:48.509685"], ["updated_at", "2016-12-07 20:13:48.509685"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.511452"], ["updated_at", "2016-12-07 20:13:48.511452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:13:48.514223"], ["updated_at", "2016-12-07 20:13:48.514223"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.515588"], ["updated_at", "2016-12-07 20:13:48.515588"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.518185"], ["updated_at", "2016-12-07 20:13:48.518185"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.506777"], ["updated_at", "2016-12-07 20:13:48.506777"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.524095"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.511452"], ["updated_at", "2016-12-07 20:13:48.511452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.528736"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.515588"], ["updated_at", "2016-12-07 20:13:48.515588"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.535831"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.538365"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.547567"], ["updated_at", "2016-12-07 20:13:48.547567"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:13:48.554743"], ["updated_at", "2016-12-07 20:13:48.554743"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:48.557391"], ["updated_at", "2016-12-07 20:13:48.557391"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:13:48.560288"], ["updated_at", "2016-12-07 20:13:48.560288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:48.561920"], ["updated_at", "2016-12-07 20:13:48.561920"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:13:48.564403"], ["updated_at", "2016-12-07 20:13:48.564403"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:48.565793"], ["updated_at", "2016-12-07 20:13:48.565793"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.578513"], ["updated_at", "2016-12-07 20:13:48.578513"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.583378"], ["updated_at", "2016-12-07 20:13:48.583378"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.587612"], ["updated_at", "2016-12-07 20:13:48.587612"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.593555"], ["updated_at", "2016-12-07 20:13:48.593555"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:13:48.596725"], ["updated_at", "2016-12-07 20:13:48.596725"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:48.598316"], ["updated_at", "2016-12-07 20:13:48.598316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:13:48.603024"], ["updated_at", "2016-12-07 20:13:48.603024"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:48.604517"], ["updated_at", "2016-12-07 20:13:48.604517"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:13:48.607668"], ["updated_at", "2016-12-07 20:13:48.607668"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:13:48.609230"], ["updated_at", "2016-12-07 20:13:48.609230"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:13:48.613156"], ["updated_at", "2016-12-07 20:13:48.613156"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.614860"], ["updated_at", "2016-12-07 20:13:48.614860"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.621398"], ["updated_at", "2016-12-07 20:13:48.621398"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.625446"], ["updated_at", "2016-12-07 20:13:48.625446"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.630963"], ["updated_at", "2016-12-07 20:13:48.630963"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.640133"], ["updated_at", "2016-12-07 20:13:48.640133"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:13:48.646472"], ["updated_at", "2016-12-07 20:13:48.646472"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.648225"], ["updated_at", "2016-12-07 20:13:48.648225"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.663708"], ["updated_at", "2016-12-07 20:13:48.663708"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:13:48.666295"], ["updated_at", "2016-12-07 20:13:48.666295"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.668243"], ["updated_at", "2016-12-07 20:13:48.668243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.670132"], ["updated_at", "2016-12-07 20:13:48.670132"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:13:48.673206"], ["updated_at", "2016-12-07 20:13:48.673206"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.675536"], ["updated_at", "2016-12-07 20:13:48.675536"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:13:48.679079"], ["updated_at", "2016-12-07 20:13:48.679079"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.680769"], ["updated_at", "2016-12-07 20:13:48.680769"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:13:48.685214"], ["updated_at", "2016-12-07 20:13:48.685214"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.687668"], ["updated_at", "2016-12-07 20:13:48.687668"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:48.690317"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.693652"], ["updated_at", "2016-12-07 20:13:48.693652"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 316c528c-8ff2-4d4c-832d-5b46dcd37ac6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.675536"], ["updated_at", "2016-12-07 20:13:48.675536"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.703111"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.680769"], ["updated_at", "2016-12-07 20:13:48.680769"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.706875"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.687668"], ["updated_at", "2016-12-07 20:13:48.687668"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.720692"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.722861"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [316c528c-8ff2-4d4c-832d-5b46dcd37ac6] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.9ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.736417"], ["updated_at", "2016-12-07 20:13:48.736417"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:13:48.739228"], ["updated_at", "2016-12-07 20:13:48.739228"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.740801"], ["updated_at", "2016-12-07 20:13:48.740801"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.742453"], ["updated_at", "2016-12-07 20:13:48.742453"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:13:48.744976"], ["updated_at", "2016-12-07 20:13:48.744976"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.746453"], ["updated_at", "2016-12-07 20:13:48.746453"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:13:48.748861"], ["updated_at", "2016-12-07 20:13:48.748861"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.750170"], ["updated_at", "2016-12-07 20:13:48.750170"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:13:48.752747"], ["updated_at", "2016-12-07 20:13:48.752747"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.754166"], ["updated_at", "2016-12-07 20:13:48.754166"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:48.756330"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.758542"], ["updated_at", "2016-12-07 20:13:48.758542"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0d9af081-7406-46e8-87da-fd7b1cd34447) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.746453"], ["updated_at", "2016-12-07 20:13:48.746453"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.766690"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.750170"], ["updated_at", "2016-12-07 20:13:48.750170"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.772945"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.754166"], ["updated_at", "2016-12-07 20:13:48.754166"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.777088"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.779228"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [0d9af081-7406-46e8-87da-fd7b1cd34447] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.24ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:48.788505"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.791141"], ["updated_at", "2016-12-07 20:13:48.791141"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a392264c-4268-482b-8d55-1826b75f02c1) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.746453"], ["updated_at", "2016-12-07 20:13:48.746453"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:48.799060"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.750170"], ["updated_at", "2016-12-07 20:13:48.750170"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:48.804205"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.754166"], ["updated_at", "2016-12-07 20:13:48.754166"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:13:48.808660"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.810845"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a392264c-4268-482b-8d55-1826b75f02c1] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.0ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.821870"], ["updated_at", "2016-12-07 20:13:48.821870"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:13:48.824470"], ["updated_at", "2016-12-07 20:13:48.824470"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.826454"], ["updated_at", "2016-12-07 20:13:48.826454"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.828069"], ["updated_at", "2016-12-07 20:13:48.828069"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:13:48.830584"], ["updated_at", "2016-12-07 20:13:48.830584"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.832026"], ["updated_at", "2016-12-07 20:13:48.832026"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:13:48.835033"], ["updated_at", "2016-12-07 20:13:48.835033"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.836497"], ["updated_at", "2016-12-07 20:13:48.836497"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:13:48.839239"], ["updated_at", "2016-12-07 20:13:48.839239"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.840606"], ["updated_at", "2016-12-07 20:13:48.840606"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:48.842700"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.844971"], ["updated_at", "2016-12-07 20:13:48.844971"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: f787251f-8b2e-49b0-98ab-2bac4250138b) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.832026"], ["updated_at", "2016-12-07 20:13:48.832026"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.852670"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.836497"], ["updated_at", "2016-12-07 20:13:48.836497"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.858455"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.840606"], ["updated_at", "2016-12-07 20:13:48.840606"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.862701"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.864826"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [f787251f-8b2e-49b0-98ab-2bac4250138b] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.68ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:13:48.872597"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:13:48.882598"], ["updated_at", "2016-12-07 20:13:48.882598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:48.885547"], ["updated_at", "2016-12-07 20:13:48.885547"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:13:48.887840"], ["updated_at", "2016-12-07 20:13:48.887840"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.890152"], ["updated_at", "2016-12-07 20:13:48.890152"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:48.891692"], ["updated_at", "2016-12-07 20:13:48.891692"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:13:48.894033"], ["updated_at", "2016-12-07 20:13:48.894033"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.895414"], ["updated_at", "2016-12-07 20:13:48.895414"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:13:48.897771"], ["updated_at", "2016-12-07 20:13:48.897771"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.899137"], ["updated_at", "2016-12-07 20:13:48.899137"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:13:48.902098"], ["updated_at", "2016-12-07 20:13:48.902098"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.903634"], ["updated_at", "2016-12-07 20:13:48.903634"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.909485"], ["updated_at", "2016-12-07 20:13:48.909485"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:13:48.911743"], ["updated_at", "2016-12-07 20:13:48.911743"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:48.913508"], ["updated_at", "2016-12-07 20:13:48.913508"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:13:48.917744"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:13:48.920113"], ["updated_at", "2016-12-07 20:13:48.920113"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: d316afd4-8268-4e20-8b53-41e8f658b0d4) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.895414"], ["updated_at", "2016-12-07 20:13:48.895414"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.928133"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:13:48.899137"], ["updated_at", "2016-12-07 20:13:48.899137"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.932105"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:13:48.903634"], ["updated_at", "2016-12-07 20:13:48.903634"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:13:48.938495"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:13:48.941274"], ["updated_at", "2016-12-07 20:13:48.941274"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:13:48.942696"], ["updated_at", "2016-12-07 20:13:48.942696"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:13:48.943954"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d316afd4-8268-4e20-8b53-41e8f658b0d4] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.75ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:13:48.956047"], ["updated_at", "2016-12-07 20:13:48.956047"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:13:48.966483"], ["updated_at", "2016-12-07 20:13:48.966483"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:13:48.971410"], ["updated_at", "2016-12-07 20:13:48.971410"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:13:48.975870"], ["updated_at", "2016-12-07 20:13:48.975870"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:13:48.980834"], ["updated_at", "2016-12-07 20:13:48.980834"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.982596"], ["updated_at", "2016-12-07 20:13:48.982596"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:13:48.989299"], ["updated_at", "2016-12-07 20:13:48.989299"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:13:48.991094"], ["updated_at", "2016-12-07 20:13:48.991094"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:13:48.995510"], ["updated_at", "2016-12-07 20:13:48.995510"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.9ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:13:48.999922"], ["updated_at", "2016-12-07 20:13:48.999922"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:13:49.007498"], ["updated_at", "2016-12-07 20:13:49.007498"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.134607"], ["updated_at", "2016-12-07 20:13:49.134607"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.153417"], ["updated_at", "2016-12-07 20:13:49.153417"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:13:49.161331"], ["updated_at", "2016-12-07 20:13:49.161331"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.165029"], ["updated_at", "2016-12-07 20:13:49.165029"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.167406"], ["updated_at", "2016-12-07 20:13:49.167406"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:13:49.169062"], ["updated_at", "2016-12-07 20:13:49.169062"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.174197"], ["updated_at", "2016-12-07 20:13:49.174197"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:13:49.177547"], ["updated_at", "2016-12-07 20:13:49.177547"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.179190"], ["updated_at", "2016-12-07 20:13:49.179190"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.185935"], ["updated_at", "2016-12-07 20:13:49.185935"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:13:49.188717"], ["updated_at", "2016-12-07 20:13:49.188717"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.190452"], ["updated_at", "2016-12-07 20:13:49.190452"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:13:49.192782"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:13:49.198352"], ["updated_at", "2016-12-07 20:13:49.198352"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.203674"], ["updated_at", "2016-12-07 20:13:49.203674"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:13:49.207501"], ["updated_at", "2016-12-07 20:13:49.207501"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.209644"], ["updated_at", "2016-12-07 20:13:49.209644"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.211570"], ["updated_at", "2016-12-07 20:13:49.211570"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.236169"], ["updated_at", "2016-12-07 20:13:49.236169"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:13:49.240016"], ["updated_at", "2016-12-07 20:13:49.240016"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.3ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:13:49.311393"], ["updated_at", "2016-12-07 20:13:49.311393"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:49.326339"], ["updated_at", "2016-12-07 20:13:49.326339"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:13:49.329107"], ["updated_at", "2016-12-07 20:13:49.329107"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.338176"], ["updated_at", "2016-12-07 20:13:49.338176"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:13:49.341545"], ["updated_at", "2016-12-07 20:13:49.341545"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.343302"], ["updated_at", "2016-12-07 20:13:49.343302"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:13:49.344953"], ["updated_at", "2016-12-07 20:13:49.344953"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:13:49.347033"], ["updated_at", "2016-12-07 20:13:49.347033"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:49.349039"], ["updated_at", "2016-12-07 20:13:49.349039"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:49.358742"], ["updated_at", "2016-12-07 20:13:49.358742"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:13:49.361379"], ["updated_at", "2016-12-07 20:13:49.361379"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:13:49.366485"], ["updated_at", "2016-12-07 20:13:49.366485"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:49.369262"], ["updated_at", "2016-12-07 20:13:49.369262"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:49.370101' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:49.373418"], ["updated_at", "2016-12-07 20:13:49.373418"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:49.374745' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:49.381408"], ["updated_at", "2016-12-07 20:13:49.381408"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:13:49.385218"], ["updated_at", "2016-12-07 20:13:49.385218"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:49.388556"], ["updated_at", "2016-12-07 20:13:49.388556"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:49.389518' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:49.393894"], ["updated_at", "2016-12-07 20:13:49.393894"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:13:49.396650"], ["updated_at", "2016-12-07 20:13:49.396650"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:49.398886"], ["updated_at", "2016-12-07 20:13:49.398886"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:49.399759' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:13:49.403932"], ["updated_at", "2016-12-07 20:13:49.403932"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:13:49.406656"], ["updated_at", "2016-12-07 20:13:49.406656"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:13:49.409200"], ["updated_at", "2016-12-07 20:13:49.409200"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:13:49.410017' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.414656"], ["updated_at", "2016-12-07 20:13:49.414656"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:13:49.418907"], ["updated_at", "2016-12-07 20:13:49.418907"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.420685"], ["updated_at", "2016-12-07 20:13:49.420685"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.2ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) rollback transaction +  (0.4ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:13:49.439593"], ["updated_at", "2016-12-07 20:13:49.439593"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:13:49.442534"], ["updated_at", "2016-12-07 20:13:49.442534"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:13:49.444832"], ["updated_at", "2016-12-07 20:13:49.444832"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.446409"], ["updated_at", "2016-12-07 20:13:49.446409"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:13:49.447971"], ["updated_at", "2016-12-07 20:13:49.447971"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:13:49.450523"], ["updated_at", "2016-12-07 20:13:49.450523"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.4ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.6ms) DELETE FROM "pulitzer_content_element_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.8ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.7ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.6ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.6ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.8ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (1.3ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:14:23.260002"], ["updated_at", "2016-12-07 20:14:23.260002"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (4.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.3ms) +Completed 200 OK in 47ms (Views: 28.6ms | ActiveRecord: 0.4ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:14:23.322877"], ["updated_at", "2016-12-07 20:14:23.322877"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (6.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (8.0ms) +Completed 200 OK in 17ms (Views: 10.0ms | ActiveRecord: 0.6ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:14:23.348234"], ["updated_at", "2016-12-07 20:14:23.348234"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (11.7ms) +Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:14:23.372014"], ["updated_at", "2016-12-07 20:14:23.372014"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.5ms) +Completed 200 OK in 10ms (Views: 5.9ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:14:23.392457"], ["updated_at", "2016-12-07 20:14:23.392457"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:14:23.410225"], ["updated_at", "2016-12-07 20:14:23.410225"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.7ms) +Completed 200 OK in 25ms (Views: 16.5ms | ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:14:23.451967"], ["updated_at", "2016-12-07 20:14:23.451967"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.2ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (2.8ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (10.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (11.7ms) +Completed 200 OK in 25ms (Views: 13.1ms | ActiveRecord: 1.0ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:14:23.488901"], ["updated_at", "2016-12-07 20:14:23.488901"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.0ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (22.8ms) +Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.3ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:14:23.527740"], ["updated_at", "2016-12-07 20:14:23.527740"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:14:23.531020"], ["updated_at", "2016-12-07 20:14:23.531020"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (5.3ms) +Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.4ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:23.559089"], ["updated_at", "2016-12-07 20:14:23.559089"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:14:23.656253"], ["updated_at", "2016-12-07 20:14:23.656253"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:23.659886"], ["updated_at", "2016-12-07 20:14:23.659886"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:23.662798"], ["updated_at", "2016-12-07 20:14:23.662798"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:14:23.674760"], ["updated_at", "2016-12-07 20:14:23.674760"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.677695"], ["updated_at", "2016-12-07 20:14:23.677695"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:14:23.681592"], ["updated_at", "2016-12-07 20:14:23.681592"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.683186"], ["updated_at", "2016-12-07 20:14:23.683186"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:14:23.685586"], ["updated_at", "2016-12-07 20:14:23.685586"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.687097"], ["updated_at", "2016-12-07 20:14:23.687097"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:14:23.697568"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 1.3ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:23.719186"], ["updated_at", "2016-12-07 20:14:23.719186"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:14:23.721647"], ["updated_at", "2016-12-07 20:14:23.721647"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:23.723174"], ["updated_at", "2016-12-07 20:14:23.723174"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:23.724533"], ["updated_at", "2016-12-07 20:14:23.724533"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:14:23.728363"], ["updated_at", "2016-12-07 20:14:23.728363"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.730185"], ["updated_at", "2016-12-07 20:14:23.730185"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:14:23.733182"], ["updated_at", "2016-12-07 20:14:23.733182"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.734775"], ["updated_at", "2016-12-07 20:14:23.734775"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:14:23.737300"], ["updated_at", "2016-12-07 20:14:23.737300"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.738759"], ["updated_at", "2016-12-07 20:14:23.738759"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:14:23.744368"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:23.747139"], ["updated_at", "2016-12-07 20:14:23.747139"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5c3a9a7d-81f8-4964-bd20-4e045c3890ac) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:23.730185"], ["updated_at", "2016-12-07 20:14:23.730185"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:23.758933"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:23.734775"], ["updated_at", "2016-12-07 20:14:23.734775"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:23.766310"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:23.738759"], ["updated_at", "2016-12-07 20:14:23.738759"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:23.771134"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:23.773536"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5c3a9a7d-81f8-4964-bd20-4e045c3890ac] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.38ms + Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:14:23.784919"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.4ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (4.2ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (7.3ms) + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (4.6ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (35.6ms) +Completed 200 OK in 44ms (Views: 0.4ms | ActiveRecord: 0.9ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:23.835825"], ["updated_at", "2016-12-07 20:14:23.835825"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:14:23.839204"], ["updated_at", "2016-12-07 20:14:23.839204"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:23.841343"], ["updated_at", "2016-12-07 20:14:23.841343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:23.842985"], ["updated_at", "2016-12-07 20:14:23.842985"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:14:23.845948"], ["updated_at", "2016-12-07 20:14:23.845948"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.847805"], ["updated_at", "2016-12-07 20:14:23.847805"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:14:23.850470"], ["updated_at", "2016-12-07 20:14:23.850470"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.851825"], ["updated_at", "2016-12-07 20:14:23.851825"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:14:23.854096"], ["updated_at", "2016-12-07 20:14:23.854096"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:23.855419"], ["updated_at", "2016-12-07 20:14:23.855419"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:14:23.858529"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:23.861742"], ["updated_at", "2016-12-07 20:14:23.861742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 1fddbed4-1aac-4d5b-84ee-c042beae1f22) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:23.847805"], ["updated_at", "2016-12-07 20:14:23.847805"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:23.872470"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:23.851825"], ["updated_at", "2016-12-07 20:14:23.851825"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:23.876835"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.3ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:23.855419"], ["updated_at", "2016-12-07 20:14:23.855419"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:23.882955"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:23.885160"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1fddbed4-1aac-4d5b-84ee-c042beae1f22] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.86ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:14:23.895478"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:23.898307"], ["updated_at", "2016-12-07 20:14:23.898307"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 78ee03f7-d348-482f-b45a-4fa9bae39a11) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:23.847805"], ["updated_at", "2016-12-07 20:14:23.847805"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:14:23.906934"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:23.851825"], ["updated_at", "2016-12-07 20:14:23.851825"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:14:23.912064"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:23.855419"], ["updated_at", "2016-12-07 20:14:23.855419"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:14:23.917785"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:23.920443"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [78ee03f7-d348-482f-b45a-4fa9bae39a11] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.5ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (6.4ms) +Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 2.3ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:14:23.942614"], ["updated_at", "2016-12-07 20:14:23.942614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:23.946998"], ["updated_at", "2016-12-07 20:14:23.946998"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:14:23.961006"], ["updated_at", "2016-12-07 20:14:23.961006"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:23.963380"], ["updated_at", "2016-12-07 20:14:23.963380"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:14:23.974301"], ["updated_at", "2016-12-07 20:14:23.974301"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:23.976964"], ["updated_at", "2016-12-07 20:14:23.976964"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:14:23.987768"], ["updated_at", "2016-12-07 20:14:23.987768"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.4ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:14:23.999979"], ["updated_at", "2016-12-07 20:14:23.999979"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:14:24.042477"], ["updated_at", "2016-12-07 20:14:24.042477"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (1.0ms) +Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.4ms) +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.6ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) commit transaction +  (0.4ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:14:24.061984"], ["updated_at", "2016-12-07 20:14:24.061984"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.5ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:14:24.067909"], ["updated_at", "2016-12-07 20:14:24.067909"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 7ms (Views: 4.0ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:14:24.086082"], ["updated_at", "2016-12-07 20:14:24.086082"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:14:24.100150"], ["updated_at", "2016-12-07 20:14:24.100150"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:14:24.111400"], ["updated_at", "2016-12-07 20:14:24.111400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:14:24.140608"], ["updated_at", "2016-12-07 20:14:24.140608"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 409 Conflict in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:14:24.152758"], ["updated_at", "2016-12-07 20:14:24.152758"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:14:24.160062"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.6ms) +Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:14:24.167892"], ["updated_at", "2016-12-07 20:14:24.167892"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:14:24.171494"], ["updated_at", "2016-12-07 20:14:24.171494"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:14:24.183021"], ["updated_at", "2016-12-07 20:14:24.183021"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:14:24.186999"], ["updated_at", "2016-12-07 20:14:24.186999"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:14:24.200706"], ["updated_at", "2016-12-07 20:14:24.200706"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:14:24.210297"], ["updated_at", "2016-12-07 20:14:24.210297"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.3ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.224298"], ["updated_at", "2016-12-07 20:14:24.224298"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:14:24.226983"], ["updated_at", "2016-12-07 20:14:24.226983"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.228574"], ["updated_at", "2016-12-07 20:14:24.228574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.230378"], ["updated_at", "2016-12-07 20:14:24.230378"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:14:24.233804"], ["updated_at", "2016-12-07 20:14:24.233804"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.235944"], ["updated_at", "2016-12-07 20:14:24.235944"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:14:24.238702"], ["updated_at", "2016-12-07 20:14:24.238702"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.240060"], ["updated_at", "2016-12-07 20:14:24.240060"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:14:24.242383"], ["updated_at", "2016-12-07 20:14:24.242383"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.243738"], ["updated_at", "2016-12-07 20:14:24.243738"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.248704"], ["updated_at", "2016-12-07 20:14:24.248704"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.235944"], ["updated_at", "2016-12-07 20:14:24.235944"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.254820"], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.240060"], ["updated_at", "2016-12-07 20:14:24.240060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.258763"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.243738"], ["updated_at", "2016-12-07 20:14:24.243738"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.263337"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.265548"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.274334"], ["updated_at", "2016-12-07 20:14:24.274334"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:14:24.276781"], ["updated_at", "2016-12-07 20:14:24.276781"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.278998"], ["updated_at", "2016-12-07 20:14:24.278998"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.280589"], ["updated_at", "2016-12-07 20:14:24.280589"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.286548"], ["updated_at", "2016-12-07 20:14:24.286548"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.299088"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.307034"], ["updated_at", "2016-12-07 20:14:24.307034"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:14:24.310787"], ["updated_at", "2016-12-07 20:14:24.310787"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.314247"], ["updated_at", "2016-12-07 20:14:24.314247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.315902"], ["updated_at", "2016-12-07 20:14:24.315902"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:14:24.318228"], ["updated_at", "2016-12-07 20:14:24.318228"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.319639"], ["updated_at", "2016-12-07 20:14:24.319639"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:14:24.321985"], ["updated_at", "2016-12-07 20:14:24.321985"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.323288"], ["updated_at", "2016-12-07 20:14:24.323288"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:14:24.327357"], ["updated_at", "2016-12-07 20:14:24.327357"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.328969"], ["updated_at", "2016-12-07 20:14:24.328969"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.330921"], ["updated_at", "2016-12-07 20:14:24.330921"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.319639"], ["updated_at", "2016-12-07 20:14:24.319639"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.337773"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.323288"], ["updated_at", "2016-12-07 20:14:24.323288"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.341840"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.328969"], ["updated_at", "2016-12-07 20:14:24.328969"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.345806"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.347915"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.357393"], ["updated_at", "2016-12-07 20:14:24.357393"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:14:24.365206"], ["updated_at", "2016-12-07 20:14:24.365206"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:14:24.366800"], ["updated_at", "2016-12-07 20:14:24.366800"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:14:24.369216"], ["updated_at", "2016-12-07 20:14:24.369216"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:14:24.370442"], ["updated_at", "2016-12-07 20:14:24.370442"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:14:24.372691"], ["updated_at", "2016-12-07 20:14:24.372691"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:14:24.374029"], ["updated_at", "2016-12-07 20:14:24.374029"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.384769"], ["updated_at", "2016-12-07 20:14:24.384769"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.388525"], ["updated_at", "2016-12-07 20:14:24.388525"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.392428"], ["updated_at", "2016-12-07 20:14:24.392428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.399304"], ["updated_at", "2016-12-07 20:14:24.399304"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:14:24.402103"], ["updated_at", "2016-12-07 20:14:24.402103"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:14:24.403430"], ["updated_at", "2016-12-07 20:14:24.403430"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:14:24.405654"], ["updated_at", "2016-12-07 20:14:24.405654"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:14:24.407120"], ["updated_at", "2016-12-07 20:14:24.407120"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:14:24.409348"], ["updated_at", "2016-12-07 20:14:24.409348"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:14:24.410743"], ["updated_at", "2016-12-07 20:14:24.410743"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:14:24.414524"], ["updated_at", "2016-12-07 20:14:24.414524"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.416240"], ["updated_at", "2016-12-07 20:14:24.416240"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.422892"], ["updated_at", "2016-12-07 20:14:24.422892"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.426728"], ["updated_at", "2016-12-07 20:14:24.426728"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.431210"], ["updated_at", "2016-12-07 20:14:24.431210"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.439949"], ["updated_at", "2016-12-07 20:14:24.439949"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:14:24.448825"], ["updated_at", "2016-12-07 20:14:24.448825"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.450621"], ["updated_at", "2016-12-07 20:14:24.450621"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.467209"], ["updated_at", "2016-12-07 20:14:24.467209"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:14:24.470112"], ["updated_at", "2016-12-07 20:14:24.470112"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.471780"], ["updated_at", "2016-12-07 20:14:24.471780"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.474060"], ["updated_at", "2016-12-07 20:14:24.474060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:14:24.479348"], ["updated_at", "2016-12-07 20:14:24.479348"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.481559"], ["updated_at", "2016-12-07 20:14:24.481559"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:14:24.484162"], ["updated_at", "2016-12-07 20:14:24.484162"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.485522"], ["updated_at", "2016-12-07 20:14:24.485522"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:14:24.487899"], ["updated_at", "2016-12-07 20:14:24.487899"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.489284"], ["updated_at", "2016-12-07 20:14:24.489284"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:14:24.491479"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.494026"], ["updated_at", "2016-12-07 20:14:24.494026"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: ce877166-e8f8-4e47-b4d9-f55f26a39ec5) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.481559"], ["updated_at", "2016-12-07 20:14:24.481559"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.504277"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.485522"], ["updated_at", "2016-12-07 20:14:24.485522"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.510886"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.489284"], ["updated_at", "2016-12-07 20:14:24.489284"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.515448"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.517650"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ce877166-e8f8-4e47-b4d9-f55f26a39ec5] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.56ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (1.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.532566"], ["updated_at", "2016-12-07 20:14:24.532566"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:14:24.535320"], ["updated_at", "2016-12-07 20:14:24.535320"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.537432"], ["updated_at", "2016-12-07 20:14:24.537432"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.539213"], ["updated_at", "2016-12-07 20:14:24.539213"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:14:24.542559"], ["updated_at", "2016-12-07 20:14:24.542559"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.544527"], ["updated_at", "2016-12-07 20:14:24.544527"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:14:24.548029"], ["updated_at", "2016-12-07 20:14:24.548029"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.549600"], ["updated_at", "2016-12-07 20:14:24.549600"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:14:24.552349"], ["updated_at", "2016-12-07 20:14:24.552349"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.553909"], ["updated_at", "2016-12-07 20:14:24.553909"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:14:24.556125"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.558513"], ["updated_at", "2016-12-07 20:14:24.558513"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3420d80a-3785-40a7-b68d-bc203c7e9c98) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.544527"], ["updated_at", "2016-12-07 20:14:24.544527"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.567648"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.549600"], ["updated_at", "2016-12-07 20:14:24.549600"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.573253"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.553909"], ["updated_at", "2016-12-07 20:14:24.553909"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.579029"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.582252"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3420d80a-3785-40a7-b68d-bc203c7e9c98] Performed Pulitzer::CloneVersionJob from Inline(default) in 34.25ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:14:24.598174"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.600679"], ["updated_at", "2016-12-07 20:14:24.600679"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c33148f1-991d-41f1-9f5f-d89b4aba20a4) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.544527"], ["updated_at", "2016-12-07 20:14:24.544527"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:14:24.608937"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.549600"], ["updated_at", "2016-12-07 20:14:24.549600"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:14:24.613880"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.553909"], ["updated_at", "2016-12-07 20:14:24.553909"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:14:24.618002"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.620204"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c33148f1-991d-41f1-9f5f-d89b4aba20a4] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.88ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.633865"], ["updated_at", "2016-12-07 20:14:24.633865"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:14:24.637264"], ["updated_at", "2016-12-07 20:14:24.637264"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.639398"], ["updated_at", "2016-12-07 20:14:24.639398"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.641172"], ["updated_at", "2016-12-07 20:14:24.641172"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:14:24.643846"], ["updated_at", "2016-12-07 20:14:24.643846"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.646150"], ["updated_at", "2016-12-07 20:14:24.646150"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:14:24.648798"], ["updated_at", "2016-12-07 20:14:24.648798"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.650273"], ["updated_at", "2016-12-07 20:14:24.650273"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:14:24.652995"], ["updated_at", "2016-12-07 20:14:24.652995"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.654507"], ["updated_at", "2016-12-07 20:14:24.654507"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:14:24.656660"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.658969"], ["updated_at", "2016-12-07 20:14:24.658969"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 399aa59e-ecc2-48f9-a721-440d73e14e0d) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.646150"], ["updated_at", "2016-12-07 20:14:24.646150"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.670825"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.650273"], ["updated_at", "2016-12-07 20:14:24.650273"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.675421"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.2ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.654507"], ["updated_at", "2016-12-07 20:14:24.654507"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.681523"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.683828"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [399aa59e-ecc2-48f9-a721-440d73e14e0d] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.88ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:14:24.689748"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:14:24.699199"], ["updated_at", "2016-12-07 20:14:24.699199"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.701885"], ["updated_at", "2016-12-07 20:14:24.701885"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:14:24.704076"], ["updated_at", "2016-12-07 20:14:24.704076"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.705693"], ["updated_at", "2016-12-07 20:14:24.705693"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.707402"], ["updated_at", "2016-12-07 20:14:24.707402"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:14:24.709738"], ["updated_at", "2016-12-07 20:14:24.709738"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.711152"], ["updated_at", "2016-12-07 20:14:24.711152"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:14:24.713493"], ["updated_at", "2016-12-07 20:14:24.713493"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.714834"], ["updated_at", "2016-12-07 20:14:24.714834"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:14:24.717082"], ["updated_at", "2016-12-07 20:14:24.717082"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.718410"], ["updated_at", "2016-12-07 20:14:24.718410"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.724107"], ["updated_at", "2016-12-07 20:14:24.724107"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:14:24.726197"], ["updated_at", "2016-12-07 20:14:24.726197"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:14:24.727935"], ["updated_at", "2016-12-07 20:14:24.727935"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:14:24.732009"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.734858"], ["updated_at", "2016-12-07 20:14:24.734858"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 762cde7d-714a-4125-aa80-4b8386b38f0f) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.711152"], ["updated_at", "2016-12-07 20:14:24.711152"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.742827"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:14:24.714834"], ["updated_at", "2016-12-07 20:14:24.714834"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.749054"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:14:24.718410"], ["updated_at", "2016-12-07 20:14:24.718410"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:14:24.753353"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:14:24.756737"], ["updated_at", "2016-12-07 20:14:24.756737"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:14:24.758441"], ["updated_at", "2016-12-07 20:14:24.758441"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:14:24.760102"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [762cde7d-714a-4125-aa80-4b8386b38f0f] Performed Pulitzer::CloneVersionJob from Inline(default) in 27.91ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:14:24.772209"], ["updated_at", "2016-12-07 20:14:24.772209"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:14:24.782212"], ["updated_at", "2016-12-07 20:14:24.782212"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:14:24.786566"], ["updated_at", "2016-12-07 20:14:24.786566"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:14:24.790746"], ["updated_at", "2016-12-07 20:14:24.790746"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:14:24.796971"], ["updated_at", "2016-12-07 20:14:24.796971"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.798912"], ["updated_at", "2016-12-07 20:14:24.798912"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:14:24.804824"], ["updated_at", "2016-12-07 20:14:24.804824"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:14:24.807378"], ["updated_at", "2016-12-07 20:14:24.807378"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:14:24.814886"], ["updated_at", "2016-12-07 20:14:24.814886"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:14:24.820128"], ["updated_at", "2016-12-07 20:14:24.820128"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:14:24.825580"], ["updated_at", "2016-12-07 20:14:24.825580"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.952056"], ["updated_at", "2016-12-07 20:14:24.952056"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.967972"], ["updated_at", "2016-12-07 20:14:24.967972"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:14:24.970713"], ["updated_at", "2016-12-07 20:14:24.970713"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.972598"], ["updated_at", "2016-12-07 20:14:24.972598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.974693"], ["updated_at", "2016-12-07 20:14:24.974693"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:14:24.976227"], ["updated_at", "2016-12-07 20:14:24.976227"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:24.986233"], ["updated_at", "2016-12-07 20:14:24.986233"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:14:24.992697"], ["updated_at", "2016-12-07 20:14:24.992697"]] + SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:24.994441"], ["updated_at", "2016-12-07 20:14:24.994441"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:25.002450"], ["updated_at", "2016-12-07 20:14:25.002450"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:14:25.005145"], ["updated_at", "2016-12-07 20:14:25.005145"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:25.006754"], ["updated_at", "2016-12-07 20:14:25.006754"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:14:25.009114"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:14:25.017114"], ["updated_at", "2016-12-07 20:14:25.017114"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:25.019809"], ["updated_at", "2016-12-07 20:14:25.019809"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:14:25.022455"], ["updated_at", "2016-12-07 20:14:25.022455"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:25.024108"], ["updated_at", "2016-12-07 20:14:25.024108"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:25.025640"], ["updated_at", "2016-12-07 20:14:25.025640"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:25.050538"], ["updated_at", "2016-12-07 20:14:25.050538"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:14:25.054439"], ["updated_at", "2016-12-07 20:14:25.054439"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (1.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:14:25.112699"], ["updated_at", "2016-12-07 20:14:25.112699"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:25.124757"], ["updated_at", "2016-12-07 20:14:25.124757"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:14:25.127180"], ["updated_at", "2016-12-07 20:14:25.127180"]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:25.138785"], ["updated_at", "2016-12-07 20:14:25.138785"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:14:25.141540"], ["updated_at", "2016-12-07 20:14:25.141540"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:25.143222"], ["updated_at", "2016-12-07 20:14:25.143222"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:14:25.147256"], ["updated_at", "2016-12-07 20:14:25.147256"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:14:25.151092"], ["updated_at", "2016-12-07 20:14:25.151092"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:14:25.153359"], ["updated_at", "2016-12-07 20:14:25.153359"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:25.161438"], ["updated_at", "2016-12-07 20:14:25.161438"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:14:25.164107"], ["updated_at", "2016-12-07 20:14:25.164107"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:14:25.169869"], ["updated_at", "2016-12-07 20:14:25.169869"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:14:25.173670"], ["updated_at", "2016-12-07 20:14:25.173670"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:14:25.174893' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:14:25.177122"], ["updated_at", "2016-12-07 20:14:25.177122"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:14:25.178547' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:25.187173"], ["updated_at", "2016-12-07 20:14:25.187173"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:14:25.189634"], ["updated_at", "2016-12-07 20:14:25.189634"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:14:25.191993"], ["updated_at", "2016-12-07 20:14:25.191993"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:14:25.192935' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:25.197956"], ["updated_at", "2016-12-07 20:14:25.197956"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:14:25.200564"], ["updated_at", "2016-12-07 20:14:25.200564"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:14:25.202912"], ["updated_at", "2016-12-07 20:14:25.202912"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:14:25.203576' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:14:25.215512"], ["updated_at", "2016-12-07 20:14:25.215512"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:14:25.217890"], ["updated_at", "2016-12-07 20:14:25.217890"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:14:25.220696"], ["updated_at", "2016-12-07 20:14:25.220696"]] + SQL (0.3ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:14:25.222073' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:25.227322"], ["updated_at", "2016-12-07 20:14:25.227322"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:14:25.232693"], ["updated_at", "2016-12-07 20:14:25.232693"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:25.234883"], ["updated_at", "2016-12-07 20:14:25.234883"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:14:25.254526"], ["updated_at", "2016-12-07 20:14:25.254526"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:14:25.257593"], ["updated_at", "2016-12-07 20:14:25.257593"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:14:25.260475"], ["updated_at", "2016-12-07 20:14:25.260475"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:25.263079"], ["updated_at", "2016-12-07 20:14:25.263079"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:14:25.264906"], ["updated_at", "2016-12-07 20:14:25.264906"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:14:25.267060"], ["updated_at", "2016-12-07 20:14:25.267060"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.5ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.3ms) DELETE FROM "pulitzer_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.6ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.8ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.9ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.9ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.6ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:17:35.039267"], ["updated_at", "2016-12-07 20:17:35.039267"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (26.1ms) +Completed 200 OK in 60ms (Views: 37.8ms | ActiveRecord: 0.4ms) +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:17:35.115458"], ["updated_at", "2016-12-07 20:17:35.115458"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.8ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (7.9ms) +Completed 200 OK in 15ms (Views: 9.4ms | ActiveRecord: 0.6ms) + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:17:35.138817"], ["updated_at", "2016-12-07 20:17:35.138817"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.8ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (10.2ms) +Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:17:35.160749"], ["updated_at", "2016-12-07 20:17:35.160749"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.7ms) +Completed 200 OK in 10ms (Views: 5.1ms | ActiveRecord: 0.5ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:17:35.180525"], ["updated_at", "2016-12-07 20:17:35.180525"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:17:35.199079"], ["updated_at", "2016-12-07 20:17:35.199079"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.6ms) +Completed 200 OK in 26ms (Views: 17.0ms | ActiveRecord: 0.7ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:17:35.241213"], ["updated_at", "2016-12-07 20:17:35.241213"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (9.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (11.1ms) +Completed 200 OK in 23ms (Views: 12.4ms | ActiveRecord: 1.0ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:17:35.276049"], ["updated_at", "2016-12-07 20:17:35.276049"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (14.4ms) +Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.2ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:17:35.315382"], ["updated_at", "2016-12-07 20:17:35.315382"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:17:35.318509"], ["updated_at", "2016-12-07 20:17:35.318509"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (4.8ms) +Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:35.346363"], ["updated_at", "2016-12-07 20:17:35.346363"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:17:35.454344"], ["updated_at", "2016-12-07 20:17:35.454344"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:35.458935"], ["updated_at", "2016-12-07 20:17:35.458935"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:35.462464"], ["updated_at", "2016-12-07 20:17:35.462464"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:17:35.475161"], ["updated_at", "2016-12-07 20:17:35.475161"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.478017"], ["updated_at", "2016-12-07 20:17:35.478017"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:17:35.481222"], ["updated_at", "2016-12-07 20:17:35.481222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.484064"], ["updated_at", "2016-12-07 20:17:35.484064"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:17:35.487194"], ["updated_at", "2016-12-07 20:17:35.487194"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.488931"], ["updated_at", "2016-12-07 20:17:35.488931"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:17:35.501454"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 1.8ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:35.529373"], ["updated_at", "2016-12-07 20:17:35.529373"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:17:35.532547"], ["updated_at", "2016-12-07 20:17:35.532547"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:35.534289"], ["updated_at", "2016-12-07 20:17:35.534289"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:35.536193"], ["updated_at", "2016-12-07 20:17:35.536193"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:17:35.540934"], ["updated_at", "2016-12-07 20:17:35.540934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.542768"], ["updated_at", "2016-12-07 20:17:35.542768"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:17:35.545444"], ["updated_at", "2016-12-07 20:17:35.545444"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.547040"], ["updated_at", "2016-12-07 20:17:35.547040"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:17:35.549907"], ["updated_at", "2016-12-07 20:17:35.549907"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.552011"], ["updated_at", "2016-12-07 20:17:35.552011"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:17:35.558437"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:35.561734"], ["updated_at", "2016-12-07 20:17:35.561734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3d3fd7ea-69ed-4cd1-987f-6f1bacae5388) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:35.542768"], ["updated_at", "2016-12-07 20:17:35.542768"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:35.578053"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:35.547040"], ["updated_at", "2016-12-07 20:17:35.547040"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:35.585003"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:35.552011"], ["updated_at", "2016-12-07 20:17:35.552011"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:35.591011"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:35.593700"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3d3fd7ea-69ed-4cd1-987f-6f1bacae5388] Performed Pulitzer::CloneVersionJob from Inline(default) in 30.2ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:17:35.607508"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.3ms) + Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (7.3ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.9ms) + Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (8.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (36.2ms) +Completed 200 OK in 47ms (Views: 0.4ms | ActiveRecord: 1.3ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:35.659858"], ["updated_at", "2016-12-07 20:17:35.659858"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:17:35.662859"], ["updated_at", "2016-12-07 20:17:35.662859"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:35.664662"], ["updated_at", "2016-12-07 20:17:35.664662"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:35.666564"], ["updated_at", "2016-12-07 20:17:35.666564"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:17:35.669695"], ["updated_at", "2016-12-07 20:17:35.669695"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.671274"], ["updated_at", "2016-12-07 20:17:35.671274"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:17:35.674258"], ["updated_at", "2016-12-07 20:17:35.674258"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.675747"], ["updated_at", "2016-12-07 20:17:35.675747"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:17:35.678047"], ["updated_at", "2016-12-07 20:17:35.678047"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:35.679469"], ["updated_at", "2016-12-07 20:17:35.679469"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:17:35.682677"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:35.685454"], ["updated_at", "2016-12-07 20:17:35.685454"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3f58c760-a7e4-48ea-9542-33d8356dc9b6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:35.671274"], ["updated_at", "2016-12-07 20:17:35.671274"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:35.694124"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:35.675747"], ["updated_at", "2016-12-07 20:17:35.675747"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:35.701659"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:35.679469"], ["updated_at", "2016-12-07 20:17:35.679469"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:35.707004"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:35.710363"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3f58c760-a7e4-48ea-9542-33d8356dc9b6] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.6ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:17:35.722122"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:35.725099"], ["updated_at", "2016-12-07 20:17:35.725099"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: dcf84ee8-95a0-4b6b-b765-6a2f31ffa525) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:35.671274"], ["updated_at", "2016-12-07 20:17:35.671274"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:17:35.733297"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:35.675747"], ["updated_at", "2016-12-07 20:17:35.675747"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:17:35.738975"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:35.679469"], ["updated_at", "2016-12-07 20:17:35.679469"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:17:35.743885"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:35.746092"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [dcf84ee8-95a0-4b6b-b765-6a2f31ffa525] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.04ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (7.5ms) +Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 2.2ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:17:35.769918"], ["updated_at", "2016-12-07 20:17:35.769918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:35.774208"], ["updated_at", "2016-12-07 20:17:35.774208"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:17:35.787728"], ["updated_at", "2016-12-07 20:17:35.787728"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:35.790239"], ["updated_at", "2016-12-07 20:17:35.790239"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:17:35.801437"], ["updated_at", "2016-12-07 20:17:35.801437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:35.804517"], ["updated_at", "2016-12-07 20:17:35.804517"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.4ms) +Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:17:35.818078"], ["updated_at", "2016-12-07 20:17:35.818078"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:17:35.831758"], ["updated_at", "2016-12-07 20:17:35.831758"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.4ms) +Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.4ms) +Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:17:35.888372"], ["updated_at", "2016-12-07 20:17:35.888372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.7ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (5.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:17:35.906478"], ["updated_at", "2016-12-07 20:17:35.906478"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:17:35.915254"], ["updated_at", "2016-12-07 20:17:35.915254"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 7ms (Views: 2.7ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:17:35.932399"], ["updated_at", "2016-12-07 20:17:35.932399"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (2.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:17:35.945421"], ["updated_at", "2016-12-07 20:17:35.945421"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.4ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:17:35.959344"], ["updated_at", "2016-12-07 20:17:35.959344"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.7ms) +Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:17:35.992397"], ["updated_at", "2016-12-07 20:17:35.992397"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) +Completed 409 Conflict in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.9ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:17:36.004394"], ["updated_at", "2016-12-07 20:17:36.004394"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:17:36.015218"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:17:36.023247"], ["updated_at", "2016-12-07 20:17:36.023247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:17:36.028443"], ["updated_at", "2016-12-07 20:17:36.028443"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:17:36.040535"], ["updated_at", "2016-12-07 20:17:36.040535"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:17:36.045149"], ["updated_at", "2016-12-07 20:17:36.045149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (1.3ms) commit transaction +  (0.2ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:17:36.060059"], ["updated_at", "2016-12-07 20:17:36.060059"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.1ms) +Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:17:36.072154"], ["updated_at", "2016-12-07 20:17:36.072154"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.2ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.088384"], ["updated_at", "2016-12-07 20:17:36.088384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:17:36.094214"], ["updated_at", "2016-12-07 20:17:36.094214"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.096968"], ["updated_at", "2016-12-07 20:17:36.096968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.098723"], ["updated_at", "2016-12-07 20:17:36.098723"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:17:36.101885"], ["updated_at", "2016-12-07 20:17:36.101885"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.103551"], ["updated_at", "2016-12-07 20:17:36.103551"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:17:36.107566"], ["updated_at", "2016-12-07 20:17:36.107566"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.109255"], ["updated_at", "2016-12-07 20:17:36.109255"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:17:36.112588"], ["updated_at", "2016-12-07 20:17:36.112588"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.114278"], ["updated_at", "2016-12-07 20:17:36.114278"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.118416"], ["updated_at", "2016-12-07 20:17:36.118416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.103551"], ["updated_at", "2016-12-07 20:17:36.103551"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.127842"], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.109255"], ["updated_at", "2016-12-07 20:17:36.109255"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.132724"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.114278"], ["updated_at", "2016-12-07 20:17:36.114278"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.138695"], ["id", 6]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.141756"], ["id", 3]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (2.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.157957"], ["updated_at", "2016-12-07 20:17:36.157957"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:17:36.160793"], ["updated_at", "2016-12-07 20:17:36.160793"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.162442"], ["updated_at", "2016-12-07 20:17:36.162442"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.164142"], ["updated_at", "2016-12-07 20:17:36.164142"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.172804"], ["updated_at", "2016-12-07 20:17:36.172804"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.6ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.193011"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.203574"], ["updated_at", "2016-12-07 20:17:36.203574"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:17:36.208190"], ["updated_at", "2016-12-07 20:17:36.208190"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.210525"], ["updated_at", "2016-12-07 20:17:36.210525"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.212416"], ["updated_at", "2016-12-07 20:17:36.212416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:17:36.216158"], ["updated_at", "2016-12-07 20:17:36.216158"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.217933"], ["updated_at", "2016-12-07 20:17:36.217933"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:17:36.223129"], ["updated_at", "2016-12-07 20:17:36.223129"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.226314"], ["updated_at", "2016-12-07 20:17:36.226314"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:17:36.229479"], ["updated_at", "2016-12-07 20:17:36.229479"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.231096"], ["updated_at", "2016-12-07 20:17:36.231096"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.232946"], ["updated_at", "2016-12-07 20:17:36.232946"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.217933"], ["updated_at", "2016-12-07 20:17:36.217933"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.242438"], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.226314"], ["updated_at", "2016-12-07 20:17:36.226314"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.249111"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.231096"], ["updated_at", "2016-12-07 20:17:36.231096"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.253651"], ["id", 6]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.257832"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.267521"], ["updated_at", "2016-12-07 20:17:36.267521"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:17:36.276986"], ["updated_at", "2016-12-07 20:17:36.276986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:17:36.279043"], ["updated_at", "2016-12-07 20:17:36.279043"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:17:36.281899"], ["updated_at", "2016-12-07 20:17:36.281899"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:17:36.283209"], ["updated_at", "2016-12-07 20:17:36.283209"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:17:36.286218"], ["updated_at", "2016-12-07 20:17:36.286218"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:17:36.287781"], ["updated_at", "2016-12-07 20:17:36.287781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.308094"], ["updated_at", "2016-12-07 20:17:36.308094"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.312034"], ["updated_at", "2016-12-07 20:17:36.312034"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.318437"], ["updated_at", "2016-12-07 20:17:36.318437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.325039"], ["updated_at", "2016-12-07 20:17:36.325039"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:17:36.328683"], ["updated_at", "2016-12-07 20:17:36.328683"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:17:36.330411"], ["updated_at", "2016-12-07 20:17:36.330411"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:17:36.333200"], ["updated_at", "2016-12-07 20:17:36.333200"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:17:36.334665"], ["updated_at", "2016-12-07 20:17:36.334665"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:17:36.337314"], ["updated_at", "2016-12-07 20:17:36.337314"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:17:36.338676"], ["updated_at", "2016-12-07 20:17:36.338676"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:17:36.344243"], ["updated_at", "2016-12-07 20:17:36.344243"]] + SQL (0.7ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.346673"], ["updated_at", "2016-12-07 20:17:36.346673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.356501"], ["updated_at", "2016-12-07 20:17:36.356501"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.364859"], ["updated_at", "2016-12-07 20:17:36.364859"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.369107"], ["updated_at", "2016-12-07 20:17:36.369107"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.379146"], ["updated_at", "2016-12-07 20:17:36.379146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:17:36.387379"], ["updated_at", "2016-12-07 20:17:36.387379"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.388949"], ["updated_at", "2016-12-07 20:17:36.388949"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.413822"], ["updated_at", "2016-12-07 20:17:36.413822"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:17:36.417828"], ["updated_at", "2016-12-07 20:17:36.417828"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.419968"], ["updated_at", "2016-12-07 20:17:36.419968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.422105"], ["updated_at", "2016-12-07 20:17:36.422105"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:17:36.427269"], ["updated_at", "2016-12-07 20:17:36.427269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.429223"], ["updated_at", "2016-12-07 20:17:36.429223"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:17:36.432435"], ["updated_at", "2016-12-07 20:17:36.432435"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.434170"], ["updated_at", "2016-12-07 20:17:36.434170"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:17:36.437225"], ["updated_at", "2016-12-07 20:17:36.437225"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.439542"], ["updated_at", "2016-12-07 20:17:36.439542"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:17:36.443766"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.446875"], ["updated_at", "2016-12-07 20:17:36.446875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 20e247cf-ff8b-45ac-b34e-8e8f4d0074ff) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.2ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.429223"], ["updated_at", "2016-12-07 20:17:36.429223"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.460348"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.434170"], ["updated_at", "2016-12-07 20:17:36.434170"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.465532"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.439542"], ["updated_at", "2016-12-07 20:17:36.439542"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.471011"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.5ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.476440"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [20e247cf-ff8b-45ac-b34e-8e8f4d0074ff] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.89ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.494072"], ["updated_at", "2016-12-07 20:17:36.494072"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:17:36.497328"], ["updated_at", "2016-12-07 20:17:36.497328"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.499790"], ["updated_at", "2016-12-07 20:17:36.499790"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.503920"], ["updated_at", "2016-12-07 20:17:36.503920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:17:36.509038"], ["updated_at", "2016-12-07 20:17:36.509038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.511083"], ["updated_at", "2016-12-07 20:17:36.511083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:17:36.514218"], ["updated_at", "2016-12-07 20:17:36.514218"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.515900"], ["updated_at", "2016-12-07 20:17:36.515900"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:17:36.519530"], ["updated_at", "2016-12-07 20:17:36.519530"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.521393"], ["updated_at", "2016-12-07 20:17:36.521393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:17:36.526988"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.531498"], ["updated_at", "2016-12-07 20:17:36.531498"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 050fd990-ac97-44cf-b55d-743d523ef48d) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.511083"], ["updated_at", "2016-12-07 20:17:36.511083"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.542772"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.515900"], ["updated_at", "2016-12-07 20:17:36.515900"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.548420"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.521393"], ["updated_at", "2016-12-07 20:17:36.521393"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.555556"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.569944"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [050fd990-ac97-44cf-b55d-743d523ef48d] Performed Pulitzer::CloneVersionJob from Inline(default) in 40.66ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:17:36.580627"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.583848"], ["updated_at", "2016-12-07 20:17:36.583848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 73988f1d-531a-4204-a230-65437fdf6076) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.511083"], ["updated_at", "2016-12-07 20:17:36.511083"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:17:36.594342"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.515900"], ["updated_at", "2016-12-07 20:17:36.515900"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:17:36.599951"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.521393"], ["updated_at", "2016-12-07 20:17:36.521393"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:17:36.608049"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.611293"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [73988f1d-531a-4204-a230-65437fdf6076] Performed Pulitzer::CloneVersionJob from Inline(default) in 28.97ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.2ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.624134"], ["updated_at", "2016-12-07 20:17:36.624134"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:17:36.627621"], ["updated_at", "2016-12-07 20:17:36.627621"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.631305"], ["updated_at", "2016-12-07 20:17:36.631305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.633033"], ["updated_at", "2016-12-07 20:17:36.633033"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:17:36.635618"], ["updated_at", "2016-12-07 20:17:36.635618"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.637445"], ["updated_at", "2016-12-07 20:17:36.637445"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:17:36.642065"], ["updated_at", "2016-12-07 20:17:36.642065"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.643678"], ["updated_at", "2016-12-07 20:17:36.643678"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:17:36.646589"], ["updated_at", "2016-12-07 20:17:36.646589"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.648235"], ["updated_at", "2016-12-07 20:17:36.648235"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:17:36.650706"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.654818"], ["updated_at", "2016-12-07 20:17:36.654818"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a224986f-baa2-488c-a9a2-d1973823c561) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.637445"], ["updated_at", "2016-12-07 20:17:36.637445"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.668042"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.643678"], ["updated_at", "2016-12-07 20:17:36.643678"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.673573"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.648235"], ["updated_at", "2016-12-07 20:17:36.648235"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.680427"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.683554"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a224986f-baa2-488c-a9a2-d1973823c561] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.99ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:17:36.692441"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:17:36.703799"], ["updated_at", "2016-12-07 20:17:36.703799"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:36.708351"], ["updated_at", "2016-12-07 20:17:36.708351"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:17:36.711648"], ["updated_at", "2016-12-07 20:17:36.711648"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.713349"], ["updated_at", "2016-12-07 20:17:36.713349"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:36.714867"], ["updated_at", "2016-12-07 20:17:36.714867"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:17:36.717617"], ["updated_at", "2016-12-07 20:17:36.717617"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.719468"], ["updated_at", "2016-12-07 20:17:36.719468"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:17:36.722974"], ["updated_at", "2016-12-07 20:17:36.722974"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.726176"], ["updated_at", "2016-12-07 20:17:36.726176"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:17:36.729360"], ["updated_at", "2016-12-07 20:17:36.729360"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.732712"], ["updated_at", "2016-12-07 20:17:36.732712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.743434"], ["updated_at", "2016-12-07 20:17:36.743434"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:17:36.745835"], ["updated_at", "2016-12-07 20:17:36.745835"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:17:36.748053"], ["updated_at", "2016-12-07 20:17:36.748053"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:17:36.752158"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:17:36.754416"], ["updated_at", "2016-12-07 20:17:36.754416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.719468"], ["updated_at", "2016-12-07 20:17:36.719468"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.766395"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:17:36.726176"], ["updated_at", "2016-12-07 20:17:36.726176"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.771138"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:17:36.732712"], ["updated_at", "2016-12-07 20:17:36.732712"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:17:36.778331"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:17:36.782872"], ["updated_at", "2016-12-07 20:17:36.782872"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:17:36.785521"], ["updated_at", "2016-12-07 20:17:36.785521"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:17:36.787197"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [3c52b44b-cf5a-4d3d-8e82-7dc4bf2ea3ac] Performed Pulitzer::CloneVersionJob from Inline(default) in 34.02ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:17:36.800270"], ["updated_at", "2016-12-07 20:17:36.800270"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.4ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:17:36.813269"], ["updated_at", "2016-12-07 20:17:36.813269"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:17:36.819430"], ["updated_at", "2016-12-07 20:17:36.819430"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:17:36.828647"], ["updated_at", "2016-12-07 20:17:36.828647"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:17:36.837951"], ["updated_at", "2016-12-07 20:17:36.837951"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.841755"], ["updated_at", "2016-12-07 20:17:36.841755"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:17:36.848003"], ["updated_at", "2016-12-07 20:17:36.848003"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:17:36.849968"], ["updated_at", "2016-12-07 20:17:36.849968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.9ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:17:36.855714"], ["updated_at", "2016-12-07 20:17:36.855714"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:17:36.863437"], ["updated_at", "2016-12-07 20:17:36.863437"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:17:36.869425"], ["updated_at", "2016-12-07 20:17:36.869425"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.025679"], ["updated_at", "2016-12-07 20:17:37.025679"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.042766"], ["updated_at", "2016-12-07 20:17:37.042766"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:17:37.045953"], ["updated_at", "2016-12-07 20:17:37.045953"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.047818"], ["updated_at", "2016-12-07 20:17:37.047818"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.049762"], ["updated_at", "2016-12-07 20:17:37.049762"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:17:37.051663"], ["updated_at", "2016-12-07 20:17:37.051663"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.059496"], ["updated_at", "2016-12-07 20:17:37.059496"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:17:37.062725"], ["updated_at", "2016-12-07 20:17:37.062725"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.065339"], ["updated_at", "2016-12-07 20:17:37.065339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.069713"], ["updated_at", "2016-12-07 20:17:37.069713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:17:37.073219"], ["updated_at", "2016-12-07 20:17:37.073219"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.076473"], ["updated_at", "2016-12-07 20:17:37.076473"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:17:37.079096"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:17:37.085275"], ["updated_at", "2016-12-07 20:17:37.085275"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.090919"], ["updated_at", "2016-12-07 20:17:37.090919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:17:37.095979"], ["updated_at", "2016-12-07 20:17:37.095979"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.099315"], ["updated_at", "2016-12-07 20:17:37.099315"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.102291"], ["updated_at", "2016-12-07 20:17:37.102291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.142348"], ["updated_at", "2016-12-07 20:17:37.142348"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:17:37.148781"], ["updated_at", "2016-12-07 20:17:37.148781"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:17:37.204103"], ["updated_at", "2016-12-07 20:17:37.204103"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:37.220058"], ["updated_at", "2016-12-07 20:17:37.220058"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:17:37.223598"], ["updated_at", "2016-12-07 20:17:37.223598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.233518"], ["updated_at", "2016-12-07 20:17:37.233518"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:17:37.239067"], ["updated_at", "2016-12-07 20:17:37.239067"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.242147"], ["updated_at", "2016-12-07 20:17:37.242147"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:17:37.245400"], ["updated_at", "2016-12-07 20:17:37.245400"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:17:37.248637"], ["updated_at", "2016-12-07 20:17:37.248637"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:17:37.251797"], ["updated_at", "2016-12-07 20:17:37.251797"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.6ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:37.262985"], ["updated_at", "2016-12-07 20:17:37.262985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:17:37.266248"], ["updated_at", "2016-12-07 20:17:37.266248"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.7ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:17:37.277501"], ["updated_at", "2016-12-07 20:17:37.277501"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:17:37.282163"], ["updated_at", "2016-12-07 20:17:37.282163"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:17:37.283807' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:17:37.286422"], ["updated_at", "2016-12-07 20:17:37.286422"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:17:37.287614' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:37.299711"], ["updated_at", "2016-12-07 20:17:37.299711"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:17:37.302505"], ["updated_at", "2016-12-07 20:17:37.302505"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:17:37.307294"], ["updated_at", "2016-12-07 20:17:37.307294"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:17:37.309655' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:37.315346"], ["updated_at", "2016-12-07 20:17:37.315346"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:17:37.319844"], ["updated_at", "2016-12-07 20:17:37.319844"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:17:37.335041"], ["updated_at", "2016-12-07 20:17:37.335041"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:17:37.336761' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.5ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:17:37.344770"], ["updated_at", "2016-12-07 20:17:37.344770"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:17:37.348420"], ["updated_at", "2016-12-07 20:17:37.348420"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:17:37.352681"], ["updated_at", "2016-12-07 20:17:37.352681"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:17:37.354050' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.362883"], ["updated_at", "2016-12-07 20:17:37.362883"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:17:37.365795"], ["updated_at", "2016-12-07 20:17:37.365795"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.368134"], ["updated_at", "2016-12-07 20:17:37.368134"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:17:37.400192"], ["updated_at", "2016-12-07 20:17:37.400192"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:17:37.403784"], ["updated_at", "2016-12-07 20:17:37.403784"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:17:37.408296"], ["updated_at", "2016-12-07 20:17:37.408296"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.410817"], ["updated_at", "2016-12-07 20:17:37.410817"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:17:37.412987"], ["updated_at", "2016-12-07 20:17:37.412987"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:17:37.415406"], ["updated_at", "2016-12-07 20:17:37.415406"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.5ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.6ms) DELETE FROM "pulitzer_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (1.3ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.7ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.8ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.8ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.7ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:20:44.640719"], ["updated_at", "2016-12-07 20:20:44.640719"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (4.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.2ms) +Completed 200 OK in 50ms (Views: 29.5ms | ActiveRecord: 0.4ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:20:44.705578"], ["updated_at", "2016-12-07 20:20:44.705578"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (8.3ms) +Completed 200 OK in 16ms (Views: 10.2ms | ActiveRecord: 0.5ms) + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:20:44.730490"], ["updated_at", "2016-12-07 20:20:44.730490"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (8.8ms) +Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:20:44.752568"], ["updated_at", "2016-12-07 20:20:44.752568"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.7ms) +Completed 200 OK in 11ms (Views: 6.1ms | ActiveRecord: 0.5ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:20:44.775027"], ["updated_at", "2016-12-07 20:20:44.775027"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:20:44.792695"], ["updated_at", "2016-12-07 20:20:44.792695"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.8ms) +Completed 200 OK in 25ms (Views: 16.5ms | ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:20:44.834650"], ["updated_at", "2016-12-07 20:20:44.834650"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.4ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (10.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (12.6ms) +Completed 200 OK in 25ms (Views: 14.1ms | ActiveRecord: 1.0ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:20:44.873560"], ["updated_at", "2016-12-07 20:20:44.873560"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (15.6ms) +Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.3ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:20:44.914937"], ["updated_at", "2016-12-07 20:20:44.914937"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:20:44.919085"], ["updated_at", "2016-12-07 20:20:44.919085"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.8ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (6.1ms) +Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:44.950919"], ["updated_at", "2016-12-07 20:20:44.950919"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:20:45.043331"], ["updated_at", "2016-12-07 20:20:45.043331"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.045964"], ["updated_at", "2016-12-07 20:20:45.045964"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.048698"], ["updated_at", "2016-12-07 20:20:45.048698"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:20:45.060822"], ["updated_at", "2016-12-07 20:20:45.060822"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.063242"], ["updated_at", "2016-12-07 20:20:45.063242"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:20:45.066008"], ["updated_at", "2016-12-07 20:20:45.066008"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.067697"], ["updated_at", "2016-12-07 20:20:45.067697"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:20:45.070747"], ["updated_at", "2016-12-07 20:20:45.070747"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.072345"], ["updated_at", "2016-12-07 20:20:45.072345"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:20:45.082916"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 1.2ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.130239"], ["updated_at", "2016-12-07 20:20:45.130239"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:20:45.132697"], ["updated_at", "2016-12-07 20:20:45.132697"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.134303"], ["updated_at", "2016-12-07 20:20:45.134303"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.135914"], ["updated_at", "2016-12-07 20:20:45.135914"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:20:45.138210"], ["updated_at", "2016-12-07 20:20:45.138210"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.139614"], ["updated_at", "2016-12-07 20:20:45.139614"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:20:45.144108"], ["updated_at", "2016-12-07 20:20:45.144108"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.146485"], ["updated_at", "2016-12-07 20:20:45.146485"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:20:45.150630"], ["updated_at", "2016-12-07 20:20:45.150630"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.152897"], ["updated_at", "2016-12-07 20:20:45.152897"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:20:45.163175"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:45.166103"], ["updated_at", "2016-12-07 20:20:45.166103"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 50b0b557-4925-4326-85c5-5dff7d977f13) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.139614"], ["updated_at", "2016-12-07 20:20:45.139614"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.187937"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.146485"], ["updated_at", "2016-12-07 20:20:45.146485"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.192883"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.152897"], ["updated_at", "2016-12-07 20:20:45.152897"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.197338"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:45.200888"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [50b0b557-4925-4326-85c5-5dff7d977f13] Performed Pulitzer::CloneVersionJob from Inline(default) in 32.3ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:20:45.212844"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.8ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (2.8ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.9ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.9ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (33.1ms) +Completed 200 OK in 44ms (Views: 0.3ms | ActiveRecord: 1.0ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.261352"], ["updated_at", "2016-12-07 20:20:45.261352"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:20:45.264688"], ["updated_at", "2016-12-07 20:20:45.264688"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.266538"], ["updated_at", "2016-12-07 20:20:45.266538"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.268361"], ["updated_at", "2016-12-07 20:20:45.268361"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:20:45.271383"], ["updated_at", "2016-12-07 20:20:45.271383"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.272954"], ["updated_at", "2016-12-07 20:20:45.272954"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:20:45.275746"], ["updated_at", "2016-12-07 20:20:45.275746"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.277278"], ["updated_at", "2016-12-07 20:20:45.277278"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:20:45.280152"], ["updated_at", "2016-12-07 20:20:45.280152"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.281609"], ["updated_at", "2016-12-07 20:20:45.281609"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:20:45.284877"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:45.287379"], ["updated_at", "2016-12-07 20:20:45.287379"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4561a65b-ee2d-4ef4-85e2-15ddeee744ec) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.272954"], ["updated_at", "2016-12-07 20:20:45.272954"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.296001"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.277278"], ["updated_at", "2016-12-07 20:20:45.277278"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.301370"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.281609"], ["updated_at", "2016-12-07 20:20:45.281609"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.307647"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:45.310175"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4561a65b-ee2d-4ef4-85e2-15ddeee744ec] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.23ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:20:45.321769"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:45.324285"], ["updated_at", "2016-12-07 20:20:45.324285"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8235bf6f-0388-4073-8956-cd68c58664fd) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.272954"], ["updated_at", "2016-12-07 20:20:45.272954"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:20:45.333040"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.277278"], ["updated_at", "2016-12-07 20:20:45.277278"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:20:45.338257"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.281609"], ["updated_at", "2016-12-07 20:20:45.281609"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:20:45.343318"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:45.346108"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [8235bf6f-0388-4073-8956-cd68c58664fd] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.34ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (7.3ms) +Completed 200 OK in 38ms (Views: 0.4ms | ActiveRecord: 2.2ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:20:45.371844"], ["updated_at", "2016-12-07 20:20:45.371844"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:45.375941"], ["updated_at", "2016-12-07 20:20:45.375941"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:20:45.391243"], ["updated_at", "2016-12-07 20:20:45.391243"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:45.393581"], ["updated_at", "2016-12-07 20:20:45.393581"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:20:45.404265"], ["updated_at", "2016-12-07 20:20:45.404265"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:45.406811"], ["updated_at", "2016-12-07 20:20:45.406811"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:20:45.416389"], ["updated_at", "2016-12-07 20:20:45.416389"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:20:45.429709"], ["updated_at", "2016-12-07 20:20:45.429709"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.3ms) +Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:20:45.492442"], ["updated_at", "2016-12-07 20:20:45.492442"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:20:45.508131"], ["updated_at", "2016-12-07 20:20:45.508131"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.5ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:20:45.514228"], ["updated_at", "2016-12-07 20:20:45.514228"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:20:45.531425"], ["updated_at", "2016-12-07 20:20:45.531425"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:20:45.544417"], ["updated_at", "2016-12-07 20:20:45.544417"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:20:45.556745"], ["updated_at", "2016-12-07 20:20:45.556745"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:20:45.572339"], ["updated_at", "2016-12-07 20:20:45.572339"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.6ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:20:45.585422"], ["updated_at", "2016-12-07 20:20:45.585422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:20:45.593861"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:20:45.599749"], ["updated_at", "2016-12-07 20:20:45.599749"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:20:45.602982"], ["updated_at", "2016-12-07 20:20:45.602982"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:20:45.614487"], ["updated_at", "2016-12-07 20:20:45.614487"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:20:45.617845"], ["updated_at", "2016-12-07 20:20:45.617845"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:20:45.631229"], ["updated_at", "2016-12-07 20:20:45.631229"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:20:45.643083"], ["updated_at", "2016-12-07 20:20:45.643083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.656939"], ["updated_at", "2016-12-07 20:20:45.656939"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:20:45.659735"], ["updated_at", "2016-12-07 20:20:45.659735"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.661573"], ["updated_at", "2016-12-07 20:20:45.661573"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.663550"], ["updated_at", "2016-12-07 20:20:45.663550"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:20:45.667514"], ["updated_at", "2016-12-07 20:20:45.667514"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.670038"], ["updated_at", "2016-12-07 20:20:45.670038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:20:45.674545"], ["updated_at", "2016-12-07 20:20:45.674545"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.676065"], ["updated_at", "2016-12-07 20:20:45.676065"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:20:45.678665"], ["updated_at", "2016-12-07 20:20:45.678665"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.680083"], ["updated_at", "2016-12-07 20:20:45.680083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:45.683126"], ["updated_at", "2016-12-07 20:20:45.683126"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.670038"], ["updated_at", "2016-12-07 20:20:45.670038"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.690055"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.676065"], ["updated_at", "2016-12-07 20:20:45.676065"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.694626"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.680083"], ["updated_at", "2016-12-07 20:20:45.680083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.698716"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:45.701138"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.710523"], ["updated_at", "2016-12-07 20:20:45.710523"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:20:45.712989"], ["updated_at", "2016-12-07 20:20:45.712989"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.714555"], ["updated_at", "2016-12-07 20:20:45.714555"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.715918"], ["updated_at", "2016-12-07 20:20:45.715918"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:45.722263"], ["updated_at", "2016-12-07 20:20:45.722263"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:45.733893"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.742872"], ["updated_at", "2016-12-07 20:20:45.742872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:20:45.746637"], ["updated_at", "2016-12-07 20:20:45.746637"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.748387"], ["updated_at", "2016-12-07 20:20:45.748387"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.750394"], ["updated_at", "2016-12-07 20:20:45.750394"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:20:45.754664"], ["updated_at", "2016-12-07 20:20:45.754664"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.756397"], ["updated_at", "2016-12-07 20:20:45.756397"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:20:45.759033"], ["updated_at", "2016-12-07 20:20:45.759033"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.760396"], ["updated_at", "2016-12-07 20:20:45.760396"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:20:45.762688"], ["updated_at", "2016-12-07 20:20:45.762688"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.764019"], ["updated_at", "2016-12-07 20:20:45.764019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:45.766256"], ["updated_at", "2016-12-07 20:20:45.766256"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.756397"], ["updated_at", "2016-12-07 20:20:45.756397"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.773301"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.760396"], ["updated_at", "2016-12-07 20:20:45.760396"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.777750"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.764019"], ["updated_at", "2016-12-07 20:20:45.764019"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.782409"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:45.784615"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.793877"], ["updated_at", "2016-12-07 20:20:45.793877"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:20:45.800995"], ["updated_at", "2016-12-07 20:20:45.800995"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:20:45.803112"], ["updated_at", "2016-12-07 20:20:45.803112"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:20:45.806330"], ["updated_at", "2016-12-07 20:20:45.806330"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:20:45.807796"], ["updated_at", "2016-12-07 20:20:45.807796"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:20:45.810069"], ["updated_at", "2016-12-07 20:20:45.810069"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:20:45.811291"], ["updated_at", "2016-12-07 20:20:45.811291"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.822558"], ["updated_at", "2016-12-07 20:20:45.822558"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.825779"], ["updated_at", "2016-12-07 20:20:45.825779"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.830724"], ["updated_at", "2016-12-07 20:20:45.830724"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.835802"], ["updated_at", "2016-12-07 20:20:45.835802"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:20:45.840428"], ["updated_at", "2016-12-07 20:20:45.840428"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:20:45.842235"], ["updated_at", "2016-12-07 20:20:45.842235"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:20:45.845195"], ["updated_at", "2016-12-07 20:20:45.845195"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:20:45.846557"], ["updated_at", "2016-12-07 20:20:45.846557"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:20:45.848840"], ["updated_at", "2016-12-07 20:20:45.848840"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:20:45.850112"], ["updated_at", "2016-12-07 20:20:45.850112"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:20:45.854447"], ["updated_at", "2016-12-07 20:20:45.854447"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.856125"], ["updated_at", "2016-12-07 20:20:45.856125"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.862408"], ["updated_at", "2016-12-07 20:20:45.862408"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.866423"], ["updated_at", "2016-12-07 20:20:45.866423"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.871216"], ["updated_at", "2016-12-07 20:20:45.871216"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.878835"], ["updated_at", "2016-12-07 20:20:45.878835"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:20:45.885678"], ["updated_at", "2016-12-07 20:20:45.885678"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.889297"], ["updated_at", "2016-12-07 20:20:45.889297"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.906471"], ["updated_at", "2016-12-07 20:20:45.906471"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:20:45.909302"], ["updated_at", "2016-12-07 20:20:45.909302"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.911234"], ["updated_at", "2016-12-07 20:20:45.911234"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.913761"], ["updated_at", "2016-12-07 20:20:45.913761"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:20:45.917461"], ["updated_at", "2016-12-07 20:20:45.917461"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.919239"], ["updated_at", "2016-12-07 20:20:45.919239"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:20:45.923880"], ["updated_at", "2016-12-07 20:20:45.923880"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.925529"], ["updated_at", "2016-12-07 20:20:45.925529"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:20:45.929081"], ["updated_at", "2016-12-07 20:20:45.929081"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.931222"], ["updated_at", "2016-12-07 20:20:45.931222"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:20:45.934330"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:45.937699"], ["updated_at", "2016-12-07 20:20:45.937699"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 1956ceb9-d1e4-427a-acd4-c7ea1d1f494a) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.919239"], ["updated_at", "2016-12-07 20:20:45.919239"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.947491"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:45.925529"], ["updated_at", "2016-12-07 20:20:45.925529"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.952466"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:45.931222"], ["updated_at", "2016-12-07 20:20:45.931222"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:45.968154"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:45.971484"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [1956ceb9-d1e4-427a-acd4-c7ea1d1f494a] Performed Pulitzer::CloneVersionJob from Inline(default) in 35.31ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:45.985294"], ["updated_at", "2016-12-07 20:20:45.985294"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:20:45.987894"], ["updated_at", "2016-12-07 20:20:45.987894"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.989800"], ["updated_at", "2016-12-07 20:20:45.989800"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:45.991245"], ["updated_at", "2016-12-07 20:20:45.991245"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:20:45.994323"], ["updated_at", "2016-12-07 20:20:45.994323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:45.996205"], ["updated_at", "2016-12-07 20:20:45.996205"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:20:45.999730"], ["updated_at", "2016-12-07 20:20:45.999730"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.001527"], ["updated_at", "2016-12-07 20:20:46.001527"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:20:46.005105"], ["updated_at", "2016-12-07 20:20:46.005105"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.006734"], ["updated_at", "2016-12-07 20:20:46.006734"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:20:46.008813"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:46.011192"], ["updated_at", "2016-12-07 20:20:46.011192"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: d96982c6-b874-48c0-a5ec-1f08c5043ef1) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.996205"], ["updated_at", "2016-12-07 20:20:45.996205"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.021540"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:46.001527"], ["updated_at", "2016-12-07 20:20:46.001527"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.026171"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:46.006734"], ["updated_at", "2016-12-07 20:20:46.006734"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.030921"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:46.033567"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [d96982c6-b874-48c0-a5ec-1f08c5043ef1] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.75ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:20:46.043251"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:46.046671"], ["updated_at", "2016-12-07 20:20:46.046671"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 98156d74-7157-4a5a-9281-8f9c5e5df799) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:45.996205"], ["updated_at", "2016-12-07 20:20:45.996205"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:20:46.056000"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:46.001527"], ["updated_at", "2016-12-07 20:20:46.001527"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:20:46.060128"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:46.006734"], ["updated_at", "2016-12-07 20:20:46.006734"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:20:46.064669"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:46.066814"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [98156d74-7157-4a5a-9281-8f9c5e5df799] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.54ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.079614"], ["updated_at", "2016-12-07 20:20:46.079614"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:20:46.082100"], ["updated_at", "2016-12-07 20:20:46.082100"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.083552"], ["updated_at", "2016-12-07 20:20:46.083552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.085616"], ["updated_at", "2016-12-07 20:20:46.085616"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:20:46.088436"], ["updated_at", "2016-12-07 20:20:46.088436"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.089897"], ["updated_at", "2016-12-07 20:20:46.089897"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:20:46.092675"], ["updated_at", "2016-12-07 20:20:46.092675"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.094119"], ["updated_at", "2016-12-07 20:20:46.094119"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:20:46.096487"], ["updated_at", "2016-12-07 20:20:46.096487"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.097841"], ["updated_at", "2016-12-07 20:20:46.097841"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:20:46.100159"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:46.102896"], ["updated_at", "2016-12-07 20:20:46.102896"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 867655c7-24d3-4d17-9e6b-aefa86260063) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:46.089897"], ["updated_at", "2016-12-07 20:20:46.089897"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.111858"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:46.094119"], ["updated_at", "2016-12-07 20:20:46.094119"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.117836"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:46.097841"], ["updated_at", "2016-12-07 20:20:46.097841"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.124497"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:46.127098"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [867655c7-24d3-4d17-9e6b-aefa86260063] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.06ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:20:46.133315"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:20:46.144005"], ["updated_at", "2016-12-07 20:20:46.144005"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.146681"], ["updated_at", "2016-12-07 20:20:46.146681"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:20:46.149067"], ["updated_at", "2016-12-07 20:20:46.149067"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.150783"], ["updated_at", "2016-12-07 20:20:46.150783"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.152654"], ["updated_at", "2016-12-07 20:20:46.152654"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:20:46.155721"], ["updated_at", "2016-12-07 20:20:46.155721"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.157796"], ["updated_at", "2016-12-07 20:20:46.157796"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:20:46.160367"], ["updated_at", "2016-12-07 20:20:46.160367"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.161739"], ["updated_at", "2016-12-07 20:20:46.161739"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:20:46.164323"], ["updated_at", "2016-12-07 20:20:46.164323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.165807"], ["updated_at", "2016-12-07 20:20:46.165807"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.173020"], ["updated_at", "2016-12-07 20:20:46.173020"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:20:46.175778"], ["updated_at", "2016-12-07 20:20:46.175778"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.178672"], ["updated_at", "2016-12-07 20:20:46.178672"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:20:46.183198"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:20:46.184807"], ["updated_at", "2016-12-07 20:20:46.184807"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 9ab829d4-bfc4-44fb-a7f3-132964c3a837) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:46.157796"], ["updated_at", "2016-12-07 20:20:46.157796"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.194492"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:20:46.161739"], ["updated_at", "2016-12-07 20:20:46.161739"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.199104"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:20:46.165807"], ["updated_at", "2016-12-07 20:20:46.165807"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:20:46.203695"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:20:46.206455"], ["updated_at", "2016-12-07 20:20:46.206455"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:20:46.207878"], ["updated_at", "2016-12-07 20:20:46.207878"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:20:46.209591"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [9ab829d4-bfc4-44fb-a7f3-132964c3a837] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.06ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:20:46.220710"], ["updated_at", "2016-12-07 20:20:46.220710"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:20:46.230023"], ["updated_at", "2016-12-07 20:20:46.230023"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:20:46.235124"], ["updated_at", "2016-12-07 20:20:46.235124"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:20:46.240253"], ["updated_at", "2016-12-07 20:20:46.240253"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:20:46.245640"], ["updated_at", "2016-12-07 20:20:46.245640"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:46.247268"], ["updated_at", "2016-12-07 20:20:46.247268"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:20:46.253114"], ["updated_at", "2016-12-07 20:20:46.253114"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:20:46.255453"], ["updated_at", "2016-12-07 20:20:46.255453"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:20:46.261234"], ["updated_at", "2016-12-07 20:20:46.261234"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:20:46.267202"], ["updated_at", "2016-12-07 20:20:46.267202"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.3ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:20:46.274016"], ["updated_at", "2016-12-07 20:20:46.274016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.410279"], ["updated_at", "2016-12-07 20:20:46.410279"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.432453"], ["updated_at", "2016-12-07 20:20:46.432453"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:20:46.435698"], ["updated_at", "2016-12-07 20:20:46.435698"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.437756"], ["updated_at", "2016-12-07 20:20:46.437756"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.440320"], ["updated_at", "2016-12-07 20:20:46.440320"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:20:46.441969"], ["updated_at", "2016-12-07 20:20:46.441969"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.448610"], ["updated_at", "2016-12-07 20:20:46.448610"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:20:46.451335"], ["updated_at", "2016-12-07 20:20:46.451335"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.455247"], ["updated_at", "2016-12-07 20:20:46.455247"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.461165"], ["updated_at", "2016-12-07 20:20:46.461165"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:20:46.463822"], ["updated_at", "2016-12-07 20:20:46.463822"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.465516"], ["updated_at", "2016-12-07 20:20:46.465516"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:20:46.468026"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:20:46.474211"], ["updated_at", "2016-12-07 20:20:46.474211"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.477531"], ["updated_at", "2016-12-07 20:20:46.477531"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:20:46.480072"], ["updated_at", "2016-12-07 20:20:46.480072"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.482992"], ["updated_at", "2016-12-07 20:20:46.482992"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.485257"], ["updated_at", "2016-12-07 20:20:46.485257"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.513365"], ["updated_at", "2016-12-07 20:20:46.513365"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:20:46.517893"], ["updated_at", "2016-12-07 20:20:46.517893"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.9ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:20:46.594697"], ["updated_at", "2016-12-07 20:20:46.594697"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:46.608450"], ["updated_at", "2016-12-07 20:20:46.608450"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:20:46.611559"], ["updated_at", "2016-12-07 20:20:46.611559"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.619642"], ["updated_at", "2016-12-07 20:20:46.619642"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:20:46.622791"], ["updated_at", "2016-12-07 20:20:46.622791"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.624805"], ["updated_at", "2016-12-07 20:20:46.624805"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:20:46.626941"], ["updated_at", "2016-12-07 20:20:46.626941"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:20:46.629736"], ["updated_at", "2016-12-07 20:20:46.629736"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.631960"], ["updated_at", "2016-12-07 20:20:46.631960"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:46.641428"], ["updated_at", "2016-12-07 20:20:46.641428"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:20:46.644473"], ["updated_at", "2016-12-07 20:20:46.644473"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:20:46.649973"], ["updated_at", "2016-12-07 20:20:46.649973"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:20:46.654658"], ["updated_at", "2016-12-07 20:20:46.654658"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:20:46.655873' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:20:46.658735"], ["updated_at", "2016-12-07 20:20:46.658735"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:20:46.659668' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:46.666489"], ["updated_at", "2016-12-07 20:20:46.666489"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:20:46.669539"], ["updated_at", "2016-12-07 20:20:46.669539"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:20:46.672138"], ["updated_at", "2016-12-07 20:20:46.672138"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:20:46.672961' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:46.679030"], ["updated_at", "2016-12-07 20:20:46.679030"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:20:46.682115"], ["updated_at", "2016-12-07 20:20:46.682115"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:20:46.685993"], ["updated_at", "2016-12-07 20:20:46.685993"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:20:46.687743' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:20:46.693329"], ["updated_at", "2016-12-07 20:20:46.693329"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:20:46.696154"], ["updated_at", "2016-12-07 20:20:46.696154"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:20:46.698795"], ["updated_at", "2016-12-07 20:20:46.698795"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:20:46.699757' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.704509"], ["updated_at", "2016-12-07 20:20:46.704509"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:20:46.707284"], ["updated_at", "2016-12-07 20:20:46.707284"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.709123"], ["updated_at", "2016-12-07 20:20:46.709123"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:20:46.729196"], ["updated_at", "2016-12-07 20:20:46.729196"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:20:46.732563"], ["updated_at", "2016-12-07 20:20:46.732563"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:20:46.735058"], ["updated_at", "2016-12-07 20:20:46.735058"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.736981"], ["updated_at", "2016-12-07 20:20:46.736981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:20:46.739021"], ["updated_at", "2016-12-07 20:20:46.739021"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:20:46.741323"], ["updated_at", "2016-12-07 20:20:46.741323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.4ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.7ms) DELETE FROM "pulitzer_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.7ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (1.0ms) DELETE FROM "pulitzer_versions"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (0.8ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.9ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.8ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:21:10.644301"], ["updated_at", "2016-12-07 20:21:10.644301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.4ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.1ms) +Completed 200 OK in 48ms (Views: 28.8ms | ActiveRecord: 0.3ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:21:10.707776"], ["updated_at", "2016-12-07 20:21:10.707776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (6.9ms) +Completed 200 OK in 14ms (Views: 8.5ms | ActiveRecord: 0.7ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:21:10.732157"], ["updated_at", "2016-12-07 20:21:10.732157"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (11.4ms) +Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:21:10.755384"], ["updated_at", "2016-12-07 20:21:10.755384"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.5ms) +Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-12-07 20:21:10.776584"], ["updated_at", "2016-12-07 20:21:10.776584"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:21:10.794482"], ["updated_at", "2016-12-07 20:21:10.794482"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (13.6ms) +Completed 200 OK in 26ms (Views: 17.2ms | ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:21:10.837186"], ["updated_at", "2016-12-07 20:21:10.837186"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.6ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (10.4ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (12.4ms) +Completed 200 OK in 25ms (Views: 13.8ms | ActiveRecord: 1.4ms) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:21:10.874356"], ["updated_at", "2016-12-07 20:21:10.874356"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) + Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (15.4ms) +Completed 200 OK in 29ms (Views: 17.1ms | ActiveRecord: 0.2ms) +  (0.5ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:21:10.917903"], ["updated_at", "2016-12-07 20:21:10.917903"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-12-07 20:21:10.921968"], ["updated_at", "2016-12-07 20:21:10.921968"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.2ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (5.0ms) +Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:10.949569"], ["updated_at", "2016-12-07 20:21:10.949569"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-12-07 20:21:11.046628"], ["updated_at", "2016-12-07 20:21:11.046628"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.049384"], ["updated_at", "2016-12-07 20:21:11.049384"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.051867"], ["updated_at", "2016-12-07 20:21:11.051867"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-12-07 20:21:11.063718"], ["updated_at", "2016-12-07 20:21:11.063718"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.066085"], ["updated_at", "2016-12-07 20:21:11.066085"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-12-07 20:21:11.068660"], ["updated_at", "2016-12-07 20:21:11.068660"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.070186"], ["updated_at", "2016-12-07 20:21:11.070186"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-12-07 20:21:11.072659"], ["updated_at", "2016-12-07 20:21:11.072659"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.074591"], ["updated_at", "2016-12-07 20:21:11.074591"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:21:11.086207"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]] + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] + SQL (0.0ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] + SQL (0.1ms) DELETE FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 1.8ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.113702"], ["updated_at", "2016-12-07 20:21:11.113702"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-12-07 20:21:11.116732"], ["updated_at", "2016-12-07 20:21:11.116732"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.118458"], ["updated_at", "2016-12-07 20:21:11.118458"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.120178"], ["updated_at", "2016-12-07 20:21:11.120178"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-12-07 20:21:11.122663"], ["updated_at", "2016-12-07 20:21:11.122663"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.124144"], ["updated_at", "2016-12-07 20:21:11.124144"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-12-07 20:21:11.126780"], ["updated_at", "2016-12-07 20:21:11.126780"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.128180"], ["updated_at", "2016-12-07 20:21:11.128180"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-12-07 20:21:11.131063"], ["updated_at", "2016-12-07 20:21:11.131063"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.132720"], ["updated_at", "2016-12-07 20:21:11.132720"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:21:11.138805"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.141107"], ["updated_at", "2016-12-07 20:21:11.141107"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.124144"], ["updated_at", "2016-12-07 20:21:11.124144"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.155885"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.128180"], ["updated_at", "2016-12-07 20:21:11.128180"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.160222"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.132720"], ["updated_at", "2016-12-07 20:21:11.132720"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.2ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.167498"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:11.170225"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [7eb75a7f-bc8e-45e7-8a3f-fdd3a8ee345a] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.48ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"2"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:21:11.182262"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.0ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.3ms) + Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.9ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.9ms) + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "SearchLocation"]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.3ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (4.6ms) + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_form.html.erb (7.7ms) + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (35.6ms) +Completed 200 OK in 46ms (Views: 0.4ms | ActiveRecord: 1.1ms) + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.233903"], ["updated_at", "2016-12-07 20:21:11.233903"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-12-07 20:21:11.236557"], ["updated_at", "2016-12-07 20:21:11.236557"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.238457"], ["updated_at", "2016-12-07 20:21:11.238457"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.240087"], ["updated_at", "2016-12-07 20:21:11.240087"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-12-07 20:21:11.242453"], ["updated_at", "2016-12-07 20:21:11.242453"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.243896"], ["updated_at", "2016-12-07 20:21:11.243896"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-12-07 20:21:11.246754"], ["updated_at", "2016-12-07 20:21:11.246754"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.248316"], ["updated_at", "2016-12-07 20:21:11.248316"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-12-07 20:21:11.250713"], ["updated_at", "2016-12-07 20:21:11.250713"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.252518"], ["updated_at", "2016-12-07 20:21:11.252518"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:21:11.256561"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.259083"], ["updated_at", "2016-12-07 20:21:11.259083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: be4ccc3e-5c77-41b7-914b-910d4cd9a88b) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.243896"], ["updated_at", "2016-12-07 20:21:11.243896"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.268776"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.248316"], ["updated_at", "2016-12-07 20:21:11.248316"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.273464"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.252518"], ["updated_at", "2016-12-07 20:21:11.252518"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.277779"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:11.280142"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [be4ccc3e-5c77-41b7-914b-910d4cd9a88b] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.08ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +Processing by Pulitzer::VersionsController#update as HTML + Parameters: {"status"=>"abandoned", "id"=>"3"} + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:21:11.293994"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.297139"], ["updated_at", "2016-12-07 20:21:11.297139"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5b41908f-a2e7-40ab-b85c-f50ab7176981) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.243896"], ["updated_at", "2016-12-07 20:21:11.243896"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:21:11.306761"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.248316"], ["updated_at", "2016-12-07 20:21:11.248316"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:21:11.311590"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.252518"], ["updated_at", "2016-12-07 20:21:11.252518"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:21:11.316430"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:11.319308"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5b41908f-a2e7-40ab-b85c-f50ab7176981] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.57ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/versions/_edit.html.erb (8.5ms) +Completed 200 OK in 41ms (Views: 0.3ms | ActiveRecord: 2.5ms) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (1.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-12-07 20:21:11.345407"], ["updated_at", "2016-12-07 20:21:11.345407"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:11.349580"], ["updated_at", "2016-12-07 20:21:11.349580"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-12-07 20:21:11.364045"], ["updated_at", "2016-12-07 20:21:11.364045"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:11.366934"], ["updated_at", "2016-12-07 20:21:11.366934"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) +Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.4ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-12-07 20:21:11.378402"], ["updated_at", "2016-12-07 20:21:11.378402"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:11.380871"], ["updated_at", "2016-12-07 20:21:11.380871"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-12-07 20:21:11.392453"], ["updated_at", "2016-12-07 20:21:11.392453"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.3ms) +Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-12-07 20:21:11.403988"], ["updated_at", "2016-12-07 20:21:11.403988"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.3ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>true}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.4ms) +Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#new as HTML + Parameters: {"tag"=>{"hierarchical"=>false}} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.8ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-12-07 20:21:11.448423"], ["updated_at", "2016-12-07 20:21:11.448423"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.6ms) +Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 1.1ms) +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.7ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-12-07 20:21:11.467848"], ["updated_at", "2016-12-07 20:21:11.467848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.3ms) +Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:21:11.474758"], ["updated_at", "2016-12-07 20:21:11.474758"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) +Completed 409 Conflict in 7ms (Views: 1.9ms | ActiveRecord: 0.6ms) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-12-07 20:21:11.492974"], ["updated_at", "2016-12-07 20:21:11.492974"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-12-07 20:21:11.505055"], ["updated_at", "2016-12-07 20:21:11.505055"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.4ms) +Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-12-07 20:21:11.520557"], ["updated_at", "2016-12-07 20:21:11.520557"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-12-07 20:21:11.548074"], ["updated_at", "2016-12-07 20:21:11.548074"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-12-07 20:21:11.560769"], ["updated_at", "2016-12-07 20:21:11.560769"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-12-07 20:21:11.570023"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) +Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:21:11.575293"], ["updated_at", "2016-12-07 20:21:11.575293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-12-07 20:21:11.578595"], ["updated_at", "2016-12-07 20:21:11.578595"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-12-07 20:21:11.590631"], ["updated_at", "2016-12-07 20:21:11.590631"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-12-07 20:21:11.594438"], ["updated_at", "2016-12-07 20:21:11.594438"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) +Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-12-07 20:21:11.608391"], ["updated_at", "2016-12-07 20:21:11.608391"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-12-07 20:21:11.618968"], ["updated_at", "2016-12-07 20:21:11.618968"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.4ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.632533"], ["updated_at", "2016-12-07 20:21:11.632533"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-12-07 20:21:11.635593"], ["updated_at", "2016-12-07 20:21:11.635593"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.637371"], ["updated_at", "2016-12-07 20:21:11.637371"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.638910"], ["updated_at", "2016-12-07 20:21:11.638910"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-12-07 20:21:11.642753"], ["updated_at", "2016-12-07 20:21:11.642753"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.644837"], ["updated_at", "2016-12-07 20:21:11.644837"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-12-07 20:21:11.647783"], ["updated_at", "2016-12-07 20:21:11.647783"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.650355"], ["updated_at", "2016-12-07 20:21:11.650355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-12-07 20:21:11.654217"], ["updated_at", "2016-12-07 20:21:11.654217"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.655732"], ["updated_at", "2016-12-07 20:21:11.655732"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.658578"], ["updated_at", "2016-12-07 20:21:11.658578"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.644837"], ["updated_at", "2016-12-07 20:21:11.644837"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.665550"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.650355"], ["updated_at", "2016-12-07 20:21:11.650355"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.670866"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.655732"], ["updated_at", "2016-12-07 20:21:11.655732"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.674959"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:11.677417"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (1.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.687450"], ["updated_at", "2016-12-07 20:21:11.687450"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-12-07 20:21:11.689981"], ["updated_at", "2016-12-07 20:21:11.689981"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.691463"], ["updated_at", "2016-12-07 20:21:11.691463"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.693665"], ["updated_at", "2016-12-07 20:21:11.693665"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.700014"], ["updated_at", "2016-12-07 20:21:11.700014"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:11.711872"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.720301"], ["updated_at", "2016-12-07 20:21:11.720301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-12-07 20:21:11.724632"], ["updated_at", "2016-12-07 20:21:11.724632"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.726270"], ["updated_at", "2016-12-07 20:21:11.726270"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.728597"], ["updated_at", "2016-12-07 20:21:11.728597"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-12-07 20:21:11.731523"], ["updated_at", "2016-12-07 20:21:11.731523"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.735105"], ["updated_at", "2016-12-07 20:21:11.735105"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-12-07 20:21:11.738017"], ["updated_at", "2016-12-07 20:21:11.738017"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.739436"], ["updated_at", "2016-12-07 20:21:11.739436"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-12-07 20:21:11.741911"], ["updated_at", "2016-12-07 20:21:11.741911"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.743342"], ["updated_at", "2016-12-07 20:21:11.743342"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.745089"], ["updated_at", "2016-12-07 20:21:11.745089"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.735105"], ["updated_at", "2016-12-07 20:21:11.735105"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.752210"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.739436"], ["updated_at", "2016-12-07 20:21:11.739436"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.757015"], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.743342"], ["updated_at", "2016-12-07 20:21:11.743342"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.761284"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:11.763512"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.773269"], ["updated_at", "2016-12-07 20:21:11.773269"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-12-07 20:21:11.780597"], ["updated_at", "2016-12-07 20:21:11.780597"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:21:11.782462"], ["updated_at", "2016-12-07 20:21:11.782462"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-12-07 20:21:11.785183"], ["updated_at", "2016-12-07 20:21:11.785183"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:21:11.786701"], ["updated_at", "2016-12-07 20:21:11.786701"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-12-07 20:21:11.789301"], ["updated_at", "2016-12-07 20:21:11.789301"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:21:11.790592"], ["updated_at", "2016-12-07 20:21:11.790592"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.801991"], ["updated_at", "2016-12-07 20:21:11.801991"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.806075"], ["updated_at", "2016-12-07 20:21:11.806075"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.810437"], ["updated_at", "2016-12-07 20:21:11.810437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.817784"], ["updated_at", "2016-12-07 20:21:11.817784"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-12-07 20:21:11.821224"], ["updated_at", "2016-12-07 20:21:11.821224"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-12-07 20:21:11.822818"], ["updated_at", "2016-12-07 20:21:11.822818"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-12-07 20:21:11.826294"], ["updated_at", "2016-12-07 20:21:11.826294"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-12-07 20:21:11.827814"], ["updated_at", "2016-12-07 20:21:11.827814"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-12-07 20:21:11.830374"], ["updated_at", "2016-12-07 20:21:11.830374"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-12-07 20:21:11.832113"], ["updated_at", "2016-12-07 20:21:11.832113"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-12-07 20:21:11.836511"], ["updated_at", "2016-12-07 20:21:11.836511"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.838308"], ["updated_at", "2016-12-07 20:21:11.838308"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.844929"], ["updated_at", "2016-12-07 20:21:11.844929"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.852636"], ["updated_at", "2016-12-07 20:21:11.852636"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.857000"], ["updated_at", "2016-12-07 20:21:11.857000"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.864054"], ["updated_at", "2016-12-07 20:21:11.864054"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-12-07 20:21:11.873999"], ["updated_at", "2016-12-07 20:21:11.873999"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.875867"], ["updated_at", "2016-12-07 20:21:11.875867"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.894146"], ["updated_at", "2016-12-07 20:21:11.894146"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-12-07 20:21:11.896864"], ["updated_at", "2016-12-07 20:21:11.896864"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.899343"], ["updated_at", "2016-12-07 20:21:11.899343"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.901694"], ["updated_at", "2016-12-07 20:21:11.901694"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-12-07 20:21:11.904341"], ["updated_at", "2016-12-07 20:21:11.904341"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.905778"], ["updated_at", "2016-12-07 20:21:11.905778"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-12-07 20:21:11.908654"], ["updated_at", "2016-12-07 20:21:11.908654"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.910572"], ["updated_at", "2016-12-07 20:21:11.910572"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-12-07 20:21:11.913651"], ["updated_at", "2016-12-07 20:21:11.913651"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.915568"], ["updated_at", "2016-12-07 20:21:11.915568"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:21:11.920167"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.922930"], ["updated_at", "2016-12-07 20:21:11.922930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 516a7800-8fcc-4c65-8e6c-4d1f3de0d496) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.905778"], ["updated_at", "2016-12-07 20:21:11.905778"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.932545"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.910572"], ["updated_at", "2016-12-07 20:21:11.910572"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.937144"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.915568"], ["updated_at", "2016-12-07 20:21:11.915568"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.942121"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:11.944500"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [516a7800-8fcc-4c65-8e6c-4d1f3de0d496] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.2ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:11.959607"], ["updated_at", "2016-12-07 20:21:11.959607"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-12-07 20:21:11.962559"], ["updated_at", "2016-12-07 20:21:11.962559"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.964853"], ["updated_at", "2016-12-07 20:21:11.964853"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:11.966863"], ["updated_at", "2016-12-07 20:21:11.966863"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-12-07 20:21:11.969737"], ["updated_at", "2016-12-07 20:21:11.969737"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.971436"], ["updated_at", "2016-12-07 20:21:11.971436"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-12-07 20:21:11.974470"], ["updated_at", "2016-12-07 20:21:11.974470"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.975932"], ["updated_at", "2016-12-07 20:21:11.975932"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-12-07 20:21:11.978387"], ["updated_at", "2016-12-07 20:21:11.978387"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:11.979749"], ["updated_at", "2016-12-07 20:21:11.979749"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:21:11.983217"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:11.986820"], ["updated_at", "2016-12-07 20:21:11.986820"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4e910b8c-93d0-43c2-82c0-0a228a942e43) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.971436"], ["updated_at", "2016-12-07 20:21:11.971436"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:11.997005"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.975932"], ["updated_at", "2016-12-07 20:21:11.975932"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.004344"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.979749"], ["updated_at", "2016-12-07 20:21:11.979749"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.018516"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:12.021167"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e910b8c-93d0-43c2-82c0-0a228a942e43] Performed Pulitzer::CloneVersionJob from Inline(default) in 35.35ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:21:12.027874"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 3], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:12.030940"], ["updated_at", "2016-12-07 20:21:12.030940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: ddbc7924-a310-4043-8c22-4927ba0cbad4) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 19"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:11.971436"], ["updated_at", "2016-12-07 20:21:11.971436"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:21:12.041717"], ["id", 7]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:11.975932"], ["updated_at", "2016-12-07 20:21:11.975932"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:21:12.046234"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:11.979749"], ["updated_at", "2016-12-07 20:21:11.979749"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-12-07 20:21:12.051284"], ["id", 9]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:12.053962"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [ddbc7924-a310-4043-8c22-4927ba0cbad4] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.19ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (1.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.068978"], ["updated_at", "2016-12-07 20:21:12.068978"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-12-07 20:21:12.072174"], ["updated_at", "2016-12-07 20:21:12.072174"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.074274"], ["updated_at", "2016-12-07 20:21:12.074274"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.076066"], ["updated_at", "2016-12-07 20:21:12.076066"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-12-07 20:21:12.078799"], ["updated_at", "2016-12-07 20:21:12.078799"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.080296"], ["updated_at", "2016-12-07 20:21:12.080296"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-12-07 20:21:12.084322"], ["updated_at", "2016-12-07 20:21:12.084322"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.086038"], ["updated_at", "2016-12-07 20:21:12.086038"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-12-07 20:21:12.089367"], ["updated_at", "2016-12-07 20:21:12.089367"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.090814"], ["updated_at", "2016-12-07 20:21:12.090814"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:21:12.093320"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:12.095692"], ["updated_at", "2016-12-07 20:21:12.095692"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2d3d6f33-1052-4e7f-aca6-1dd2d098bda2) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 22"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:12.080296"], ["updated_at", "2016-12-07 20:21:12.080296"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.105829"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:12.086038"], ["updated_at", "2016-12-07 20:21:12.086038"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.110107"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 24"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:12.090814"], ["updated_at", "2016-12-07 20:21:12.090814"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.114352"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:12.118724"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [2d3d6f33-1052-4e7f-aca6-1dd2d098bda2] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.56ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-12-07 20:21:12.125271"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-12-07 20:21:12.136296"], ["updated_at", "2016-12-07 20:21:12.136296"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.138902"], ["updated_at", "2016-12-07 20:21:12.138902"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-12-07 20:21:12.141760"], ["updated_at", "2016-12-07 20:21:12.141760"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.143502"], ["updated_at", "2016-12-07 20:21:12.143502"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.144963"], ["updated_at", "2016-12-07 20:21:12.144963"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-12-07 20:21:12.147328"], ["updated_at", "2016-12-07 20:21:12.147328"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.149272"], ["updated_at", "2016-12-07 20:21:12.149272"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 32' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2016-12-07 20:21:12.151934"], ["updated_at", "2016-12-07 20:21:12.151934"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.153535"], ["updated_at", "2016-12-07 20:21:12.153535"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 33' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2016-12-07 20:21:12.156249"], ["updated_at", "2016-12-07 20:21:12.156249"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.158085"], ["updated_at", "2016-12-07 20:21:12.158085"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.164385"], ["updated_at", "2016-12-07 20:21:12.164385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-12-07 20:21:12.167368"], ["updated_at", "2016-12-07 20:21:12.167368"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.170271"], ["updated_at", "2016-12-07 20:21:12.170271"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-12-07 20:21:12.175378"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-12-07 20:21:12.177455"], ["updated_at", "2016-12-07 20:21:12.177455"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 66ac9ed1-9b61-407c-aded-2dcae2a51b07) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::CloneVersion !!! +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] /Users/eric/.rvm/gems/ruby-2.3.1/bin/rspec +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 25"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:12.149272"], ["updated_at", "2016-12-07 20:21:12.149272"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.187836"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 26"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-12-07 20:21:12.153535"], ["updated_at", "2016-12-07 20:21:12.153535"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.193310"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 27"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-12-07 20:21:12.158085"], ["updated_at", "2016-12-07 20:21:12.158085"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-12-07 20:21:12.197901"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:21:12.201157"], ["updated_at", "2016-12-07 20:21:12.201157"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.0ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-12-07 20:21:12.202645"], ["updated_at", "2016-12-07 20:21:12.202645"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-12-07 20:21:12.204327"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [66ac9ed1-9b61-407c-aded-2dcae2a51b07] Performed Pulitzer::CloneVersionJob from Inline(default) in 28.17ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 34' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2016-12-07 20:21:12.215308"], ["updated_at", "2016-12-07 20:21:12.215308"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2016-12-07 20:21:12.226033"], ["updated_at", "2016-12-07 20:21:12.226033"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 36' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2016-12-07 20:21:12.230755"], ["updated_at", "2016-12-07 20:21:12.230755"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 37' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2016-12-07 20:21:12.236030"], ["updated_at", "2016-12-07 20:21:12.236030"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:21:12.241797"], ["updated_at", "2016-12-07 20:21:12.241797"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 32"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:12.243848"], ["updated_at", "2016-12-07 20:21:12.243848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-12-07 20:21:12.250995"], ["updated_at", "2016-12-07 20:21:12.250995"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 33"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-12-07 20:21:12.253050"], ["updated_at", "2016-12-07 20:21:12.253050"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 38' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2016-12-07 20:21:12.257492"], ["updated_at", "2016-12-07 20:21:12.257492"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 39' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2016-12-07 20:21:12.262109"], ["updated_at", "2016-12-07 20:21:12.262109"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-12-07 20:21:12.268839"], ["updated_at", "2016-12-07 20:21:12.268839"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.407149"], ["updated_at", "2016-12-07 20:21:12.407149"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.2ms) begin transaction +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.428073"], ["updated_at", "2016-12-07 20:21:12.428073"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-12-07 20:21:12.431091"], ["updated_at", "2016-12-07 20:21:12.431091"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.433943"], ["updated_at", "2016-12-07 20:21:12.433943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.436820"], ["updated_at", "2016-12-07 20:21:12.436820"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:21:12.438712"], ["updated_at", "2016-12-07 20:21:12.438712"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.445752"], ["updated_at", "2016-12-07 20:21:12.445752"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-12-07 20:21:12.448984"], ["updated_at", "2016-12-07 20:21:12.448984"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.453740"], ["updated_at", "2016-12-07 20:21:12.453740"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.458243"], ["updated_at", "2016-12-07 20:21:12.458243"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-12-07 20:21:12.461348"], ["updated_at", "2016-12-07 20:21:12.461348"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.463218"], ["updated_at", "2016-12-07 20:21:12.463218"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-12-07 20:21:12.466085"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-12-07 20:21:12.471734"], ["updated_at", "2016-12-07 20:21:12.471734"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.474508"], ["updated_at", "2016-12-07 20:21:12.474508"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-12-07 20:21:12.476942"], ["updated_at", "2016-12-07 20:21:12.476942"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.478903"], ["updated_at", "2016-12-07 20:21:12.478903"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.481411"], ["updated_at", "2016-12-07 20:21:12.481411"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.508713"], ["updated_at", "2016-12-07 20:21:12.508713"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2016-12-07 20:21:12.513202"], ["updated_at", "2016-12-07 20:21:12.513202"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-12-07 20:21:12.574537"], ["updated_at", "2016-12-07 20:21:12.574537"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:12.588576"], ["updated_at", "2016-12-07 20:21:12.588576"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-12-07 20:21:12.591590"], ["updated_at", "2016-12-07 20:21:12.591590"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.3ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.600318"], ["updated_at", "2016-12-07 20:21:12.600318"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-17"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2016-12-07 20:21:12.604099"], ["updated_at", "2016-12-07 20:21:12.604099"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.605785"], ["updated_at", "2016-12-07 20:21:12.605785"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-12-07 20:21:12.607485"], ["updated_at", "2016-12-07 20:21:12.607485"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-12-07 20:21:12.610026"], ["updated_at", "2016-12-07 20:21:12.610026"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.612673"], ["updated_at", "2016-12-07 20:21:12.612673"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:12.622612"], ["updated_at", "2016-12-07 20:21:12.622612"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-12-07 20:21:12.625490"], ["updated_at", "2016-12-07 20:21:12.625490"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-12-07 20:21:12.631138"], ["updated_at", "2016-12-07 20:21:12.631138"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-12-07 20:21:12.636028"], ["updated_at", "2016-12-07 20:21:12.636028"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:21:12.637042' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-12-07 20:21:12.639478"], ["updated_at", "2016-12-07 20:21:12.639478"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:21:12.640273' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:12.646882"], ["updated_at", "2016-12-07 20:21:12.646882"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-12-07 20:21:12.649513"], ["updated_at", "2016-12-07 20:21:12.649513"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:21:12.652722"], ["updated_at", "2016-12-07 20:21:12.652722"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:21:12.654052' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:12.661188"], ["updated_at", "2016-12-07 20:21:12.661188"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-12-07 20:21:12.672973"], ["updated_at", "2016-12-07 20:21:12.672973"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:21:12.676926"], ["updated_at", "2016-12-07 20:21:12.676926"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:21:12.678220' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-12-07 20:21:12.683099"], ["updated_at", "2016-12-07 20:21:12.683099"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-12-07 20:21:12.686305"], ["updated_at", "2016-12-07 20:21:12.686305"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-12-07 20:21:12.688991"], ["updated_at", "2016-12-07 20:21:12.688991"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-12-07 20:21:12.689936' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.695588"], ["updated_at", "2016-12-07 20:21:12.695588"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-18"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2016-12-07 20:21:12.700792"], ["updated_at", "2016-12-07 20:21:12.700792"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.703316"], ["updated_at", "2016-12-07 20:21:12.703316"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-12-07 20:21:12.721941"], ["updated_at", "2016-12-07 20:21:12.721941"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-12-07 20:21:12.724908"], ["updated_at", "2016-12-07 20:21:12.724908"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-19"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2016-12-07 20:21:12.727216"], ["updated_at", "2016-12-07 20:21:12.727216"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.728768"], ["updated_at", "2016-12-07 20:21:12.728768"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-12-07 20:21:12.730882"], ["updated_at", "2016-12-07 20:21:12.730882"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-12-07 20:21:12.733452"], ["updated_at", "2016-12-07 20:21:12.733452"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.4ms) rollback transaction