pulitzer 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbb745a8a98d9f6dbd5e956a972654f608e8731b
4
- data.tar.gz: 3d509e72ae9b96b609eaa286f6cf06ea497d04a1
3
+ metadata.gz: e9cafb67c6274317c88bb14448f64f7a2b4d376e
4
+ data.tar.gz: 6e1c5b835f99aa804010d1151370d80cc168c8ee
5
5
  SHA512:
6
- metadata.gz: 08686de598ec03827a8721f2742795b1cefcdf5acc5a6a2d86e6acc089e02271e4289e04ccccc79a82362d61ee2cf26d64c30057cbdda1f4e7c8ce83c3f21e65
7
- data.tar.gz: a01e49b4f6dd49709207a2289564a33a2315882f0749a3e4b33c546f5b232e1364dda6b0806fa08b6ea94c5eff370f0034a7b6a916354a88f4731dd5dfeb647e
6
+ metadata.gz: e46f2c97262bb48c4eb089e7d2a65e1c04cf6f4440f650ea27efb41864daa786127f348de602cc652d2292aa33a5b2eebb7878f546039bc17811a025bbe4b604
7
+ data.tar.gz: 51083d37267c6fa6a79a8a355c0d11aa8790f4abbd87e1ed7e9cec388592afe0a5d83667042949151b26c33716d0a1eb878675fa636524e7008161032b1c35e4
@@ -2,8 +2,10 @@
2
2
  <%= f.text_field :name %>
3
3
  <%= f.hidden_field :kind %>
4
4
  <% if f.object.template? %>
5
+ <div class="pulitzer-row">
5
6
  <%= f.label :plural %>
6
7
  <%= f.check_box :plural %>
8
+ </div>
7
9
  <% elsif f.object.partial? %>
8
10
  <%= f.hidden_field :plural, value: true %>
9
11
  <% end %>
@@ -1,7 +1,6 @@
1
1
  <%= form_for post_type, html: ajax_form_hash('#post_types_container', insert_method: 'append', sub_class: "AddALineForm", container: '#new_post_type') do |f| %>
2
2
  <%= render partial: 'form_fields', locals: { f: f } %>
3
- <%= f.submit "Create" %>
4
- <%= link_to('Cancel', '#', :class => 'button',
5
- data: { emptier: true, target: "#new_#{post_type.kind}" } ) %>
3
+ <div class="pulitzer-span margin"><%= f.submit "Create" %></div>
4
+ <div class="button pulitzer-span" <%= emptier "#new_#{post_type.kind}" %>>Cancel</div>
6
5
  <% end %>
7
6
  <%= render 'pulitzer/shared/error_messages', object: post_type %>
@@ -5,7 +5,11 @@
5
5
  <li><%= link_to_posts(post_type, 'Index', 'Manage') %></li>
6
6
  <% end %>
7
7
  <li>
8
- <%= ajax_link 'Template', template_post_type_path(post_type), {}, dom_target(post_type) %>
8
+ <% if 'template' == action_name %>
9
+ <%= ajax_link 'Template', post_type_path(post_type), {}, dom_target(post_type) %>
10
+ <% else %>
11
+ <%= ajax_link 'Template', template_post_type_path(post_type), {}, dom_target(post_type) %>
12
+ <% end %>
9
13
  </li>
10
14
  <li>
11
15
  <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
@@ -1,4 +1,5 @@
1
- <div class="pulitzer-indent" >
1
+ <%= render partial: 'show', locals: {post_type: post_type} %>
2
+ <div class="pulitzer-indent" id="<%= dom_id(post_type, :template) %>">
2
3
  <h5>Content Elements</h5>
3
4
  <div id="post_type_content_element_types_container_<%= dom_id(post_type) %>">
4
5
  <% post_type.post_type_content_element_types.each do |ptcet| %>
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20160517182500) do
14
+ ActiveRecord::Schema.define(version: 20160519181030) do
15
15
 
16
16
  create_table "pulitzer_content_element_types", force: :cascade do |t|
17
17
  t.string "name"
@@ -58,6 +58,7 @@ ActiveRecord::Schema.define(version: 20160517182500) do
58
58
  t.integer "free_form_section_id"
59
59
  t.integer "sort_order"
60
60
  t.integer "layout_id"
61
+ t.string "label"
61
62
  end
62
63
 
63
64
  create_table "pulitzer_post_tags", force: :cascade do |t|
Binary file
@@ -51106,3 +51106,2634 @@ Pulitzer::CloneVersion !!!
51106
51106
  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", 2], ["label_type", "Pulitzer::Tag"]]
51107
51107
  Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
51108
51108
   (0.7ms) rollback transaction
51109
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51110
+  (1.2ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51111
+  (1.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)
51112
+  (0.9ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) 
51113
+  (0.8ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
51114
+  (0.8ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) 
51115
+  (0.8ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer)
51116
+  (0.9ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51117
+  (0.8ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)
51118
+  (0.8ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) 
51119
+  (0.8ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)
51120
+  (1.1ms) select sqlite_version(*)
51121
+  (1.0ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
51122
+  (0.9ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51123
+  (0.9ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51124
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
51125
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
51126
+  (0.1ms) SELECT version FROM "schema_migrations"
51127
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160517182500')
51128
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531')
51129
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51130
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
51131
+  (0.1ms) select sqlite_version(*)
51132
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
51133
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51134
+ Migrating to CreatePulitzerPostTypes (20150618224344)
51135
+  (0.1ms) begin transaction
51136
+  (0.5ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51137
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
51138
+  (1.2ms) commit transaction
51139
+ Migrating to CreatePulitzerContentElementTypes (20150618225402)
51140
+  (0.1ms) begin transaction
51141
+  (0.4ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51142
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
51143
+  (1.0ms) commit transaction
51144
+ Migrating to CreatePulitzerPosts (20150619204615)
51145
+  (0.1ms) begin transaction
51146
+  (0.4ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51147
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
51148
+  (0.6ms) commit transaction
51149
+ Migrating to CreatePulitzerContentElements (20150619204708)
51150
+  (0.2ms) begin transaction
51151
+  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51152
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
51153
+  (0.6ms) commit transaction
51154
+ Migrating to CreatePulitzerTags (20150619213436)
51155
+  (0.1ms) begin transaction
51156
+  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51157
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
51158
+  (0.7ms) commit transaction
51159
+ Migrating to CreatePulitzerPostTags (20150619213457)
51160
+  (0.1ms) begin transaction
51161
+  (0.4ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51162
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
51163
+  (0.5ms) commit transaction
51164
+ Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
51165
+  (0.0ms) begin transaction
51166
+  (0.3ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51167
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
51168
+  (0.6ms) commit transaction
51169
+ Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
51170
+  (0.1ms) begin transaction
51171
+  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
51172
+  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean
51173
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]
51174
+  (0.6ms) commit transaction
51175
+ Migrating to AddPulitzerContentElementTypes (20150702150819)
51176
+  (0.1ms) begin transaction
51177
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1
51178
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-05-23 15:28:20.232296"], ["updated_at", "2016-05-23 15:28:20.232296"]]
51179
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
51180
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-05-23 15:28:20.234986"], ["updated_at", "2016-05-23 15:28:20.234986"]]
51181
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
51182
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-23 15:28:20.236947"], ["updated_at", "2016-05-23 15:28:20.236947"]]
51183
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
51184
+  (0.7ms) commit transaction
51185
+ Migrating to AddSlugToPulitzerPosts (20150724150230)
51186
+  (0.1ms) begin transaction
51187
+  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar
51188
+  (0.5ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
51189
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
51190
+  (1.0ms) commit transaction
51191
+ Migrating to CreateSearchLocations (20150901153531)
51192
+  (0.1ms) begin transaction
51193
+  (0.3ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51194
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]]
51195
+  (0.7ms) commit transaction
51196
+ Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
51197
+  (0.1ms) begin transaction
51198
+  (0.5ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51199
+  (0.0ms) SELECT * FROM "pulitzer_post_tags"
51200
+  (0.3ms) DROP TABLE "pulitzer_post_tags"
51201
+  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51202
+  (0.0ms) SELECT * FROM "apulitzer_post_tags"
51203
+  (0.3ms) DROP TABLE "apulitzer_post_tags"
51204
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]
51205
+  (0.8ms) commit transaction
51206
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
51207
+  (0.1ms) begin transaction
51208
+  (0.3ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
51209
+ SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)
51210
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]
51211
+  (0.6ms) commit transaction
51212
+ Migrating to CreatePulitzerVersions (20151029194354)
51213
+  (0.0ms) begin transaction
51214
+  (0.4ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51215
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]
51216
+  (0.6ms) commit transaction
51217
+ Migrating to ChangePostElementsToVersions (20151029220558)
51218
+  (0.1ms) begin transaction
51219
+  (0.3ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51220
+  (0.1ms) SELECT * FROM "pulitzer_content_elements"
51221
+  (0.3ms) DROP TABLE "pulitzer_content_elements"
51222
+  (0.2ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51223
+  (0.1ms) SELECT * FROM "apulitzer_content_elements"
51224
+  (0.1ms) DROP TABLE "apulitzer_content_elements"
51225
+  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
51226
+  (0.1ms) SELECT * FROM "pulitzer_post_tags"
51227
+  (0.5ms) DROP TABLE "pulitzer_post_tags"
51228
+  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
51229
+  (0.1ms) SELECT * FROM "apulitzer_post_tags"
51230
+  (0.1ms) DROP TABLE "apulitzer_post_tags"
51231
+ Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000
51232
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]
51233
+  (0.8ms) commit transaction
51234
+ Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
51235
+  (0.1ms) begin transaction
51236
+  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar
51237
+  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100
51238
+  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100
51239
+  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer
51240
+ Scoped order and limit are ignored, it's forced to be batch order and batch size
51241
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000
51242
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]
51243
+  (0.5ms) commit transaction
51244
+ Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
51245
+  (0.1ms) begin transaction
51246
+  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean) 
51247
+  (0.1ms) SELECT * FROM "pulitzer_post_types"
51248
+  (0.3ms) DROP TABLE "pulitzer_post_types"
51249
+  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)
51250
+  (0.1ms) SELECT * FROM "apulitzer_post_types"
51251
+  (0.1ms) DROP TABLE "apulitzer_post_types"
51252
+  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0
51253
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]
51254
+  (0.9ms) commit transaction
51255
+ Migrating to AddKindToPulitzerContentElements (20151118031237)
51256
+  (0.1ms) begin transaction
51257
+  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0
51258
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]
51259
+  (0.9ms) commit transaction
51260
+ Migrating to AddErrorsToVersion (20160122204201)
51261
+  (0.1ms) begin transaction
51262
+  (0.4ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb
51263
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
51264
+  (0.8ms) commit transaction
51265
+ Migrating to CreatePartials (20160511192041)
51266
+  (0.1ms) begin transaction
51267
+  (0.6ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) 
51268
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]
51269
+  (0.9ms) commit transaction
51270
+ Migrating to AddPartialToContentElement (20160512214545)
51271
+  (0.1ms) begin transaction
51272
+  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer
51273
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]
51274
+  (0.7ms) commit transaction
51275
+ Migrating to CreateFreeFormSectionType (20160513153209)
51276
+  (0.1ms) begin transaction
51277
+  (0.4ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) 
51278
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]
51279
+  (0.7ms) commit transaction
51280
+ Migrating to CreateFreeFormSection (20160513153214)
51281
+  (0.1ms) begin transaction
51282
+  (0.5ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) 
51283
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]
51284
+  (0.9ms) commit transaction
51285
+ Migrating to FixPostTypeKinds (20160516150237)
51286
+  (0.1ms) begin transaction
51287
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)
51288
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]
51289
+  (0.7ms) commit transaction
51290
+ Migrating to CreateLayouts (20160517181706)
51291
+  (0.1ms) begin transaction
51292
+  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) 
51293
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]
51294
+  (1.0ms) commit transaction
51295
+ Migrating to AddLayoutToPartial (20160517182500)
51296
+  (0.1ms) begin transaction
51297
+  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer
51298
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]
51299
+  (0.9ms) commit transaction
51300
+ Migrating to AddLabelToPartial (20160519181030)
51301
+  (0.1ms) begin transaction
51302
+  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar
51303
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]
51304
+  (1.1ms) commit transaction
51305
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51306
+  (0.1ms)  SELECT sql
51307
+ FROM sqlite_master
51308
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
51309
+ UNION ALL
51310
+ SELECT sql
51311
+ FROM sqlite_temp_master
51312
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
51313
+ 
51314
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51315
+  (1.0ms) DELETE FROM "pulitzer_content_element_types";
51316
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51317
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
51318
+  (0.7ms) DELETE FROM "pulitzer_posts";
51319
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51320
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
51321
+  (0.6ms) DELETE FROM "pulitzer_tags";
51322
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51323
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
51324
+  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types";
51325
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51326
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
51327
+  (1.0ms) DELETE FROM "search_locations";
51328
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51329
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';
51330
+  (0.9ms) DELETE FROM "pulitzer_versions";
51331
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51332
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
51333
+  (0.6ms) DELETE FROM "pulitzer_content_elements";
51334
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51335
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
51336
+  (0.7ms) DELETE FROM "pulitzer_post_tags";
51337
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51338
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
51339
+  (0.6ms) DELETE FROM "pulitzer_post_types";
51340
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51341
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
51342
+  (0.6ms) DELETE FROM "pulitzer_partials";
51343
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51344
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
51345
+  (0.6ms) DELETE FROM "pulitzer_free_form_section_types";
51346
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51347
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
51348
+  (0.6ms) DELETE FROM "pulitzer_free_form_sections";
51349
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51350
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
51351
+  (0.6ms) DELETE FROM "pulitzer_layouts";
51352
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51353
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
51354
+  (0.1ms) begin transaction
51355
+  (0.0ms) commit transaction
51356
+  (0.0ms) begin transaction
51357
+  (0.1ms) SAVEPOINT active_record_1
51358
+ 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-05-23 15:28:28.697717"], ["updated_at", "2016-05-23 15:28:28.697717"]]
51359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51360
+ Processing by Pulitzer::FreeFormSectionTypesController#new as HTML
51361
+ Parameters: {"post_type_id"=>"1"}
51362
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51363
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51364
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.8ms)
51365
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (25.0ms)
51366
+ Completed 200 OK in 56ms (Views: 33.8ms | ActiveRecord: 0.3ms)
51367
+  (0.3ms) rollback transaction
51368
+  (0.1ms) begin transaction
51369
+  (0.0ms) commit transaction
51370
+  (0.0ms) begin transaction
51371
+  (0.1ms) SAVEPOINT active_record_1
51372
+ 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-05-23 15:28:28.769367"], ["updated_at", "2016-05-23 15:28:28.769367"]]
51373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51374
+ Processing by Pulitzer::FreeFormSectionTypesController#create as HTML
51375
+ Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}}
51376
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51377
+  (0.0ms) SAVEPOINT active_record_1
51378
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]]
51379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51380
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51381
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
51382
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.2ms)
51383
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (7.3ms)
51384
+ Completed 200 OK in 15ms (Views: 9.2ms | ActiveRecord: 0.8ms)
51385
+ 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
51386
+  (0.5ms) rollback transaction
51387
+  (0.1ms) begin transaction
51388
+  (0.0ms) commit transaction
51389
+  (0.0ms) begin transaction
51390
+  (0.0ms) SAVEPOINT active_record_1
51391
+ 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-05-23 15:28:28.792542"], ["updated_at", "2016-05-23 15:28:28.792542"]]
51392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51393
+  (0.0ms) SAVEPOINT active_record_1
51394
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
51395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51396
+ Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML
51397
+ Parameters: {"id"=>"1"}
51398
+ 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]]
51399
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms)
51400
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.7ms)
51401
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (10.2ms)
51402
+ Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.1ms)
51403
+  (0.5ms) rollback transaction
51404
+  (0.1ms) begin transaction
51405
+  (0.0ms) commit transaction
51406
+  (0.0ms) begin transaction
51407
+  (0.0ms) SAVEPOINT active_record_1
51408
+ 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-05-23 15:28:28.815841"], ["updated_at", "2016-05-23 15:28:28.815841"]]
51409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51410
+  (0.0ms) SAVEPOINT active_record_1
51411
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
51412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51413
+ Processing by Pulitzer::FreeFormSectionTypesController#update as HTML
51414
+ Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"}
51415
+ 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]]
51416
+  (0.0ms) SAVEPOINT active_record_1
51417
+ SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]]
51418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51419
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51420
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
51421
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.7ms)
51422
+ Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.3ms)
51423
+ 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]]
51424
+  (0.6ms) rollback transaction
51425
+  (0.1ms) begin transaction
51426
+  (0.0ms) commit transaction
51427
+  (0.1ms) begin transaction
51428
+  (0.0ms) SAVEPOINT active_record_1
51429
+ 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-05-23 15:28:28.837441"], ["updated_at", "2016-05-23 15:28:28.837441"]]
51430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51431
+  (0.0ms) SAVEPOINT active_record_1
51432
+ SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
51433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51434
+ Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML
51435
+ Parameters: {"id"=>"1"}
51436
+ 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]]
51437
+  (0.0ms) SAVEPOINT active_record_1
51438
+ SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]]
51439
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51440
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51441
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
51442
+ Rendered text template (0.0ms)
51443
+ Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms)
51444
+ 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]]
51445
+  (0.8ms) rollback transaction
51446
+  (0.1ms) begin transaction
51447
+  (0.0ms) commit transaction
51448
+  (0.0ms) begin transaction
51449
+  (0.0ms) SAVEPOINT active_record_1
51450
+ 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-05-23 15:28:28.856478"], ["updated_at", "2016-05-23 15:28:28.856478"]]
51451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51452
+  (0.0ms) SAVEPOINT active_record_1
51453
+ SQL (0.6ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
51454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51455
+ Processing by Pulitzer::PartialsController#new as HTML
51456
+ Parameters: {"partial"=>{"free_form_section_id"=>"1"}}
51457
+ 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]]
51458
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms)
51459
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]]
51460
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]]
51461
+ Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]]
51462
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (11.9ms)
51463
+ Completed 200 OK in 32ms (Views: 15.7ms | ActiveRecord: 0.6ms)
51464
+  (0.7ms) rollback transaction
51465
+  (0.1ms) begin transaction
51466
+  (0.0ms) commit transaction
51467
+  (0.0ms) begin transaction
51468
+  (0.0ms) SAVEPOINT active_record_1
51469
+ 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-05-23 15:28:28.905130"], ["updated_at", "2016-05-23 15:28:28.905130"]]
51470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51471
+  (0.0ms) SAVEPOINT active_record_1
51472
+ SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
51473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51474
+ Processing by Pulitzer::PartialsController#create as HTML
51475
+ Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}}
51476
+ 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]]
51477
+  (0.1ms) SAVEPOINT active_record_1
51478
+ 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]]
51479
+  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
51480
+ 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]]
51481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51482
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51483
+ 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]]
51484
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.4ms)
51485
+ 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]]
51486
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (4.0ms)
51487
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (11.4ms)
51488
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (13.2ms)
51489
+ Completed 200 OK in 26ms (Views: 14.7ms | ActiveRecord: 1.1ms)
51490
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1
51491
+  (0.7ms) rollback transaction
51492
+  (0.1ms) begin transaction
51493
+  (0.0ms) commit transaction
51494
+  (0.0ms) begin transaction
51495
+  (0.0ms) SAVEPOINT active_record_1
51496
+ SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
51497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51498
+  (0.1ms) SAVEPOINT active_record_1
51499
+ 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-05-23 15:28:28.944086"], ["updated_at", "2016-05-23 15:28:28.944086"]]
51500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51501
+  (0.1ms) SAVEPOINT active_record_1
51502
+ 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]]
51503
+  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
51504
+ 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]]
51505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51506
+ Processing by Pulitzer::PartialsController#edit as HTML
51507
+ Parameters: {"id"=>"1"}
51508
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
51509
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51510
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms)
51511
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms)
51512
+ Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]]
51513
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (12.4ms)
51514
+ Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.2ms)
51515
+  (0.6ms) rollback transaction
51516
+  (0.1ms) begin transaction
51517
+  (0.0ms) commit transaction
51518
+  (0.0ms) begin transaction
51519
+  (0.0ms) SAVEPOINT active_record_1
51520
+ 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-05-23 15:28:28.970911"], ["updated_at", "2016-05-23 15:28:28.970911"]]
51521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51522
+  (0.0ms) SAVEPOINT active_record_1
51523
+ SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
51524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51525
+  (0.0ms) SAVEPOINT active_record_1
51526
+ 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-05-23 15:28:28.974858"], ["updated_at", "2016-05-23 15:28:28.974858"]]
51527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51528
+  (0.0ms) SAVEPOINT active_record_1
51529
+ 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]]
51530
+  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
51531
+ 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]]
51532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51533
+ Processing by Pulitzer::PartialsController#update as HTML
51534
+ Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"}
51535
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
51536
+  (0.0ms) SAVEPOINT active_record_1
51537
+ SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]]
51538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51539
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51540
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms)
51541
+ 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]]
51542
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.4ms)
51543
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (6.6ms)
51544
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
51545
+ Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
51546
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51547
+  (0.6ms) rollback transaction
51548
+  (0.1ms) begin transaction
51549
+  (0.0ms) commit transaction
51550
+  (0.0ms) begin transaction
51551
+  (0.1ms) SAVEPOINT active_record_1
51552
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.005406"], ["updated_at", "2016-05-23 15:28:29.005406"]]
51553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51554
+  (0.0ms) SAVEPOINT active_record_1
51555
+ 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"]]
51556
+ SQL (0.6ms) 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-05-23 15:28:29.129151"], ["updated_at", "2016-05-23 15:28:29.129151"]]
51557
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.132696"], ["updated_at", "2016-05-23 15:28:29.132696"]]
51558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51559
+  (0.0ms) SAVEPOINT active_record_1
51560
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.134787"], ["updated_at", "2016-05-23 15:28:29.134787"]]
51561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51562
+  (0.0ms) SAVEPOINT active_record_1
51563
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
51564
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-05-23 15:28:29.148018"], ["updated_at", "2016-05-23 15:28:29.148018"]]
51565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51566
+  (0.1ms) SAVEPOINT active_record_1
51567
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.150748"], ["updated_at", "2016-05-23 15:28:29.150748"]]
51568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51569
+  (0.0ms) SAVEPOINT active_record_1
51570
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1
51571
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-05-23 15:28:29.154332"], ["updated_at", "2016-05-23 15:28:29.154332"]]
51572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51573
+  (0.0ms) SAVEPOINT active_record_1
51574
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.156089"], ["updated_at", "2016-05-23 15:28:29.156089"]]
51575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51576
+  (0.0ms) SAVEPOINT active_record_1
51577
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
51578
+ SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-05-23 15:28:29.158762"], ["updated_at", "2016-05-23 15:28:29.158762"]]
51579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51580
+  (0.0ms) SAVEPOINT active_record_1
51581
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.160159"], ["updated_at", "2016-05-23 15:28:29.160159"]]
51582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51583
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
51584
+  (0.0ms) SAVEPOINT active_record_1
51585
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 15:28:29.164207"], ["updated_at", "2016-05-23 15:28:29.164207"]]
51586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51587
+ Pulitzer::CloneVersion !!!
51588
+ /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
51589
+ 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]]
51590
+ 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]]
51591
+ 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]]
51592
+  (0.1ms) SAVEPOINT active_record_1
51593
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.150748"], ["updated_at", "2016-05-23 15:28:29.150748"]]
51594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51595
+  (0.0ms) SAVEPOINT active_record_1
51596
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.172093"], ["id", 4]]
51597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51598
+ 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]]
51599
+  (0.0ms) SAVEPOINT active_record_1
51600
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.156089"], ["updated_at", "2016-05-23 15:28:29.156089"]]
51601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51602
+  (0.0ms) SAVEPOINT active_record_1
51603
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.176786"], ["id", 5]]
51604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51605
+ 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]]
51606
+  (0.0ms) SAVEPOINT active_record_1
51607
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.160159"], ["updated_at", "2016-05-23 15:28:29.160159"]]
51608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51609
+  (0.0ms) SAVEPOINT active_record_1
51610
+ SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.181625"], ["id", 6]]
51611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51612
+ 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]]
51613
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
51614
+  (0.0ms) SAVEPOINT active_record_1
51615
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 15:28:29.186759"], ["id", 3]]
51616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51617
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
51618
+  (1.1ms) rollback transaction
51619
+  (0.1ms) begin transaction
51620
+  (0.0ms) commit transaction
51621
+  (0.0ms) begin transaction
51622
+  (0.0ms) SAVEPOINT active_record_1
51623
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.197181"], ["updated_at", "2016-05-23 15:28:29.197181"]]
51624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51625
+  (0.0ms) SAVEPOINT active_record_1
51626
+ 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"]]
51627
+ SQL (0.4ms) 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-05-23 15:28:29.200432"], ["updated_at", "2016-05-23 15:28:29.200432"]]
51628
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.202745"], ["updated_at", "2016-05-23 15:28:29.202745"]]
51629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51630
+  (0.0ms) SAVEPOINT active_record_1
51631
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.204881"], ["updated_at", "2016-05-23 15:28:29.204881"]]
51632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51633
+  (0.0ms) SAVEPOINT active_record_1
51634
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]]
51635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51636
+  (0.0ms) SAVEPOINT active_record_1
51637
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]]
51638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51639
+  (0.0ms) SAVEPOINT active_record_1
51640
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]]
51641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51642
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
51643
+  (0.0ms) SAVEPOINT active_record_1
51644
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 15:28:29.210701"], ["updated_at", "2016-05-23 15:28:29.210701"]]
51645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51646
+ Pulitzer::CloneVersion !!!
51647
+ /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
51648
+ 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]]
51649
+ 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]]
51650
+ 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]]
51651
+  (0.0ms) SAVEPOINT active_record_1
51652
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]]
51653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51654
+ 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]]
51655
+  (0.0ms) SAVEPOINT active_record_1
51656
+ SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]]
51657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51658
+  (0.0ms) SAVEPOINT active_record_1
51659
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]]
51660
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51661
+ 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]]
51662
+  (0.1ms) SAVEPOINT active_record_1
51663
+ SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]]
51664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51665
+  (0.0ms) SAVEPOINT active_record_1
51666
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]]
51667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51668
+ 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]]
51669
+  (0.0ms) SAVEPOINT active_record_1
51670
+ SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]]
51671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51672
+ Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
51673
+  (0.0ms) SAVEPOINT active_record_1
51674
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 15:28:29.222491"], ["id", 3]]
51675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51676
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]]
51677
+  (0.7ms) rollback transaction
51678
+  (0.1ms) begin transaction
51679
+  (0.0ms) commit transaction
51680
+  (0.0ms) begin transaction
51681
+  (0.1ms) SAVEPOINT active_record_1
51682
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.231611"], ["updated_at", "2016-05-23 15:28:29.231611"]]
51683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51684
+  (0.0ms) SAVEPOINT active_record_1
51685
+ 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"]]
51686
+ SQL (0.4ms) 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-05-23 15:28:29.234631"], ["updated_at", "2016-05-23 15:28:29.234631"]]
51687
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.237620"], ["updated_at", "2016-05-23 15:28:29.237620"]]
51688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51689
+  (0.0ms) SAVEPOINT active_record_1
51690
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.239550"], ["updated_at", "2016-05-23 15:28:29.239550"]]
51691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51692
+  (0.0ms) SAVEPOINT active_record_1
51693
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
51694
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-05-23 15:28:29.242439"], ["updated_at", "2016-05-23 15:28:29.242439"]]
51695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51696
+  (0.0ms) SAVEPOINT active_record_1
51697
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.243983"], ["updated_at", "2016-05-23 15:28:29.243983"]]
51698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51699
+  (0.0ms) SAVEPOINT active_record_1
51700
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1
51701
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-05-23 15:28:29.246660"], ["updated_at", "2016-05-23 15:28:29.246660"]]
51702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51703
+  (0.0ms) SAVEPOINT active_record_1
51704
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.248370"], ["updated_at", "2016-05-23 15:28:29.248370"]]
51705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51706
+  (0.0ms) SAVEPOINT active_record_1
51707
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
51708
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-05-23 15:28:29.251103"], ["updated_at", "2016-05-23 15:28:29.251103"]]
51709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51710
+  (0.1ms) SAVEPOINT active_record_1
51711
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.253533"], ["updated_at", "2016-05-23 15:28:29.253533"]]
51712
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51713
+  (0.0ms) SAVEPOINT active_record_1
51714
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 15:28:29.256075"], ["updated_at", "2016-05-23 15:28:29.256075"]]
51715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51716
+ Pulitzer::CloneVersion !!!
51717
+ /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
51718
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51719
+ 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]]
51720
+ 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]]
51721
+  (0.0ms) SAVEPOINT active_record_1
51722
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.243983"], ["updated_at", "2016-05-23 15:28:29.243983"]]
51723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51724
+  (0.0ms) SAVEPOINT active_record_1
51725
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.262946"], ["id", 4]]
51726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51727
+ 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]]
51728
+  (0.0ms) SAVEPOINT active_record_1
51729
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.248370"], ["updated_at", "2016-05-23 15:28:29.248370"]]
51730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51731
+  (0.0ms) SAVEPOINT active_record_1
51732
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.268511"], ["id", 5]]
51733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51734
+ 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]]
51735
+  (0.1ms) SAVEPOINT active_record_1
51736
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.253533"], ["updated_at", "2016-05-23 15:28:29.253533"]]
51737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51738
+  (0.0ms) SAVEPOINT active_record_1
51739
+ SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.273650"], ["id", 6]]
51740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51741
+ 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]]
51742
+ Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
51743
+  (0.0ms) SAVEPOINT active_record_1
51744
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 15:28:29.275929"], ["id", 3]]
51745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51746
+ 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]]
51747
+ 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]]
51748
+  (0.7ms) rollback transaction
51749
+  (0.1ms) begin transaction
51750
+  (0.0ms) commit transaction
51751
+  (0.0ms) begin transaction
51752
+  (0.1ms) SAVEPOINT active_record_1
51753
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.285216"], ["updated_at", "2016-05-23 15:28:29.285216"]]
51754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51755
+  (0.0ms) SAVEPOINT active_record_1
51756
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
51757
+ SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-05-23 15:28:29.291293"], ["updated_at", "2016-05-23 15:28:29.291293"]]
51758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51759
+  (0.0ms) SAVEPOINT active_record_1
51760
+ 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-05-23 15:28:29.294360"], ["updated_at", "2016-05-23 15:28:29.294360"]]
51761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51762
+  (0.0ms) SAVEPOINT active_record_1
51763
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1
51764
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-05-23 15:28:29.297040"], ["updated_at", "2016-05-23 15:28:29.297040"]]
51765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51766
+  (0.0ms) SAVEPOINT active_record_1
51767
+ 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-05-23 15:28:29.298595"], ["updated_at", "2016-05-23 15:28:29.298595"]]
51768
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51769
+  (0.0ms) SAVEPOINT active_record_1
51770
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
51771
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-05-23 15:28:29.300901"], ["updated_at", "2016-05-23 15:28:29.300901"]]
51772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51773
+  (0.0ms) SAVEPOINT active_record_1
51774
+ 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-05-23 15:28:29.302509"], ["updated_at", "2016-05-23 15:28:29.302509"]]
51775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51776
+ SQL (0.2ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]]
51777
+  (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]]
51778
+  (0.0ms) SAVEPOINT active_record_1
51779
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]]
51780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51781
+  (0.0ms) SAVEPOINT active_record_1
51782
+ 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]]
51783
+  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
51784
+ 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]]
51785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51786
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]]
51787
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51788
+ 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]]
51789
+  (0.0ms) SAVEPOINT active_record_1
51790
+ 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]]
51791
+ 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-05-23 15:28:29.317196"], ["updated_at", "2016-05-23 15:28:29.317196"]]
51792
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51793
+  (0.1ms) SAVEPOINT active_record_1
51794
+ 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]]
51795
+ 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-05-23 15:28:29.322842"], ["updated_at", "2016-05-23 15:28:29.322842"]]
51796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51797
+  (0.0ms) SAVEPOINT active_record_1
51798
+ 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]]
51799
+ 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-05-23 15:28:29.326275"], ["updated_at", "2016-05-23 15:28:29.326275"]]
51800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51801
+  (0.7ms) rollback transaction
51802
+  (0.1ms) begin transaction
51803
+  (0.0ms) commit transaction
51804
+  (0.0ms) begin transaction
51805
+  (0.0ms) SAVEPOINT active_record_1
51806
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.332055"], ["updated_at", "2016-05-23 15:28:29.332055"]]
51807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51808
+  (0.0ms) SAVEPOINT active_record_1
51809
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
51810
+ SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-05-23 15:28:29.334891"], ["updated_at", "2016-05-23 15:28:29.334891"]]
51811
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51812
+  (0.0ms) SAVEPOINT active_record_1
51813
+ 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-05-23 15:28:29.337486"], ["updated_at", "2016-05-23 15:28:29.337486"]]
51814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51815
+  (0.1ms) SAVEPOINT active_record_1
51816
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1
51817
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-05-23 15:28:29.340493"], ["updated_at", "2016-05-23 15:28:29.340493"]]
51818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51819
+  (0.0ms) SAVEPOINT active_record_1
51820
+ 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-05-23 15:28:29.341902"], ["updated_at", "2016-05-23 15:28:29.341902"]]
51821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51822
+  (0.0ms) SAVEPOINT active_record_1
51823
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
51824
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-05-23 15:28:29.344134"], ["updated_at", "2016-05-23 15:28:29.344134"]]
51825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51826
+  (0.0ms) SAVEPOINT active_record_1
51827
+ 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-05-23 15:28:29.345396"], ["updated_at", "2016-05-23 15:28:29.345396"]]
51828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51829
+  (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]]
51830
+  (0.1ms) SAVEPOINT active_record_1
51831
+ 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"]]
51832
+ 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-05-23 15:28:29.349426"], ["updated_at", "2016-05-23 15:28:29.349426"]]
51833
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.351225"], ["updated_at", "2016-05-23 15:28:29.351225"]]
51834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51835
+ 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]]
51836
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
51837
+ 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]]
51838
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51839
+  (0.0ms) SAVEPOINT active_record_1
51840
+ 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]]
51841
+ 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-05-23 15:28:29.358930"], ["updated_at", "2016-05-23 15:28:29.358930"]]
51842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51843
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51844
+  (0.1ms) SAVEPOINT active_record_1
51845
+ 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]]
51846
+ 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-05-23 15:28:29.363350"], ["updated_at", "2016-05-23 15:28:29.363350"]]
51847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51848
+ 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]]
51849
+  (0.1ms) SAVEPOINT active_record_1
51850
+ 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]]
51851
+ 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-05-23 15:28:29.368358"], ["updated_at", "2016-05-23 15:28:29.368358"]]
51852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51853
+ 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]]
51854
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51855
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
51856
+  (0.7ms) rollback transaction
51857
+  (0.1ms) begin transaction
51858
+  (0.0ms) commit transaction
51859
+  (0.1ms) begin transaction
51860
+  (0.0ms) SAVEPOINT active_record_1
51861
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.377398"], ["updated_at", "2016-05-23 15:28:29.377398"]]
51862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51863
+  (0.1ms) SAVEPOINT active_record_1
51864
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]]
51865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51866
+  (0.0ms) SAVEPOINT active_record_1
51867
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]]
51868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51869
+  (0.0ms) SAVEPOINT active_record_1
51870
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]]
51871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51872
+  (0.0ms) SAVEPOINT active_record_1
51873
+ 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"]]
51874
+ 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-05-23 15:28:29.386165"], ["updated_at", "2016-05-23 15:28:29.386165"]]
51875
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.388243"], ["updated_at", "2016-05-23 15:28:29.388243"]]
51876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51877
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
51878
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51879
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
51880
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
51881
+ 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]]
51882
+ 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]]
51883
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51884
+  (0.1ms) SAVEPOINT active_record_1
51885
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]]
51886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51887
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51888
+  (0.0ms) SAVEPOINT active_record_1
51889
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]]
51890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51891
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51892
+  (0.0ms) SAVEPOINT active_record_1
51893
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]]
51894
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51895
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51896
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
51897
+  (0.6ms) rollback transaction
51898
+  (0.1ms) begin transaction
51899
+  (0.0ms) commit transaction
51900
+  (0.0ms) begin transaction
51901
+  (0.1ms) SAVEPOINT active_record_1
51902
+ SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.406712"], ["updated_at", "2016-05-23 15:28:29.406712"]]
51903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51904
+  (0.0ms) SAVEPOINT active_record_1
51905
+ 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-5"]]
51906
+ SQL (0.4ms) 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-05-23 15:28:29.410689"], ["updated_at", "2016-05-23 15:28:29.410689"]]
51907
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.413176"], ["updated_at", "2016-05-23 15:28:29.413176"]]
51908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51909
+  (0.0ms) SAVEPOINT active_record_1
51910
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.415404"], ["updated_at", "2016-05-23 15:28:29.415404"]]
51911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51912
+  (0.1ms) SAVEPOINT active_record_1
51913
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
51914
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-05-23 15:28:29.418728"], ["updated_at", "2016-05-23 15:28:29.418728"]]
51915
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51916
+  (0.1ms) SAVEPOINT active_record_1
51917
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.421708"], ["updated_at", "2016-05-23 15:28:29.421708"]]
51918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51919
+  (0.1ms) SAVEPOINT active_record_1
51920
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
51921
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-05-23 15:28:29.425182"], ["updated_at", "2016-05-23 15:28:29.425182"]]
51922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51923
+  (0.0ms) SAVEPOINT active_record_1
51924
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.427274"], ["updated_at", "2016-05-23 15:28:29.427274"]]
51925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51926
+  (0.0ms) SAVEPOINT active_record_1
51927
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
51928
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-05-23 15:28:29.430633"], ["updated_at", "2016-05-23 15:28:29.430633"]]
51929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51930
+  (0.0ms) SAVEPOINT active_record_1
51931
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.432386"], ["updated_at", "2016-05-23 15:28:29.432386"]]
51932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51933
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
51934
+  (0.0ms) SAVEPOINT active_record_1
51935
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-23 15:28:29.435240"], ["id", 2]]
51936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51937
+  (0.0ms) SAVEPOINT active_record_1
51938
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 15:28:29.436988"], ["updated_at", "2016-05-23 15:28:29.436988"]]
51939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51940
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8e9fceac-29f6-4263-8746-4c15f330b749) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
51941
+ [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
51942
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
51943
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
51944
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] Pulitzer::CloneVersion !!!
51945
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
51946
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] 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]]
51947
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] 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]]
51948
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] 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]]
51949
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.1ms) SAVEPOINT active_record_1
51950
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.421708"], ["updated_at", "2016-05-23 15:28:29.421708"]]
51951
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.1ms) RELEASE SAVEPOINT active_record_1
51952
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) SAVEPOINT active_record_1
51953
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.456318"], ["id", 4]]
51954
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) RELEASE SAVEPOINT active_record_1
51955
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] 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]]
51956
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) SAVEPOINT active_record_1
51957
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.427274"], ["updated_at", "2016-05-23 15:28:29.427274"]]
51958
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) RELEASE SAVEPOINT active_record_1
51959
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) SAVEPOINT active_record_1
51960
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.461859"], ["id", 5]]
51961
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) RELEASE SAVEPOINT active_record_1
51962
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] 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]]
51963
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) SAVEPOINT active_record_1
51964
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.432386"], ["updated_at", "2016-05-23 15:28:29.432386"]]
51965
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) RELEASE SAVEPOINT active_record_1
51966
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) SAVEPOINT active_record_1
51967
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.466290"], ["id", 6]]
51968
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.1ms) RELEASE SAVEPOINT active_record_1
51969
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] 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]]
51970
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
51971
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.1ms) SAVEPOINT active_record_1
51972
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 15:28:29.468964"], ["id", 3]]
51973
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749]  (0.0ms) RELEASE SAVEPOINT active_record_1
51974
+ [ActiveJob] [Pulitzer::CloneVersionJob] [8e9fceac-29f6-4263-8746-4c15f330b749] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.31ms
51975
+ 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", 1]]
51976
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51977
+ 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]]
51978
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
51979
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
51980
+  (0.7ms) rollback transaction
51981
+  (0.1ms) begin transaction
51982
+  (0.0ms) commit transaction
51983
+  (0.0ms) begin transaction
51984
+  (0.0ms) SAVEPOINT active_record_1
51985
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.482785"], ["updated_at", "2016-05-23 15:28:29.482785"]]
51986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51987
+  (0.0ms) SAVEPOINT active_record_1
51988
+ 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"]]
51989
+ SQL (0.4ms) 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-05-23 15:28:29.485896"], ["updated_at", "2016-05-23 15:28:29.485896"]]
51990
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.488295"], ["updated_at", "2016-05-23 15:28:29.488295"]]
51991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
51992
+  (0.0ms) SAVEPOINT active_record_1
51993
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.490196"], ["updated_at", "2016-05-23 15:28:29.490196"]]
51994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51995
+  (0.1ms) SAVEPOINT active_record_1
51996
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1
51997
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-05-23 15:28:29.493362"], ["updated_at", "2016-05-23 15:28:29.493362"]]
51998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51999
+  (0.0ms) SAVEPOINT active_record_1
52000
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.494980"], ["updated_at", "2016-05-23 15:28:29.494980"]]
52001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52002
+  (0.0ms) SAVEPOINT active_record_1
52003
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1
52004
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-05-23 15:28:29.497675"], ["updated_at", "2016-05-23 15:28:29.497675"]]
52005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52006
+  (0.0ms) SAVEPOINT active_record_1
52007
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.499117"], ["updated_at", "2016-05-23 15:28:29.499117"]]
52008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52009
+  (0.0ms) SAVEPOINT active_record_1
52010
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1
52011
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-05-23 15:28:29.501619"], ["updated_at", "2016-05-23 15:28:29.501619"]]
52012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52013
+  (0.0ms) SAVEPOINT active_record_1
52014
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.503554"], ["updated_at", "2016-05-23 15:28:29.503554"]]
52015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52016
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
52017
+  (0.0ms) SAVEPOINT active_record_1
52018
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-23 15:28:29.506308"], ["id", 2]]
52019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52020
+  (0.0ms) SAVEPOINT active_record_1
52021
+ SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 15:28:29.507833"], ["updated_at", "2016-05-23 15:28:29.507833"]]
52022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52023
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0ac461c4-0766-405e-aa95-20ad6eb642ae) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
52024
+ [ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
52025
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
52026
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
52027
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] Pulitzer::CloneVersion !!!
52028
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
52029
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52030
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] 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]]
52031
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] 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]]
52032
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.1ms) SAVEPOINT active_record_1
52033
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.494980"], ["updated_at", "2016-05-23 15:28:29.494980"]]
52034
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.1ms) RELEASE SAVEPOINT active_record_1
52035
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.1ms) SAVEPOINT active_record_1
52036
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.517001"], ["id", 4]]
52037
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) RELEASE SAVEPOINT active_record_1
52038
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] 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]]
52039
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.1ms) SAVEPOINT active_record_1
52040
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.499117"], ["updated_at", "2016-05-23 15:28:29.499117"]]
52041
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) RELEASE SAVEPOINT active_record_1
52042
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) SAVEPOINT active_record_1
52043
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.523221"], ["id", 5]]
52044
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) RELEASE SAVEPOINT active_record_1
52045
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] 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]]
52046
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.1ms) SAVEPOINT active_record_1
52047
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.503554"], ["updated_at", "2016-05-23 15:28:29.503554"]]
52048
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) RELEASE SAVEPOINT active_record_1
52049
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) SAVEPOINT active_record_1
52050
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.528863"], ["id", 6]]
52051
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) RELEASE SAVEPOINT active_record_1
52052
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] 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]]
52053
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
52054
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) SAVEPOINT active_record_1
52055
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 15:28:29.531171"], ["id", 3]]
52056
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae]  (0.0ms) RELEASE SAVEPOINT active_record_1
52057
+ [ActiveJob] [Pulitzer::CloneVersionJob] [0ac461c4-0766-405e-aa95-20ad6eb642ae] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.73ms
52058
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
52059
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
52060
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52061
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
52062
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
52063
+  (0.1ms) SAVEPOINT active_record_1
52064
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-05-23 15:28:29.538306"], ["id", 3]]
52065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52066
+  (0.0ms) SAVEPOINT active_record_1
52067
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 15:28:29.539982"], ["updated_at", "2016-05-23 15:28:29.539982"]]
52068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52069
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 277a7ad6-dd54-4a5b-aeb8-da21b552446f) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
52070
+ [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
52071
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
52072
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
52073
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] Pulitzer::CloneVersion !!!
52074
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
52075
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52076
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] 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]]
52077
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] 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]]
52078
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.1ms) SAVEPOINT active_record_1
52079
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.494980"], ["updated_at", "2016-05-23 15:28:29.494980"]]
52080
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) RELEASE SAVEPOINT active_record_1
52081
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) SAVEPOINT active_record_1
52082
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-23 15:28:29.547797"], ["id", 7]]
52083
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) RELEASE SAVEPOINT active_record_1
52084
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] 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]]
52085
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) SAVEPOINT active_record_1
52086
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.499117"], ["updated_at", "2016-05-23 15:28:29.499117"]]
52087
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) RELEASE SAVEPOINT active_record_1
52088
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) SAVEPOINT active_record_1
52089
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-23 15:28:29.552460"], ["id", 8]]
52090
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) RELEASE SAVEPOINT active_record_1
52091
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] 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]]
52092
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) SAVEPOINT active_record_1
52093
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.503554"], ["updated_at", "2016-05-23 15:28:29.503554"]]
52094
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) RELEASE SAVEPOINT active_record_1
52095
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) SAVEPOINT active_record_1
52096
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-23 15:28:29.557463"], ["id", 9]]
52097
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.1ms) RELEASE SAVEPOINT active_record_1
52098
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] 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]]
52099
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
52100
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.0ms) SAVEPOINT active_record_1
52101
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 15:28:29.560283"], ["id", 4]]
52102
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f]  (0.1ms) RELEASE SAVEPOINT active_record_1
52103
+ [ActiveJob] [Pulitzer::CloneVersionJob] [277a7ad6-dd54-4a5b-aeb8-da21b552446f] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.83ms
52104
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]]
52105
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52106
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52107
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52108
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]
52109
+  (0.7ms) rollback transaction
52110
+  (0.1ms) begin transaction
52111
+  (0.0ms) commit transaction
52112
+  (0.0ms) begin transaction
52113
+  (0.1ms) SAVEPOINT active_record_1
52114
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.573536"], ["updated_at", "2016-05-23 15:28:29.573536"]]
52115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52116
+  (0.0ms) SAVEPOINT active_record_1
52117
+ 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"]]
52118
+ SQL (0.4ms) 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-05-23 15:28:29.576581"], ["updated_at", "2016-05-23 15:28:29.576581"]]
52119
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.579409"], ["updated_at", "2016-05-23 15:28:29.579409"]]
52120
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52121
+  (0.0ms) SAVEPOINT active_record_1
52122
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.581393"], ["updated_at", "2016-05-23 15:28:29.581393"]]
52123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52124
+  (0.1ms) SAVEPOINT active_record_1
52125
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1
52126
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-05-23 15:28:29.584445"], ["updated_at", "2016-05-23 15:28:29.584445"]]
52127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52128
+  (0.0ms) SAVEPOINT active_record_1
52129
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.586308"], ["updated_at", "2016-05-23 15:28:29.586308"]]
52130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52131
+  (0.0ms) SAVEPOINT active_record_1
52132
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1
52133
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-05-23 15:28:29.589547"], ["updated_at", "2016-05-23 15:28:29.589547"]]
52134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52135
+  (0.0ms) SAVEPOINT active_record_1
52136
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.591011"], ["updated_at", "2016-05-23 15:28:29.591011"]]
52137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52138
+  (0.0ms) SAVEPOINT active_record_1
52139
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1
52140
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-05-23 15:28:29.593662"], ["updated_at", "2016-05-23 15:28:29.593662"]]
52141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52142
+  (0.0ms) SAVEPOINT active_record_1
52143
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["title", "Night's Watch"], ["body", "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-05-23 15:28:29.595252"], ["updated_at", "2016-05-23 15:28:29.595252"]]
52144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52145
+ 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", 1]]
52146
+  (0.0ms) SAVEPOINT active_record_1
52147
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-23 15:28:29.598141"], ["id", 2]]
52148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52149
+  (0.0ms) SAVEPOINT active_record_1
52150
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 15:28:29.599734"], ["updated_at", "2016-05-23 15:28:29.599734"]]
52151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52152
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c9e02dde-08e3-47e2-832f-c91a26363a87) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
52153
+ [ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
52154
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
52155
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
52156
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] Pulitzer::CloneVersion !!!
52157
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
52158
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] 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]]
52159
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] 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]]
52160
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] 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]]
52161
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) SAVEPOINT active_record_1
52162
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.586308"], ["updated_at", "2016-05-23 15:28:29.586308"]]
52163
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) RELEASE SAVEPOINT active_record_1
52164
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) SAVEPOINT active_record_1
52165
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.610183"], ["id", 4]]
52166
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) RELEASE SAVEPOINT active_record_1
52167
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] 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]]
52168
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) SAVEPOINT active_record_1
52169
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.591011"], ["updated_at", "2016-05-23 15:28:29.591011"]]
52170
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) RELEASE SAVEPOINT active_record_1
52171
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.0ms) SAVEPOINT active_record_1
52172
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.616680"], ["id", 5]]
52173
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) RELEASE SAVEPOINT active_record_1
52174
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] 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]]
52175
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) SAVEPOINT active_record_1
52176
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 15:28:29.595252"], ["updated_at", "2016-05-23 15:28:29.595252"]]
52177
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.1ms) RELEASE SAVEPOINT active_record_1
52178
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.0ms) SAVEPOINT active_record_1
52179
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 15:28:29.623399"], ["id", 6]]
52180
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.0ms) RELEASE SAVEPOINT active_record_1
52181
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] 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]]
52182
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
52183
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.0ms) SAVEPOINT active_record_1
52184
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 15:28:29.626277"], ["id", 3]]
52185
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87]  (0.0ms) RELEASE SAVEPOINT active_record_1
52186
+ [ActiveJob] [Pulitzer::CloneVersionJob] [c9e02dde-08e3-47e2-832f-c91a26363a87] Performed Pulitzer::CloneVersionJob from Inline(default) in 28.66ms
52187
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
52188
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
52189
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
52190
+  (0.1ms) SAVEPOINT active_record_1
52191
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-05-23 15:28:29.633068"], ["id", 2]]
52192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52193
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52194
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
52195
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
52196
+ 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]]
52197
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52198
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52199
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
52200
+  (0.9ms) rollback transaction
52201
+  (0.1ms) begin transaction
52202
+  (0.0ms) commit transaction
52203
+  (0.0ms) begin transaction
52204
+  (0.0ms) rollback transaction
52205
+  (0.1ms) begin transaction
52206
+  (0.0ms) commit transaction
52207
+  (0.0ms) begin transaction
52208
+  (0.0ms) SAVEPOINT active_record_1
52209
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1
52210
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-05-23 15:28:29.646064"], ["updated_at", "2016-05-23 15:28:29.646064"]]
52211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52212
+  (0.4ms) rollback transaction
52213
+  (0.1ms) begin transaction
52214
+  (0.0ms) commit transaction
52215
+  (0.0ms) begin transaction
52216
+  (0.1ms) rollback transaction
52217
+  (0.1ms) begin transaction
52218
+  (0.0ms) commit transaction
52219
+  (0.0ms) begin transaction
52220
+  (0.0ms) rollback transaction
52221
+  (0.0ms) begin transaction
52222
+  (0.0ms) commit transaction
52223
+  (0.0ms) begin transaction
52224
+  (0.0ms) rollback transaction
52225
+  (0.1ms) begin transaction
52226
+  (0.1ms) commit transaction
52227
+  (0.0ms) begin transaction
52228
+  (0.1ms) rollback transaction
52229
+  (0.1ms) begin transaction
52230
+  (0.0ms) commit transaction
52231
+  (0.0ms) begin transaction
52232
+  (0.1ms) SAVEPOINT active_record_1
52233
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1
52234
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-05-23 15:28:29.658744"], ["updated_at", "2016-05-23 15:28:29.658744"]]
52235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52236
+  (0.4ms) rollback transaction
52237
+  (0.1ms) begin transaction
52238
+  (0.0ms) commit transaction
52239
+  (0.0ms) begin transaction
52240
+  (0.1ms) SAVEPOINT active_record_1
52241
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1
52242
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-05-23 15:28:29.666967"], ["updated_at", "2016-05-23 15:28:29.666967"]]
52243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52244
+  (0.3ms) rollback transaction
52245
+  (0.1ms) begin transaction
52246
+  (0.0ms) commit transaction
52247
+  (0.0ms) begin transaction
52248
+  (0.1ms) SAVEPOINT active_record_1
52249
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1
52250
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-05-23 15:28:29.673219"], ["updated_at", "2016-05-23 15:28:29.673219"]]
52251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52252
+  (0.3ms) rollback transaction
52253
+  (0.1ms) begin transaction
52254
+  (0.0ms) commit transaction
52255
+  (0.2ms) begin transaction
52256
+  (0.1ms) SAVEPOINT active_record_1
52257
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
52258
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-23 15:28:29.679281"], ["updated_at", "2016-05-23 15:28:29.679281"]]
52259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52260
+  (0.0ms) SAVEPOINT active_record_1
52261
+ SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-05-23 15:28:29.681015"], ["updated_at", "2016-05-23 15:28:29.681015"]]
52262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52263
+  (0.7ms) rollback transaction
52264
+  (0.1ms) begin transaction
52265
+  (0.1ms) commit transaction
52266
+  (0.1ms) begin transaction
52267
+  (0.1ms) SAVEPOINT active_record_1
52268
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
52269
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-23 15:28:29.688408"], ["updated_at", "2016-05-23 15:28:29.688408"]]
52270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52271
+  (0.0ms) SAVEPOINT active_record_1
52272
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-05-23 15:28:29.690335"], ["updated_at", "2016-05-23 15:28:29.690335"]]
52273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52274
+  (0.6ms) rollback transaction
52275
+  (0.1ms) begin transaction
52276
+  (0.1ms) commit transaction
52277
+  (0.1ms) begin transaction
52278
+  (0.1ms) SAVEPOINT active_record_1
52279
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1
52280
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-05-23 15:28:29.704518"], ["updated_at", "2016-05-23 15:28:29.704518"]]
52281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52282
+  (0.4ms) rollback transaction
52283
+  (0.1ms) begin transaction
52284
+  (0.0ms) commit transaction
52285
+  (0.1ms) begin transaction
52286
+  (0.0ms) SAVEPOINT active_record_1
52287
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1
52288
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-05-23 15:28:29.709789"], ["updated_at", "2016-05-23 15:28:29.709789"]]
52289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52290
+  (0.5ms) rollback transaction
52291
+  (0.1ms) begin transaction
52292
+  (0.0ms) commit transaction
52293
+  (0.0ms) begin transaction
52294
+  (0.1ms) SAVEPOINT active_record_1
52295
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
52296
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-05-23 15:28:29.716408"], ["updated_at", "2016-05-23 15:28:29.716408"]]
52297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52298
+  (0.4ms) rollback transaction
52299
+  (0.1ms) begin transaction
52300
+  (0.0ms) commit transaction
52301
+  (0.0ms) begin transaction
52302
+  (0.0ms) SAVEPOINT active_record_1
52303
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.933852"], ["updated_at", "2016-05-23 15:28:29.933852"]]
52304
+  (0.2ms) RELEASE SAVEPOINT active_record_1
52305
+ 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"]]
52306
+  (0.4ms) rollback transaction
52307
+  (0.1ms) begin transaction
52308
+  (0.0ms) commit transaction
52309
+  (0.0ms) begin transaction
52310
+  (0.1ms) rollback transaction
52311
+  (0.1ms) begin transaction
52312
+  (0.0ms) commit transaction
52313
+  (0.0ms) begin transaction
52314
+  (0.0ms) rollback transaction
52315
+  (0.0ms) begin transaction
52316
+  (0.0ms) commit transaction
52317
+  (0.0ms) begin transaction
52318
+  (0.1ms) SAVEPOINT active_record_1
52319
+ SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.951859"], ["updated_at", "2016-05-23 15:28:29.951859"]]
52320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52321
+  (0.0ms) SAVEPOINT active_record_1
52322
+ 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"]]
52323
+ SQL (0.4ms) 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-05-23 15:28:29.957301"], ["updated_at", "2016-05-23 15:28:29.957301"]]
52324
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.959934"], ["updated_at", "2016-05-23 15:28:29.959934"]]
52325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52326
+  (0.6ms) rollback transaction
52327
+  (0.1ms) begin transaction
52328
+  (0.0ms) commit transaction
52329
+  (0.0ms) begin transaction
52330
+  (0.0ms) SAVEPOINT active_record_1
52331
+ SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.964671"], ["updated_at", "2016-05-23 15:28:29.964671"]]
52332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52333
+  (0.0ms) SAVEPOINT active_record_1
52334
+ 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"]]
52335
+ SQL (0.3ms) 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-05-23 15:28:29.968429"], ["updated_at", "2016-05-23 15:28:29.968429"]]
52336
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:29.971780"], ["updated_at", "2016-05-23 15:28:29.971780"]]
52337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52338
+  (0.0ms) SAVEPOINT active_record_1
52339
+ 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"]]
52340
+ 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-05-23 15:28:29.974946"], ["id", 1]]
52341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52342
+  (0.6ms) rollback transaction
52343
+  (0.1ms) begin transaction
52344
+  (0.0ms) commit transaction
52345
+  (0.0ms) begin transaction
52346
+  (0.1ms) SAVEPOINT active_record_1
52347
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1
52348
+ SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-05-23 15:28:29.989177"], ["updated_at", "2016-05-23 15:28:29.989177"]]
52349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52350
+  (0.1ms) SAVEPOINT active_record_1
52351
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:29.994942"], ["updated_at", "2016-05-23 15:28:29.994942"]]
52352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52353
+  (0.0ms) SAVEPOINT active_record_1
52354
+ 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"]]
52355
+ 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-05-23 15:28:29.998366"], ["updated_at", "2016-05-23 15:28:29.998366"]]
52356
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:30.000061"], ["updated_at", "2016-05-23 15:28:30.000061"]]
52357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52358
+  (0.0ms) SAVEPOINT active_record_1
52359
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:30.002967"], ["updated_at", "2016-05-23 15:28:30.002967"]]
52360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52361
+  (0.6ms) rollback transaction
52362
+  (0.1ms) begin transaction
52363
+  (0.1ms) commit transaction
52364
+  (0.0ms) begin transaction
52365
+  (0.1ms) rollback transaction
52366
+  (0.1ms) begin transaction
52367
+  (0.0ms) commit transaction
52368
+  (0.0ms) begin transaction
52369
+  (0.1ms) rollback transaction
52370
+  (0.0ms) begin transaction
52371
+  (0.3ms) commit transaction
52372
+  (0.0ms) begin transaction
52373
+  (0.1ms) rollback transaction
52374
+  (0.1ms) begin transaction
52375
+  (0.1ms) commit transaction
52376
+  (0.1ms) begin transaction
52377
+  (0.1ms) rollback transaction
52378
+  (0.1ms) begin transaction
52379
+  (0.1ms) commit transaction
52380
+  (0.0ms) begin transaction
52381
+  (0.1ms) rollback transaction
52382
+  (0.1ms) begin transaction
52383
+  (0.1ms) commit transaction
52384
+  (0.0ms) begin transaction
52385
+  (0.1ms) SAVEPOINT active_record_1
52386
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:30.039923"], ["updated_at", "2016-05-23 15:28:30.039923"]]
52387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52388
+  (0.0ms) SAVEPOINT active_record_1
52389
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1
52390
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-05-23 15:28:30.043228"], ["updated_at", "2016-05-23 15:28:30.043228"]]
52391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52392
+  (0.7ms) rollback transaction
52393
+  (0.1ms) begin transaction
52394
+  (0.0ms) commit transaction
52395
+  (0.0ms) begin transaction
52396
+  (0.1ms) rollback transaction
52397
+  (0.1ms) begin transaction
52398
+  (0.1ms) commit transaction
52399
+  (0.0ms) begin transaction
52400
+  (0.1ms) rollback transaction
52401
+  (0.1ms) begin transaction
52402
+  (0.1ms) commit transaction
52403
+  (0.1ms) begin transaction
52404
+  (0.2ms) rollback transaction
52405
+  (0.1ms) begin transaction
52406
+  (0.1ms) commit transaction
52407
+  (0.1ms) begin transaction
52408
+  (0.1ms) rollback transaction
52409
+  (0.0ms) begin transaction
52410
+  (0.0ms) commit transaction
52411
+  (0.0ms) begin transaction
52412
+  (0.0ms) rollback transaction
52413
+  (0.1ms) begin transaction
52414
+  (0.0ms) commit transaction
52415
+  (0.0ms) begin transaction
52416
+  (0.0ms) rollback transaction
52417
+  (0.0ms) begin transaction
52418
+  (0.0ms) commit transaction
52419
+  (0.0ms) begin transaction
52420
+  (0.1ms) rollback transaction
52421
+  (0.1ms) begin transaction
52422
+  (0.0ms) commit transaction
52423
+  (0.0ms) begin transaction
52424
+  (0.2ms) rollback transaction
52425
+  (0.0ms) begin transaction
52426
+  (0.0ms) commit transaction
52427
+  (0.0ms) begin transaction
52428
+  (0.0ms) rollback transaction
52429
+  (0.0ms) begin transaction
52430
+  (0.0ms) commit transaction
52431
+  (0.2ms) begin transaction
52432
+  (0.0ms) rollback transaction
52433
+  (0.0ms) begin transaction
52434
+  (0.0ms) commit transaction
52435
+  (0.0ms) begin transaction
52436
+  (0.0ms) rollback transaction
52437
+  (0.0ms) begin transaction
52438
+  (0.0ms) commit transaction
52439
+  (0.0ms) begin transaction
52440
+ Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
52441
+  (0.0ms) rollback transaction
52442
+  (0.0ms) begin transaction
52443
+  (0.0ms) commit transaction
52444
+  (0.0ms) begin transaction
52445
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1
52446
+  (0.0ms) rollback transaction
52447
+  (0.1ms) begin transaction
52448
+  (0.0ms) commit transaction
52449
+  (0.0ms) begin transaction
52450
+ Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
52451
+  (0.1ms) SAVEPOINT active_record_1
52452
+ SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-05-23 15:28:30.096949"], ["updated_at", "2016-05-23 15:28:30.096949"]]
52453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52454
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
52455
+ Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1
52456
+  (1.4ms) rollback transaction
52457
+  (0.1ms) begin transaction
52458
+  (0.0ms) commit transaction
52459
+  (0.1ms) begin transaction
52460
+  (0.0ms) rollback transaction
52461
+  (0.1ms) begin transaction
52462
+  (0.0ms) commit transaction
52463
+  (0.0ms) begin transaction
52464
+  (0.0ms) rollback transaction
52465
+  (0.0ms) begin transaction
52466
+  (0.0ms) commit transaction
52467
+  (0.0ms) begin transaction
52468
+  (0.1ms) SAVEPOINT active_record_1
52469
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:30.112414"], ["updated_at", "2016-05-23 15:28:30.112414"]]
52470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52471
+  (0.0ms) SAVEPOINT active_record_1
52472
+ 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"]]
52473
+ SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 12"], ["post_type_id", 1], ["slug", "winterfell-news-12"], ["created_at", "2016-05-23 15:28:30.115593"], ["updated_at", "2016-05-23 15:28:30.115593"]]
52474
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:30.117738"], ["updated_at", "2016-05-23 15:28:30.117738"]]
52475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52476
+  (0.6ms) rollback transaction
52477
+  (0.1ms) begin transaction
52478
+  (0.0ms) commit transaction
52479
+  (0.0ms) begin transaction
52480
+  (0.1ms) rollback transaction
52481
+  (0.1ms) begin transaction
52482
+  (0.0ms) commit transaction
52483
+  (0.0ms) begin transaction
52484
+  (0.0ms) rollback transaction
52485
+  (0.1ms) begin transaction
52486
+  (0.0ms) commit transaction
52487
+  (0.0ms) begin transaction
52488
+  (0.0ms) rollback transaction
52489
+  (0.0ms) begin transaction
52490
+  (0.0ms) commit transaction
52491
+  (0.0ms) begin transaction
52492
+  (0.0ms) rollback transaction
52493
+  (0.0ms) begin transaction
52494
+  (0.0ms) commit transaction
52495
+  (0.0ms) begin transaction
52496
+  (0.0ms) rollback transaction
52497
+  (0.0ms) begin transaction
52498
+  (0.0ms) commit transaction
52499
+  (0.0ms) begin transaction
52500
+  (0.0ms) rollback transaction
52501
+  (0.0ms) begin transaction
52502
+  (0.0ms) commit transaction
52503
+  (0.0ms) begin transaction
52504
+  (0.1ms) SAVEPOINT active_record_1
52505
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1
52506
+ SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-05-23 15:28:30.135646"], ["updated_at", "2016-05-23 15:28:30.135646"]]
52507
+  (0.2ms) RELEASE SAVEPOINT active_record_1
52508
+  (0.0ms) SAVEPOINT active_record_1
52509
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 15:28:30.138661"], ["updated_at", "2016-05-23 15:28:30.138661"]]
52510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52511
+  (0.0ms) SAVEPOINT active_record_1
52512
+ 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"]]
52513
+ 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-05-23 15:28:30.142240"], ["updated_at", "2016-05-23 15:28:30.142240"]]
52514
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:30.144209"], ["updated_at", "2016-05-23 15:28:30.144209"]]
52515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52516
+  (0.0ms) SAVEPOINT active_record_1
52517
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 15:28:30.145761"], ["updated_at", "2016-05-23 15:28:30.145761"]]
52518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52519
+  (0.0ms) SAVEPOINT active_record_1
52520
+ 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-05-23 15:28:30.148301"], ["updated_at", "2016-05-23 15:28:30.148301"]]
52521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52522
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
52523
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_post_tags"."label_id" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"], ["label_id", 1]]
52524
+ 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", 2], ["label_type", "Pulitzer::Tag"]]
52525
+ Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
52526
+  (0.7ms) rollback transaction
52527
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
52528
+  (1.4ms) DELETE FROM "pulitzer_content_element_types";
52529
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52530
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
52531
+  (1.5ms) DELETE FROM "pulitzer_posts";
52532
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52533
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
52534
+  (1.2ms) DELETE FROM "pulitzer_tags";
52535
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52536
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
52537
+  (1.1ms) DELETE FROM "pulitzer_post_type_content_element_types";
52538
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52539
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
52540
+  (1.1ms) DELETE FROM "search_locations";
52541
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52542
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';
52543
+  (1.2ms) DELETE FROM "pulitzer_versions";
52544
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52545
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
52546
+  (1.1ms) DELETE FROM "pulitzer_content_elements";
52547
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52548
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
52549
+  (1.2ms) DELETE FROM "pulitzer_post_tags";
52550
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52551
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
52552
+  (0.9ms) DELETE FROM "pulitzer_post_types";
52553
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52554
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
52555
+  (0.7ms) DELETE FROM "pulitzer_partials";
52556
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52557
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
52558
+  (1.1ms) DELETE FROM "pulitzer_free_form_section_types";
52559
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52560
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
52561
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
52562
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52563
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
52564
+  (0.9ms) DELETE FROM "pulitzer_layouts";
52565
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
52566
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
52567
+  (0.1ms) begin transaction
52568
+  (0.0ms) commit transaction
52569
+  (0.0ms) begin transaction
52570
+  (0.1ms) SAVEPOINT active_record_1
52571
+ 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-05-23 16:12:45.665612"], ["updated_at", "2016-05-23 16:12:45.665612"]]
52572
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52573
+ Processing by Pulitzer::FreeFormSectionTypesController#new as HTML
52574
+ Parameters: {"post_type_id"=>"1"}
52575
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52576
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52577
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (8.2ms)
52578
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (35.7ms)
52579
+ Completed 200 OK in 64ms (Views: 45.4ms | ActiveRecord: 0.3ms)
52580
+  (0.3ms) rollback transaction
52581
+  (0.1ms) begin transaction
52582
+  (0.0ms) commit transaction
52583
+  (0.0ms) begin transaction
52584
+  (0.0ms) SAVEPOINT active_record_1
52585
+ 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-05-23 16:12:45.746220"], ["updated_at", "2016-05-23 16:12:45.746220"]]
52586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52587
+ Processing by Pulitzer::FreeFormSectionTypesController#create as HTML
52588
+ Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}}
52589
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52590
+  (0.0ms) SAVEPOINT active_record_1
52591
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]]
52592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52593
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52594
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
52595
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.4ms)
52596
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (7.3ms)
52597
+ Completed 200 OK in 16ms (Views: 9.1ms | ActiveRecord: 0.8ms)
52598
+ 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
52599
+  (0.5ms) rollback transaction
52600
+  (0.1ms) begin transaction
52601
+  (0.0ms) commit transaction
52602
+  (0.0ms) begin transaction
52603
+  (0.0ms) SAVEPOINT active_record_1
52604
+ 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-05-23 16:12:45.769999"], ["updated_at", "2016-05-23 16:12:45.769999"]]
52605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52606
+  (0.0ms) SAVEPOINT active_record_1
52607
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
52608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52609
+ Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML
52610
+ Parameters: {"id"=>"1"}
52611
+ 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]]
52612
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms)
52613
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.6ms)
52614
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (9.1ms)
52615
+ Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.1ms)
52616
+  (0.6ms) rollback transaction
52617
+  (0.1ms) begin transaction
52618
+  (0.0ms) commit transaction
52619
+  (0.0ms) begin transaction
52620
+  (0.0ms) SAVEPOINT active_record_1
52621
+ 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-05-23 16:12:45.793172"], ["updated_at", "2016-05-23 16:12:45.793172"]]
52622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52623
+  (0.0ms) SAVEPOINT active_record_1
52624
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
52625
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52626
+ Processing by Pulitzer::FreeFormSectionTypesController#update as HTML
52627
+ Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"}
52628
+ 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]]
52629
+  (0.0ms) SAVEPOINT active_record_1
52630
+ SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]]
52631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52632
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52633
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
52634
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.0ms)
52635
+ Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.3ms)
52636
+ 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]]
52637
+  (0.6ms) rollback transaction
52638
+  (0.1ms) begin transaction
52639
+  (0.1ms) commit transaction
52640
+  (0.0ms) begin transaction
52641
+  (0.1ms) SAVEPOINT active_record_1
52642
+ 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-05-23 16:12:45.814791"], ["updated_at", "2016-05-23 16:12:45.814791"]]
52643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52644
+  (0.0ms) SAVEPOINT active_record_1
52645
+ SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
52646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52647
+ Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML
52648
+ Parameters: {"id"=>"1"}
52649
+ 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]]
52650
+  (0.0ms) SAVEPOINT active_record_1
52651
+ SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]]
52652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52653
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52654
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
52655
+ Rendered text template (0.0ms)
52656
+ Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)
52657
+ 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]]
52658
+  (0.6ms) rollback transaction
52659
+  (0.1ms) begin transaction
52660
+  (0.0ms) commit transaction
52661
+  (0.0ms) begin transaction
52662
+  (0.0ms) SAVEPOINT active_record_1
52663
+ 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-05-23 16:12:45.833745"], ["updated_at", "2016-05-23 16:12:45.833745"]]
52664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52665
+  (0.1ms) SAVEPOINT active_record_1
52666
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
52667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52668
+ Processing by Pulitzer::PartialsController#new as HTML
52669
+ Parameters: {"partial"=>{"free_form_section_id"=>"1"}}
52670
+ 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]]
52671
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms)
52672
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]]
52673
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]]
52674
+ Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]]
52675
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (19.2ms)
52676
+ Completed 200 OK in 36ms (Views: 23.2ms | ActiveRecord: 0.6ms)
52677
+  (2.0ms) rollback transaction
52678
+  (0.1ms) begin transaction
52679
+  (0.0ms) commit transaction
52680
+  (0.0ms) begin transaction
52681
+  (0.0ms) SAVEPOINT active_record_1
52682
+ 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-05-23 16:12:45.889493"], ["updated_at", "2016-05-23 16:12:45.889493"]]
52683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52684
+  (0.0ms) SAVEPOINT active_record_1
52685
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
52686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52687
+ Processing by Pulitzer::PartialsController#create as HTML
52688
+ Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}}
52689
+ 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]]
52690
+  (0.1ms) SAVEPOINT active_record_1
52691
+ 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]]
52692
+  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
52693
+ 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]]
52694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52695
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52696
+ 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]]
52697
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.8ms)
52698
+ 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]]
52699
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (6.2ms)
52700
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (16.2ms)
52701
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (18.3ms)
52702
+ Completed 200 OK in 33ms (Views: 19.8ms | ActiveRecord: 0.9ms)
52703
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1
52704
+  (0.6ms) rollback transaction
52705
+  (0.1ms) begin transaction
52706
+  (0.0ms) commit transaction
52707
+  (0.0ms) begin transaction
52708
+  (0.0ms) SAVEPOINT active_record_1
52709
+ SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
52710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52711
+  (0.1ms) SAVEPOINT active_record_1
52712
+ 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-05-23 16:12:45.938367"], ["updated_at", "2016-05-23 16:12:45.938367"]]
52713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52714
+  (0.0ms) SAVEPOINT active_record_1
52715
+ Pulitzer::FreeFormSection Load (0.6ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]]
52716
+  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
52717
+ 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]]
52718
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52719
+ Processing by Pulitzer::PartialsController#edit as HTML
52720
+ Parameters: {"id"=>"1"}
52721
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
52722
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52723
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms)
52724
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms)
52725
+ Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]]
52726
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (17.5ms)
52727
+ Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.2ms)
52728
+  (0.7ms) rollback transaction
52729
+  (0.1ms) begin transaction
52730
+  (0.0ms) commit transaction
52731
+  (0.0ms) begin transaction
52732
+  (0.0ms) SAVEPOINT active_record_1
52733
+ 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-05-23 16:12:45.976476"], ["updated_at", "2016-05-23 16:12:45.976476"]]
52734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52735
+  (0.0ms) SAVEPOINT active_record_1
52736
+ SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
52737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52738
+  (0.0ms) SAVEPOINT active_record_1
52739
+ 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-05-23 16:12:45.982254"], ["updated_at", "2016-05-23 16:12:45.982254"]]
52740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52741
+  (0.0ms) SAVEPOINT active_record_1
52742
+ 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]]
52743
+  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
52744
+ 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]]
52745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52746
+ Processing by Pulitzer::PartialsController#update as HTML
52747
+ Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"}
52748
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
52749
+  (0.0ms) SAVEPOINT active_record_1
52750
+ SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]]
52751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52752
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52753
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms)
52754
+ 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]]
52755
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.5ms)
52756
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (5.0ms)
52757
+ Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.3ms)
52758
+ Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
52759
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
52760
+  (0.6ms) rollback transaction
52761
+  (0.1ms) begin transaction
52762
+  (0.0ms) commit transaction
52763
+  (0.0ms) begin transaction
52764
+  (0.1ms) SAVEPOINT active_record_1
52765
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.028218"], ["updated_at", "2016-05-23 16:12:46.028218"]]
52766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52767
+  (0.0ms) SAVEPOINT active_record_1
52768
+ 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"]]
52769
+ SQL (0.4ms) 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-05-23 16:12:46.132635"], ["updated_at", "2016-05-23 16:12:46.132635"]]
52770
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.135549"], ["updated_at", "2016-05-23 16:12:46.135549"]]
52771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52772
+  (0.0ms) SAVEPOINT active_record_1
52773
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.138244"], ["updated_at", "2016-05-23 16:12:46.138244"]]
52774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52775
+  (0.0ms) SAVEPOINT active_record_1
52776
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
52777
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-05-23 16:12:46.150655"], ["updated_at", "2016-05-23 16:12:46.150655"]]
52778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52779
+  (0.0ms) SAVEPOINT active_record_1
52780
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.152978"], ["updated_at", "2016-05-23 16:12:46.152978"]]
52781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52782
+  (0.0ms) SAVEPOINT active_record_1
52783
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1
52784
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-05-23 16:12:46.156153"], ["updated_at", "2016-05-23 16:12:46.156153"]]
52785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52786
+  (0.0ms) SAVEPOINT active_record_1
52787
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.158845"], ["updated_at", "2016-05-23 16:12:46.158845"]]
52788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52789
+  (0.0ms) SAVEPOINT active_record_1
52790
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
52791
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-05-23 16:12:46.162065"], ["updated_at", "2016-05-23 16:12:46.162065"]]
52792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52793
+  (0.0ms) SAVEPOINT active_record_1
52794
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.163833"], ["updated_at", "2016-05-23 16:12:46.163833"]]
52795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52796
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
52797
+  (0.0ms) SAVEPOINT active_record_1
52798
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 16:12:46.168162"], ["updated_at", "2016-05-23 16:12:46.168162"]]
52799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52800
+ Pulitzer::CloneVersion !!!
52801
+ /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
52802
+ 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]]
52803
+ 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]]
52804
+ 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]]
52805
+  (0.1ms) SAVEPOINT active_record_1
52806
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.152978"], ["updated_at", "2016-05-23 16:12:46.152978"]]
52807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52808
+  (0.0ms) SAVEPOINT active_record_1
52809
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.176645"], ["id", 4]]
52810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52811
+ 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]]
52812
+  (0.0ms) SAVEPOINT active_record_1
52813
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.158845"], ["updated_at", "2016-05-23 16:12:46.158845"]]
52814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52815
+  (0.0ms) SAVEPOINT active_record_1
52816
+ SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.181330"], ["id", 5]]
52817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52818
+ 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]]
52819
+  (0.0ms) SAVEPOINT active_record_1
52820
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.163833"], ["updated_at", "2016-05-23 16:12:46.163833"]]
52821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52822
+  (0.0ms) SAVEPOINT active_record_1
52823
+ SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.185525"], ["id", 6]]
52824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52825
+ 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]]
52826
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
52827
+  (0.0ms) SAVEPOINT active_record_1
52828
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 16:12:46.189743"], ["id", 3]]
52829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52830
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
52831
+  (1.3ms) rollback transaction
52832
+  (0.1ms) begin transaction
52833
+  (0.0ms) commit transaction
52834
+  (0.0ms) begin transaction
52835
+  (0.0ms) SAVEPOINT active_record_1
52836
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.201193"], ["updated_at", "2016-05-23 16:12:46.201193"]]
52837
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52838
+  (0.0ms) SAVEPOINT active_record_1
52839
+ 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"]]
52840
+ SQL (0.4ms) 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-05-23 16:12:46.204277"], ["updated_at", "2016-05-23 16:12:46.204277"]]
52841
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.207054"], ["updated_at", "2016-05-23 16:12:46.207054"]]
52842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52843
+  (0.0ms) SAVEPOINT active_record_1
52844
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.208857"], ["updated_at", "2016-05-23 16:12:46.208857"]]
52845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52846
+  (0.0ms) SAVEPOINT active_record_1
52847
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]]
52848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52849
+  (0.0ms) SAVEPOINT active_record_1
52850
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]]
52851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52852
+  (0.0ms) SAVEPOINT active_record_1
52853
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]]
52854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52855
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
52856
+  (0.1ms) SAVEPOINT active_record_1
52857
+ SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 16:12:46.214460"], ["updated_at", "2016-05-23 16:12:46.214460"]]
52858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52859
+ Pulitzer::CloneVersion !!!
52860
+ /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
52861
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52862
+ 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]]
52863
+ 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]]
52864
+  (0.0ms) SAVEPOINT active_record_1
52865
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]]
52866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52867
+ 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]]
52868
+  (0.0ms) SAVEPOINT active_record_1
52869
+ SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]]
52870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52871
+  (0.0ms) SAVEPOINT active_record_1
52872
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]]
52873
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52874
+ 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]]
52875
+  (0.0ms) SAVEPOINT active_record_1
52876
+ SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]]
52877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52878
+  (0.0ms) SAVEPOINT active_record_1
52879
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]]
52880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52881
+ 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]]
52882
+  (0.0ms) SAVEPOINT active_record_1
52883
+ SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]]
52884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52885
+ Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
52886
+  (0.0ms) SAVEPOINT active_record_1
52887
+ SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 16:12:46.226042"], ["id", 3]]
52888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52889
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]]
52890
+  (0.7ms) rollback transaction
52891
+  (0.1ms) begin transaction
52892
+  (0.0ms) commit transaction
52893
+  (0.0ms) begin transaction
52894
+  (0.1ms) SAVEPOINT active_record_1
52895
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.234726"], ["updated_at", "2016-05-23 16:12:46.234726"]]
52896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52897
+  (0.0ms) SAVEPOINT active_record_1
52898
+ 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"]]
52899
+ SQL (0.4ms) 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-05-23 16:12:46.237464"], ["updated_at", "2016-05-23 16:12:46.237464"]]
52900
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.240561"], ["updated_at", "2016-05-23 16:12:46.240561"]]
52901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52902
+  (0.0ms) SAVEPOINT active_record_1
52903
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.242913"], ["updated_at", "2016-05-23 16:12:46.242913"]]
52904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52905
+  (0.0ms) SAVEPOINT active_record_1
52906
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
52907
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-05-23 16:12:46.246013"], ["updated_at", "2016-05-23 16:12:46.246013"]]
52908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52909
+  (0.1ms) SAVEPOINT active_record_1
52910
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.248664"], ["updated_at", "2016-05-23 16:12:46.248664"]]
52911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52912
+  (0.0ms) SAVEPOINT active_record_1
52913
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1
52914
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-05-23 16:12:46.252242"], ["updated_at", "2016-05-23 16:12:46.252242"]]
52915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52916
+  (0.1ms) SAVEPOINT active_record_1
52917
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.254043"], ["updated_at", "2016-05-23 16:12:46.254043"]]
52918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52919
+  (0.0ms) SAVEPOINT active_record_1
52920
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
52921
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-05-23 16:12:46.256983"], ["updated_at", "2016-05-23 16:12:46.256983"]]
52922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52923
+  (0.0ms) SAVEPOINT active_record_1
52924
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.258628"], ["updated_at", "2016-05-23 16:12:46.258628"]]
52925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52926
+  (0.0ms) SAVEPOINT active_record_1
52927
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 16:12:46.260575"], ["updated_at", "2016-05-23 16:12:46.260575"]]
52928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52929
+ Pulitzer::CloneVersion !!!
52930
+ /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
52931
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
52932
+ 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]]
52933
+ 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]]
52934
+  (0.0ms) SAVEPOINT active_record_1
52935
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.248664"], ["updated_at", "2016-05-23 16:12:46.248664"]]
52936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52937
+  (0.0ms) SAVEPOINT active_record_1
52938
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.267586"], ["id", 4]]
52939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52940
+ 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]]
52941
+  (0.0ms) SAVEPOINT active_record_1
52942
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.254043"], ["updated_at", "2016-05-23 16:12:46.254043"]]
52943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52944
+  (0.0ms) SAVEPOINT active_record_1
52945
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.272107"], ["id", 5]]
52946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52947
+ 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]]
52948
+  (0.1ms) SAVEPOINT active_record_1
52949
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.258628"], ["updated_at", "2016-05-23 16:12:46.258628"]]
52950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52951
+  (0.0ms) SAVEPOINT active_record_1
52952
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.278814"], ["id", 6]]
52953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52954
+ 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]]
52955
+ Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
52956
+  (0.0ms) SAVEPOINT active_record_1
52957
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 16:12:46.281595"], ["id", 3]]
52958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52959
+ 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]]
52960
+ 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]]
52961
+  (0.7ms) rollback transaction
52962
+  (0.1ms) begin transaction
52963
+  (0.0ms) commit transaction
52964
+  (0.0ms) begin transaction
52965
+  (0.0ms) SAVEPOINT active_record_1
52966
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.291486"], ["updated_at", "2016-05-23 16:12:46.291486"]]
52967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52968
+  (0.1ms) SAVEPOINT active_record_1
52969
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
52970
+ SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-05-23 16:12:46.299023"], ["updated_at", "2016-05-23 16:12:46.299023"]]
52971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52972
+  (0.0ms) SAVEPOINT active_record_1
52973
+ 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-05-23 16:12:46.301623"], ["updated_at", "2016-05-23 16:12:46.301623"]]
52974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52975
+  (0.0ms) SAVEPOINT active_record_1
52976
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1
52977
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-05-23 16:12:46.304114"], ["updated_at", "2016-05-23 16:12:46.304114"]]
52978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52979
+  (0.0ms) SAVEPOINT active_record_1
52980
+ 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-05-23 16:12:46.305439"], ["updated_at", "2016-05-23 16:12:46.305439"]]
52981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52982
+  (0.0ms) SAVEPOINT active_record_1
52983
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
52984
+ SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-05-23 16:12:46.307650"], ["updated_at", "2016-05-23 16:12:46.307650"]]
52985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52986
+  (0.0ms) SAVEPOINT active_record_1
52987
+ 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-05-23 16:12:46.308910"], ["updated_at", "2016-05-23 16:12:46.308910"]]
52988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
52989
+ SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]]
52990
+  (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]]
52991
+  (0.0ms) SAVEPOINT active_record_1
52992
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]]
52993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52994
+  (0.0ms) SAVEPOINT active_record_1
52995
+ 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]]
52996
+  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
52997
+ 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]]
52998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52999
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]]
53000
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
53001
+ 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]]
53002
+  (0.0ms) SAVEPOINT active_record_1
53003
+ 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]]
53004
+ 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-05-23 16:12:46.320681"], ["updated_at", "2016-05-23 16:12:46.320681"]]
53005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53006
+  (0.0ms) SAVEPOINT active_record_1
53007
+ 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]]
53008
+ 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-05-23 16:12:46.324344"], ["updated_at", "2016-05-23 16:12:46.324344"]]
53009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53010
+  (0.0ms) SAVEPOINT active_record_1
53011
+ 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]]
53012
+ 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-05-23 16:12:46.328251"], ["updated_at", "2016-05-23 16:12:46.328251"]]
53013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53014
+  (0.5ms) rollback transaction
53015
+  (0.1ms) begin transaction
53016
+  (0.0ms) commit transaction
53017
+  (0.0ms) begin transaction
53018
+  (0.0ms) SAVEPOINT active_record_1
53019
+ SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.334612"], ["updated_at", "2016-05-23 16:12:46.334612"]]
53020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53021
+  (0.0ms) SAVEPOINT active_record_1
53022
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
53023
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-05-23 16:12:46.337549"], ["updated_at", "2016-05-23 16:12:46.337549"]]
53024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53025
+  (0.0ms) SAVEPOINT active_record_1
53026
+ 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-05-23 16:12:46.339427"], ["updated_at", "2016-05-23 16:12:46.339427"]]
53027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53028
+  (0.0ms) SAVEPOINT active_record_1
53029
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1
53030
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-05-23 16:12:46.341725"], ["updated_at", "2016-05-23 16:12:46.341725"]]
53031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53032
+  (0.0ms) SAVEPOINT active_record_1
53033
+ 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 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-05-23 16:12:46.343864"], ["updated_at", "2016-05-23 16:12:46.343864"]]
53034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53035
+  (0.1ms) SAVEPOINT active_record_1
53036
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
53037
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-05-23 16:12:46.347592"], ["updated_at", "2016-05-23 16:12:46.347592"]]
53038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53039
+  (0.0ms) SAVEPOINT active_record_1
53040
+ 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-05-23 16:12:46.349196"], ["updated_at", "2016-05-23 16:12:46.349196"]]
53041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53042
+  (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]]
53043
+  (0.1ms) SAVEPOINT active_record_1
53044
+ 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"]]
53045
+ 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-05-23 16:12:46.354245"], ["updated_at", "2016-05-23 16:12:46.354245"]]
53046
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.356366"], ["updated_at", "2016-05-23 16:12:46.356366"]]
53047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53048
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53049
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
53050
+ 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]]
53051
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53052
+  (0.0ms) SAVEPOINT active_record_1
53053
+ 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]]
53054
+ 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-05-23 16:12:46.364501"], ["updated_at", "2016-05-23 16:12:46.364501"]]
53055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53056
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53057
+  (0.0ms) SAVEPOINT active_record_1
53058
+ 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]]
53059
+ 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-05-23 16:12:46.370302"], ["updated_at", "2016-05-23 16:12:46.370302"]]
53060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53061
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53062
+  (0.1ms) SAVEPOINT active_record_1
53063
+ 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]]
53064
+ 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-05-23 16:12:46.375958"], ["updated_at", "2016-05-23 16:12:46.375958"]]
53065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53066
+ 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]]
53067
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53068
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
53069
+  (0.7ms) rollback transaction
53070
+  (0.1ms) begin transaction
53071
+  (0.0ms) commit transaction
53072
+  (0.0ms) begin transaction
53073
+  (0.0ms) SAVEPOINT active_record_1
53074
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.384677"], ["updated_at", "2016-05-23 16:12:46.384677"]]
53075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53076
+  (0.0ms) SAVEPOINT active_record_1
53077
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]]
53078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53079
+  (0.0ms) SAVEPOINT active_record_1
53080
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]]
53081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53082
+  (0.0ms) SAVEPOINT active_record_1
53083
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]]
53084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53085
+  (0.0ms) SAVEPOINT active_record_1
53086
+ 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"]]
53087
+ 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-05-23 16:12:46.393810"], ["updated_at", "2016-05-23 16:12:46.393810"]]
53088
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.395622"], ["updated_at", "2016-05-23 16:12:46.395622"]]
53089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53090
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
53091
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53092
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
53093
+ Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
53094
+ 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]]
53095
+ 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]]
53096
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53097
+  (0.0ms) SAVEPOINT active_record_1
53098
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]]
53099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53100
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53101
+  (0.0ms) SAVEPOINT active_record_1
53102
+ SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]]
53103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53104
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53105
+  (0.0ms) SAVEPOINT active_record_1
53106
+ SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]]
53107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53108
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53109
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
53110
+  (0.7ms) rollback transaction
53111
+  (0.1ms) begin transaction
53112
+  (0.0ms) commit transaction
53113
+  (0.0ms) begin transaction
53114
+  (0.0ms) SAVEPOINT active_record_1
53115
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.411582"], ["updated_at", "2016-05-23 16:12:46.411582"]]
53116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53117
+  (0.0ms) SAVEPOINT active_record_1
53118
+ 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"]]
53119
+ SQL (0.3ms) 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-05-23 16:12:46.414393"], ["updated_at", "2016-05-23 16:12:46.414393"]]
53120
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.416340"], ["updated_at", "2016-05-23 16:12:46.416340"]]
53121
+  (0.2ms) RELEASE SAVEPOINT active_record_1
53122
+  (0.1ms) SAVEPOINT active_record_1
53123
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.418754"], ["updated_at", "2016-05-23 16:12:46.418754"]]
53124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53125
+  (0.1ms) SAVEPOINT active_record_1
53126
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
53127
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-05-23 16:12:46.422403"], ["updated_at", "2016-05-23 16:12:46.422403"]]
53128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53129
+  (0.0ms) SAVEPOINT active_record_1
53130
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.424852"], ["updated_at", "2016-05-23 16:12:46.424852"]]
53131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53132
+  (0.0ms) SAVEPOINT active_record_1
53133
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
53134
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-05-23 16:12:46.427726"], ["updated_at", "2016-05-23 16:12:46.427726"]]
53135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53136
+  (0.0ms) SAVEPOINT active_record_1
53137
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.429306"], ["updated_at", "2016-05-23 16:12:46.429306"]]
53138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53139
+  (0.0ms) SAVEPOINT active_record_1
53140
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
53141
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-05-23 16:12:46.432083"], ["updated_at", "2016-05-23 16:12:46.432083"]]
53142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53143
+  (0.1ms) SAVEPOINT active_record_1
53144
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.433570"], ["updated_at", "2016-05-23 16:12:46.433570"]]
53145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53146
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
53147
+  (0.0ms) SAVEPOINT active_record_1
53148
+ SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-23 16:12:46.435823"], ["id", 2]]
53149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53150
+  (0.0ms) SAVEPOINT active_record_1
53151
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 16:12:46.437281"], ["updated_at", "2016-05-23 16:12:46.437281"]]
53152
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53153
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a458eae3-5acf-48aa-8310-df59f41ff473) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53154
+ [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
53155
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53156
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53157
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] Pulitzer::CloneVersion !!!
53158
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
53159
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53160
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] 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]]
53161
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] 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]]
53162
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.1ms) SAVEPOINT active_record_1
53163
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.424852"], ["updated_at", "2016-05-23 16:12:46.424852"]]
53164
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.1ms) RELEASE SAVEPOINT active_record_1
53165
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) SAVEPOINT active_record_1
53166
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.450463"], ["id", 4]]
53167
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) RELEASE SAVEPOINT active_record_1
53168
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] 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]]
53169
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) SAVEPOINT active_record_1
53170
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.429306"], ["updated_at", "2016-05-23 16:12:46.429306"]]
53171
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) RELEASE SAVEPOINT active_record_1
53172
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) SAVEPOINT active_record_1
53173
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.455054"], ["id", 5]]
53174
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) RELEASE SAVEPOINT active_record_1
53175
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] 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]]
53176
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.1ms) SAVEPOINT active_record_1
53177
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.433570"], ["updated_at", "2016-05-23 16:12:46.433570"]]
53178
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) RELEASE SAVEPOINT active_record_1
53179
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) SAVEPOINT active_record_1
53180
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.460650"], ["id", 6]]
53181
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) RELEASE SAVEPOINT active_record_1
53182
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] 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]]
53183
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
53184
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) SAVEPOINT active_record_1
53185
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 16:12:46.462989"], ["id", 3]]
53186
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473]  (0.0ms) RELEASE SAVEPOINT active_record_1
53187
+ [ActiveJob] [Pulitzer::CloneVersionJob] [a458eae3-5acf-48aa-8310-df59f41ff473] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.48ms
53188
+ 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", 1]]
53189
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53190
+ 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]]
53191
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53192
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
53193
+  (0.6ms) rollback transaction
53194
+  (0.1ms) begin transaction
53195
+  (0.0ms) commit transaction
53196
+  (0.0ms) begin transaction
53197
+  (0.0ms) SAVEPOINT active_record_1
53198
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.476302"], ["updated_at", "2016-05-23 16:12:46.476302"]]
53199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53200
+  (0.0ms) SAVEPOINT active_record_1
53201
+ 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"]]
53202
+ SQL (0.5ms) 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-05-23 16:12:46.479202"], ["updated_at", "2016-05-23 16:12:46.479202"]]
53203
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.481824"], ["updated_at", "2016-05-23 16:12:46.481824"]]
53204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53205
+  (0.0ms) SAVEPOINT active_record_1
53206
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.483812"], ["updated_at", "2016-05-23 16:12:46.483812"]]
53207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53208
+  (0.0ms) SAVEPOINT active_record_1
53209
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1
53210
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-05-23 16:12:46.486531"], ["updated_at", "2016-05-23 16:12:46.486531"]]
53211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53212
+  (0.0ms) SAVEPOINT active_record_1
53213
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.488066"], ["updated_at", "2016-05-23 16:12:46.488066"]]
53214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53215
+  (0.1ms) SAVEPOINT active_record_1
53216
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1
53217
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-05-23 16:12:46.491261"], ["updated_at", "2016-05-23 16:12:46.491261"]]
53218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53219
+  (0.0ms) SAVEPOINT active_record_1
53220
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.492858"], ["updated_at", "2016-05-23 16:12:46.492858"]]
53221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53222
+  (0.0ms) SAVEPOINT active_record_1
53223
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1
53224
+ SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-05-23 16:12:46.495513"], ["updated_at", "2016-05-23 16:12:46.495513"]]
53225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53226
+  (0.0ms) SAVEPOINT active_record_1
53227
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.496974"], ["updated_at", "2016-05-23 16:12:46.496974"]]
53228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53229
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
53230
+  (0.0ms) SAVEPOINT active_record_1
53231
+ SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-23 16:12:46.499248"], ["id", 2]]
53232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53233
+  (0.0ms) SAVEPOINT active_record_1
53234
+ SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 16:12:46.500731"], ["updated_at", "2016-05-23 16:12:46.500731"]]
53235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53236
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 783dccb8-5277-4db9-83cf-594c9e3b37c0) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53237
+ [ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
53238
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53239
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53240
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] Pulitzer::CloneVersion !!!
53241
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
53242
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53243
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] 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]]
53244
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] 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]]
53245
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.1ms) SAVEPOINT active_record_1
53246
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.488066"], ["updated_at", "2016-05-23 16:12:46.488066"]]
53247
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53248
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) SAVEPOINT active_record_1
53249
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.508842"], ["id", 4]]
53250
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.1ms) RELEASE SAVEPOINT active_record_1
53251
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] 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]]
53252
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.3ms) SAVEPOINT active_record_1
53253
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.492858"], ["updated_at", "2016-05-23 16:12:46.492858"]]
53254
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.1ms) RELEASE SAVEPOINT active_record_1
53255
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) SAVEPOINT active_record_1
53256
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.515342"], ["id", 5]]
53257
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53258
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] 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]]
53259
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) SAVEPOINT active_record_1
53260
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.496974"], ["updated_at", "2016-05-23 16:12:46.496974"]]
53261
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53262
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) SAVEPOINT active_record_1
53263
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.519881"], ["id", 6]]
53264
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53265
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] 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]]
53266
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
53267
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.0ms) SAVEPOINT active_record_1
53268
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 16:12:46.522490"], ["id", 3]]
53269
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0]  (0.1ms) RELEASE SAVEPOINT active_record_1
53270
+ [ActiveJob] [Pulitzer::CloneVersionJob] [783dccb8-5277-4db9-83cf-594c9e3b37c0] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.31ms
53271
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
53272
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53273
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53274
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53275
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
53276
+  (0.1ms) SAVEPOINT active_record_1
53277
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-05-23 16:12:46.529314"], ["id", 3]]
53278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53279
+  (0.0ms) SAVEPOINT active_record_1
53280
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 16:12:46.530886"], ["updated_at", "2016-05-23 16:12:46.530886"]]
53281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53282
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 58dcd69b-d30b-426c-8f68-3940d26362f0) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53283
+ [ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
53284
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53285
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53286
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] Pulitzer::CloneVersion !!!
53287
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
53288
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53289
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] 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]]
53290
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] 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]]
53291
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.1ms) SAVEPOINT active_record_1
53292
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.488066"], ["updated_at", "2016-05-23 16:12:46.488066"]]
53293
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53294
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) SAVEPOINT active_record_1
53295
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-23 16:12:46.538863"], ["id", 7]]
53296
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53297
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] 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]]
53298
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) SAVEPOINT active_record_1
53299
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.492858"], ["updated_at", "2016-05-23 16:12:46.492858"]]
53300
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53301
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) SAVEPOINT active_record_1
53302
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-23 16:12:46.544171"], ["id", 8]]
53303
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53304
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] 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]]
53305
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) SAVEPOINT active_record_1
53306
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.496974"], ["updated_at", "2016-05-23 16:12:46.496974"]]
53307
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53308
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) SAVEPOINT active_record_1
53309
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-23 16:12:46.548858"], ["id", 9]]
53310
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) RELEASE SAVEPOINT active_record_1
53311
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] 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]]
53312
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
53313
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.0ms) SAVEPOINT active_record_1
53314
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 16:12:46.551406"], ["id", 4]]
53315
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
53316
+ [ActiveJob] [Pulitzer::CloneVersionJob] [58dcd69b-d30b-426c-8f68-3940d26362f0] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.6ms
53317
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]]
53318
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53319
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53320
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53321
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]
53322
+  (0.8ms) rollback transaction
53323
+  (0.1ms) begin transaction
53324
+  (0.0ms) commit transaction
53325
+  (0.0ms) begin transaction
53326
+  (0.1ms) SAVEPOINT active_record_1
53327
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.564801"], ["updated_at", "2016-05-23 16:12:46.564801"]]
53328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53329
+  (0.0ms) SAVEPOINT active_record_1
53330
+ 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"]]
53331
+ SQL (0.4ms) 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-05-23 16:12:46.567701"], ["updated_at", "2016-05-23 16:12:46.567701"]]
53332
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.569908"], ["updated_at", "2016-05-23 16:12:46.569908"]]
53333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53334
+  (0.0ms) SAVEPOINT active_record_1
53335
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.572076"], ["updated_at", "2016-05-23 16:12:46.572076"]]
53336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53337
+  (0.1ms) SAVEPOINT active_record_1
53338
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1
53339
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-05-23 16:12:46.575109"], ["updated_at", "2016-05-23 16:12:46.575109"]]
53340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53341
+  (0.0ms) SAVEPOINT active_record_1
53342
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.576945"], ["updated_at", "2016-05-23 16:12:46.576945"]]
53343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53344
+  (0.1ms) SAVEPOINT active_record_1
53345
+ Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1
53346
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-05-23 16:12:46.580901"], ["updated_at", "2016-05-23 16:12:46.580901"]]
53347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53348
+  (0.0ms) SAVEPOINT active_record_1
53349
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.582663"], ["updated_at", "2016-05-23 16:12:46.582663"]]
53350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53351
+  (0.0ms) SAVEPOINT active_record_1
53352
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1
53353
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-05-23 16:12:46.585617"], ["updated_at", "2016-05-23 16:12:46.585617"]]
53354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53355
+  (0.0ms) SAVEPOINT active_record_1
53356
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["title", "Night's Watch"], ["body", "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-05-23 16:12:46.587164"], ["updated_at", "2016-05-23 16:12:46.587164"]]
53357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53358
+ 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", 1]]
53359
+  (0.0ms) SAVEPOINT active_record_1
53360
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-23 16:12:46.589676"], ["id", 2]]
53361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53362
+  (0.0ms) SAVEPOINT active_record_1
53363
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-23 16:12:46.591527"], ["updated_at", "2016-05-23 16:12:46.591527"]]
53364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53365
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: dc402bb8-ff53-4997-92dd-954664037066) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53366
+ [ActiveJob] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
53367
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
53368
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53369
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] Pulitzer::CloneVersion !!!
53370
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
53371
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53372
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] 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]]
53373
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] 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]]
53374
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.2ms) SAVEPOINT active_record_1
53375
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.576945"], ["updated_at", "2016-05-23 16:12:46.576945"]]
53376
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.1ms) RELEASE SAVEPOINT active_record_1
53377
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) SAVEPOINT active_record_1
53378
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.600521"], ["id", 4]]
53379
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) RELEASE SAVEPOINT active_record_1
53380
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] 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]]
53381
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) SAVEPOINT active_record_1
53382
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.582663"], ["updated_at", "2016-05-23 16:12:46.582663"]]
53383
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) RELEASE SAVEPOINT active_record_1
53384
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) SAVEPOINT active_record_1
53385
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.605104"], ["id", 5]]
53386
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.3ms) RELEASE SAVEPOINT active_record_1
53387
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] 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]]
53388
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) SAVEPOINT active_record_1
53389
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["title", "Night's Watch"], ["body", "I pledge 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-05-23 16:12:46.587164"], ["updated_at", "2016-05-23 16:12:46.587164"]]
53390
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.1ms) RELEASE SAVEPOINT active_record_1
53391
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) SAVEPOINT active_record_1
53392
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-23 16:12:46.611181"], ["id", 6]]
53393
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) RELEASE SAVEPOINT active_record_1
53394
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] 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]]
53395
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
53396
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) SAVEPOINT active_record_1
53397
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-23 16:12:46.613723"], ["id", 3]]
53398
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066]  (0.0ms) RELEASE SAVEPOINT active_record_1
53399
+ [ActiveJob] [Pulitzer::CloneVersionJob] [dc402bb8-ff53-4997-92dd-954664037066] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.54ms
53400
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
53401
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53402
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]
53403
+  (0.1ms) SAVEPOINT active_record_1
53404
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-05-23 16:12:46.619505"], ["id", 2]]
53405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53406
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53407
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
53408
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
53409
+ 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]]
53410
+ 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]]
53411
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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]]
53412
+  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
53413
+  (0.7ms) rollback transaction
53414
+  (0.1ms) begin transaction
53415
+  (9.0ms) commit transaction
53416
+  (0.0ms) begin transaction
53417
+  (0.0ms) rollback transaction
53418
+  (0.0ms) begin transaction
53419
+  (0.1ms) commit transaction
53420
+  (0.0ms) begin transaction
53421
+  (0.1ms) SAVEPOINT active_record_1
53422
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1
53423
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-05-23 16:12:46.641502"], ["updated_at", "2016-05-23 16:12:46.641502"]]
53424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53425
+  (0.4ms) rollback transaction
53426
+  (0.1ms) begin transaction
53427
+  (0.0ms) commit transaction
53428
+  (0.0ms) begin transaction
53429
+  (0.0ms) rollback transaction
53430
+  (0.0ms) begin transaction
53431
+  (0.0ms) commit transaction
53432
+  (0.0ms) begin transaction
53433
+  (0.0ms) rollback transaction
53434
+  (0.0ms) begin transaction
53435
+  (0.0ms) commit transaction
53436
+  (0.0ms) begin transaction
53437
+  (0.0ms) rollback transaction
53438
+  (0.0ms) begin transaction
53439
+  (0.0ms) commit transaction
53440
+  (0.0ms) begin transaction
53441
+  (0.0ms) rollback transaction
53442
+  (0.0ms) begin transaction
53443
+  (0.0ms) commit transaction
53444
+  (0.0ms) begin transaction
53445
+  (0.0ms) SAVEPOINT active_record_1
53446
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1
53447
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-05-23 16:12:46.653180"], ["updated_at", "2016-05-23 16:12:46.653180"]]
53448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53449
+  (0.4ms) rollback transaction
53450
+  (0.1ms) begin transaction
53451
+  (0.0ms) commit transaction
53452
+  (0.0ms) begin transaction
53453
+  (0.0ms) SAVEPOINT active_record_1
53454
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1
53455
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-05-23 16:12:46.659336"], ["updated_at", "2016-05-23 16:12:46.659336"]]
53456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53457
+  (0.5ms) rollback transaction
53458
+  (0.1ms) begin transaction
53459
+  (0.0ms) commit transaction
53460
+  (0.0ms) begin transaction
53461
+  (0.1ms) SAVEPOINT active_record_1
53462
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1
53463
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-05-23 16:12:46.666178"], ["updated_at", "2016-05-23 16:12:46.666178"]]
53464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53465
+  (0.3ms) rollback transaction
53466
+  (0.1ms) begin transaction
53467
+  (0.0ms) commit transaction
53468
+  (0.0ms) begin transaction
53469
+  (0.0ms) SAVEPOINT active_record_1
53470
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
53471
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-23 16:12:46.672259"], ["updated_at", "2016-05-23 16:12:46.672259"]]
53472
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53473
+  (0.1ms) SAVEPOINT active_record_1
53474
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-05-23 16:12:46.675090"], ["updated_at", "2016-05-23 16:12:46.675090"]]
53475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53476
+  (0.5ms) rollback transaction
53477
+  (0.1ms) begin transaction
53478
+  (0.0ms) commit transaction
53479
+  (0.0ms) begin transaction
53480
+  (0.0ms) SAVEPOINT active_record_1
53481
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
53482
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-23 16:12:46.681981"], ["updated_at", "2016-05-23 16:12:46.681981"]]
53483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53484
+  (0.0ms) SAVEPOINT active_record_1
53485
+ SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-05-23 16:12:46.683912"], ["updated_at", "2016-05-23 16:12:46.683912"]]
53486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53487
+  (0.5ms) rollback transaction
53488
+  (0.1ms) begin transaction
53489
+  (0.0ms) commit transaction
53490
+  (0.0ms) begin transaction
53491
+  (0.1ms) SAVEPOINT active_record_1
53492
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1
53493
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-05-23 16:12:46.690245"], ["updated_at", "2016-05-23 16:12:46.690245"]]
53494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53495
+  (0.3ms) rollback transaction
53496
+  (0.0ms) begin transaction
53497
+  (0.0ms) commit transaction
53498
+  (0.0ms) begin transaction
53499
+  (0.1ms) SAVEPOINT active_record_1
53500
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1
53501
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-05-23 16:12:46.695735"], ["updated_at", "2016-05-23 16:12:46.695735"]]
53502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53503
+  (0.3ms) rollback transaction
53504
+  (0.1ms) begin transaction
53505
+  (0.1ms) commit transaction
53506
+  (0.0ms) begin transaction
53507
+  (0.0ms) SAVEPOINT active_record_1
53508
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
53509
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-05-23 16:12:46.702055"], ["updated_at", "2016-05-23 16:12:46.702055"]]
53510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53511
+  (0.5ms) rollback transaction
53512
+  (0.1ms) begin transaction
53513
+  (0.1ms) commit transaction
53514
+  (0.1ms) begin transaction
53515
+  (0.1ms) SAVEPOINT active_record_1
53516
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.867208"], ["updated_at", "2016-05-23 16:12:46.867208"]]
53517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53518
+ 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"]]
53519
+  (0.4ms) rollback transaction
53520
+  (0.1ms) begin transaction
53521
+  (0.1ms) commit transaction
53522
+  (0.0ms) begin transaction
53523
+  (0.1ms) rollback transaction
53524
+  (0.1ms) begin transaction
53525
+  (0.0ms) commit transaction
53526
+  (0.0ms) begin transaction
53527
+  (0.1ms) rollback transaction
53528
+  (0.1ms) begin transaction
53529
+  (0.1ms) commit transaction
53530
+  (0.0ms) begin transaction
53531
+  (0.1ms) SAVEPOINT active_record_1
53532
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.889145"], ["updated_at", "2016-05-23 16:12:46.889145"]]
53533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53534
+  (0.1ms) SAVEPOINT active_record_1
53535
+ 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-9"]]
53536
+ SQL (0.5ms) 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-05-23 16:12:46.894731"], ["updated_at", "2016-05-23 16:12:46.894731"]]
53537
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.897639"], ["updated_at", "2016-05-23 16:12:46.897639"]]
53538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53539
+  (0.8ms) rollback transaction
53540
+  (0.2ms) begin transaction
53541
+  (0.0ms) commit transaction
53542
+  (0.0ms) begin transaction
53543
+  (0.1ms) SAVEPOINT active_record_1
53544
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.903539"], ["updated_at", "2016-05-23 16:12:46.903539"]]
53545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53546
+  (0.1ms) SAVEPOINT active_record_1
53547
+ 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"]]
53548
+ SQL (0.3ms) 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-05-23 16:12:46.909410"], ["updated_at", "2016-05-23 16:12:46.909410"]]
53549
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.911512"], ["updated_at", "2016-05-23 16:12:46.911512"]]
53550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53551
+  (0.0ms) SAVEPOINT active_record_1
53552
+ Pulitzer::Post Exists (0.2ms) 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"]]
53553
+ SQL (0.4ms) 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-05-23 16:12:46.916012"], ["id", 1]]
53554
+  (0.2ms) RELEASE SAVEPOINT active_record_1
53555
+  (0.8ms) rollback transaction
53556
+  (0.1ms) begin transaction
53557
+  (0.0ms) commit transaction
53558
+  (0.0ms) begin transaction
53559
+  (0.6ms) SAVEPOINT active_record_1
53560
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1
53561
+ SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-05-23 16:12:46.933257"], ["updated_at", "2016-05-23 16:12:46.933257"]]
53562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53563
+  (0.1ms) SAVEPOINT active_record_1
53564
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.938984"], ["updated_at", "2016-05-23 16:12:46.938984"]]
53565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53566
+  (0.0ms) SAVEPOINT active_record_1
53567
+ 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"]]
53568
+ 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-05-23 16:12:46.942913"], ["updated_at", "2016-05-23 16:12:46.942913"]]
53569
+ SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.945769"], ["updated_at", "2016-05-23 16:12:46.945769"]]
53570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53571
+  (0.0ms) SAVEPOINT active_record_1
53572
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:46.949537"], ["updated_at", "2016-05-23 16:12:46.949537"]]
53573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53574
+  (0.6ms) rollback transaction
53575
+  (0.1ms) begin transaction
53576
+  (0.0ms) commit transaction
53577
+  (0.0ms) begin transaction
53578
+  (0.1ms) rollback transaction
53579
+  (0.1ms) begin transaction
53580
+  (0.0ms) commit transaction
53581
+  (0.0ms) begin transaction
53582
+  (0.1ms) rollback transaction
53583
+  (0.1ms) begin transaction
53584
+  (0.0ms) commit transaction
53585
+  (0.0ms) begin transaction
53586
+  (0.1ms) rollback transaction
53587
+  (0.1ms) begin transaction
53588
+  (0.0ms) commit transaction
53589
+  (0.0ms) begin transaction
53590
+  (0.0ms) rollback transaction
53591
+  (0.0ms) begin transaction
53592
+  (0.0ms) commit transaction
53593
+  (0.0ms) begin transaction
53594
+  (0.0ms) rollback transaction
53595
+  (0.1ms) begin transaction
53596
+  (0.0ms) commit transaction
53597
+  (0.0ms) begin transaction
53598
+  (0.0ms) SAVEPOINT active_record_1
53599
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:46.974316"], ["updated_at", "2016-05-23 16:12:46.974316"]]
53600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53601
+  (0.1ms) SAVEPOINT active_record_1
53602
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1
53603
+ SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-05-23 16:12:46.978247"], ["updated_at", "2016-05-23 16:12:46.978247"]]
53604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53605
+  (0.7ms) rollback transaction
53606
+  (0.1ms) begin transaction
53607
+  (0.0ms) commit transaction
53608
+  (0.0ms) begin transaction
53609
+  (0.1ms) rollback transaction
53610
+  (0.1ms) begin transaction
53611
+  (0.0ms) commit transaction
53612
+  (0.0ms) begin transaction
53613
+  (0.0ms) rollback transaction
53614
+  (0.1ms) begin transaction
53615
+  (0.0ms) commit transaction
53616
+  (0.0ms) begin transaction
53617
+  (0.0ms) rollback transaction
53618
+  (0.0ms) begin transaction
53619
+  (0.0ms) commit transaction
53620
+  (0.0ms) begin transaction
53621
+  (0.1ms) rollback transaction
53622
+  (0.1ms) begin transaction
53623
+  (0.0ms) commit transaction
53624
+  (0.0ms) begin transaction
53625
+  (0.0ms) rollback transaction
53626
+  (0.1ms) begin transaction
53627
+  (0.0ms) commit transaction
53628
+  (0.1ms) begin transaction
53629
+  (0.1ms) rollback transaction
53630
+  (0.1ms) begin transaction
53631
+  (0.0ms) commit transaction
53632
+  (0.0ms) begin transaction
53633
+  (0.1ms) rollback transaction
53634
+  (0.1ms) begin transaction
53635
+  (0.0ms) commit transaction
53636
+  (0.2ms) begin transaction
53637
+  (0.1ms) rollback transaction
53638
+  (0.1ms) begin transaction
53639
+  (0.1ms) commit transaction
53640
+  (0.0ms) begin transaction
53641
+  (0.1ms) rollback transaction
53642
+  (0.1ms) begin transaction
53643
+  (0.0ms) commit transaction
53644
+  (0.0ms) begin transaction
53645
+  (0.1ms) rollback transaction
53646
+  (0.1ms) begin transaction
53647
+  (0.1ms) commit transaction
53648
+  (0.0ms) begin transaction
53649
+  (0.1ms) rollback transaction
53650
+  (0.1ms) begin transaction
53651
+  (0.0ms) commit transaction
53652
+  (0.0ms) begin transaction
53653
+ Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
53654
+  (0.1ms) rollback transaction
53655
+  (0.1ms) begin transaction
53656
+  (0.0ms) commit transaction
53657
+  (0.0ms) begin transaction
53658
+ Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1
53659
+  (0.0ms) rollback transaction
53660
+  (0.0ms) begin transaction
53661
+  (0.0ms) commit transaction
53662
+  (0.0ms) begin transaction
53663
+ Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
53664
+  (1.5ms) SAVEPOINT active_record_1
53665
+ SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-05-23 16:12:47.033628"], ["updated_at", "2016-05-23 16:12:47.033628"]]
53666
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53667
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
53668
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1
53669
+  (0.6ms) rollback transaction
53670
+  (0.1ms) begin transaction
53671
+  (0.1ms) commit transaction
53672
+  (0.1ms) begin transaction
53673
+  (0.1ms) rollback transaction
53674
+  (0.1ms) begin transaction
53675
+  (0.0ms) commit transaction
53676
+  (0.0ms) begin transaction
53677
+  (0.1ms) rollback transaction
53678
+  (0.1ms) begin transaction
53679
+  (0.0ms) commit transaction
53680
+  (0.1ms) begin transaction
53681
+  (0.0ms) SAVEPOINT active_record_1
53682
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:47.053349"], ["updated_at", "2016-05-23 16:12:47.053349"]]
53683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53684
+  (0.1ms) SAVEPOINT active_record_1
53685
+ 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"]]
53686
+ SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 12"], ["post_type_id", 1], ["slug", "winterfell-news-12"], ["created_at", "2016-05-23 16:12:47.056321"], ["updated_at", "2016-05-23 16:12:47.056321"]]
53687
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:47.060478"], ["updated_at", "2016-05-23 16:12:47.060478"]]
53688
+  (0.2ms) RELEASE SAVEPOINT active_record_1
53689
+  (0.6ms) rollback transaction
53690
+  (0.1ms) begin transaction
53691
+  (0.0ms) commit transaction
53692
+  (0.0ms) begin transaction
53693
+  (0.1ms) rollback transaction
53694
+  (0.1ms) begin transaction
53695
+  (0.0ms) commit transaction
53696
+  (0.0ms) begin transaction
53697
+  (0.1ms) rollback transaction
53698
+  (0.1ms) begin transaction
53699
+  (0.0ms) commit transaction
53700
+  (0.0ms) begin transaction
53701
+  (0.0ms) rollback transaction
53702
+  (0.1ms) begin transaction
53703
+  (0.0ms) commit transaction
53704
+  (0.0ms) begin transaction
53705
+  (0.1ms) rollback transaction
53706
+  (0.1ms) begin transaction
53707
+  (0.0ms) commit transaction
53708
+  (0.0ms) begin transaction
53709
+  (0.0ms) rollback transaction
53710
+  (0.0ms) begin transaction
53711
+  (0.0ms) commit transaction
53712
+  (0.1ms) begin transaction
53713
+  (0.0ms) rollback transaction
53714
+  (0.0ms) begin transaction
53715
+  (0.0ms) commit transaction
53716
+  (0.0ms) begin transaction
53717
+  (0.0ms) SAVEPOINT active_record_1
53718
+ Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1
53719
+ SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-05-23 16:12:47.084882"], ["updated_at", "2016-05-23 16:12:47.084882"]]
53720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53721
+  (0.0ms) SAVEPOINT active_record_1
53722
+ SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-23 16:12:47.088069"], ["updated_at", "2016-05-23 16:12:47.088069"]]
53723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53724
+  (0.0ms) SAVEPOINT active_record_1
53725
+ 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"]]
53726
+ 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-05-23 16:12:47.092240"], ["updated_at", "2016-05-23 16:12:47.092240"]]
53727
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:47.093950"], ["updated_at", "2016-05-23 16:12:47.093950"]]
53728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53729
+  (0.0ms) SAVEPOINT active_record_1
53730
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-23 16:12:47.095505"], ["updated_at", "2016-05-23 16:12:47.095505"]]
53731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53732
+  (0.0ms) SAVEPOINT active_record_1
53733
+ 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-05-23 16:12:47.098201"], ["updated_at", "2016-05-23 16:12:47.098201"]]
53734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
53735
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
53736
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_post_tags"."label_id" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"], ["label_id", 1]]
53737
+ 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", 2], ["label_type", "Pulitzer::Tag"]]
53738
+ Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
53739
+  (0.8ms) rollback transaction