pulitzer 0.13.1 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/pulitzer.scss +28 -2
  3. data/app/controllers/pulitzer/content_elements_controller.rb +6 -2
  4. data/app/controllers/pulitzer/custom_option_lists_controller.rb +55 -0
  5. data/app/controllers/pulitzer/custom_options_controller.rb +55 -0
  6. data/app/controllers/pulitzer/partial_types_controller.rb +0 -11
  7. data/app/controllers/pulitzer/posts_controller.rb +5 -6
  8. data/app/controllers/pulitzer/styles_controller.rb +42 -0
  9. data/app/helpers/pulitzer/posts_helper.rb +15 -4
  10. data/app/interactions/pulitzer/content_elements_controller/update.rb +21 -0
  11. data/app/models/pulitzer/content_element.rb +63 -8
  12. data/app/models/pulitzer/content_element_type.rb +6 -1
  13. data/app/models/pulitzer/custom_option.rb +6 -0
  14. data/app/models/pulitzer/custom_option_list.rb +10 -0
  15. data/app/models/pulitzer/post_type_content_element_type.rb +58 -2
  16. data/app/models/pulitzer/style.rb +11 -0
  17. data/app/views/pulitzer/content_elements/_clickable_fields.html.erb +31 -0
  18. data/app/views/pulitzer/content_elements/_form.html.erb +1 -3
  19. data/app/views/pulitzer/content_elements/_partial_index.html.erb +1 -1
  20. data/app/views/pulitzer/content_elements/_show.html.erb +11 -20
  21. data/app/views/pulitzer/custom_option_lists/_edit.html.erb +10 -0
  22. data/app/views/pulitzer/custom_option_lists/_index.html.erb +12 -0
  23. data/app/views/pulitzer/custom_option_lists/_new.html.erb +9 -0
  24. data/app/views/pulitzer/custom_option_lists/_show.html.erb +11 -0
  25. data/app/views/pulitzer/custom_option_lists/_show_wrapper.html.erb +3 -0
  26. data/app/views/pulitzer/custom_options/_edit.html.erb +10 -0
  27. data/app/views/pulitzer/custom_options/_fields.html.erb +2 -0
  28. data/app/views/pulitzer/custom_options/_index.html.erb +20 -0
  29. data/app/views/pulitzer/custom_options/_new.html.erb +10 -0
  30. data/app/views/pulitzer/custom_options/_show.html.erb +5 -0
  31. data/app/views/pulitzer/custom_options/_show_wrapper.html.erb +3 -0
  32. data/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb +1 -1
  33. data/app/views/pulitzer/partial_types/_index.html.erb +1 -1
  34. data/app/views/pulitzer/partials/_index.html.erb +4 -4
  35. data/app/views/pulitzer/partials/_new.html.erb +1 -1
  36. data/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb +4 -0
  37. data/app/views/pulitzer/post_type_content_element_types/_show.html.erb +13 -5
  38. data/app/views/pulitzer/post_types/_template.html.erb +5 -4
  39. data/app/views/pulitzer/post_types/index.html.erb +26 -12
  40. data/app/views/pulitzer/posts/{index.html.erb → _index.html.erb} +0 -0
  41. data/app/views/pulitzer/styles/_index.html.erb +10 -0
  42. data/app/views/pulitzer/styles/_new.html.erb +29 -0
  43. data/app/views/pulitzer/styles/_show.html.erb +15 -0
  44. data/app/views/pulitzer/styles/_show_wrapper.html.erb +3 -0
  45. data/config/routes.rb +4 -0
  46. data/lib/pulitzer/content_element_helper.rb +22 -4
  47. data/lib/pulitzer/version.rb +1 -1
  48. data/spec/controllers/pages_controller_spec.rb +16 -0
  49. data/spec/dummy/app/controllers/pages_controller.rb +7 -0
  50. data/spec/dummy/app/controllers/pulitzer_preview/pages_controller.rb +16 -0
  51. data/spec/dummy/app/views/pages/welcome.html.erb +27 -0
  52. data/spec/dummy/app/views/pulitzer/welcome.html.erb +27 -0
  53. data/spec/dummy/config/initializers/zz_pulitzer.rb +1 -0
  54. data/spec/dummy/config/routes.rb +2 -0
  55. data/spec/dummy/db/development.sqlite3 +0 -0
  56. data/spec/dummy/db/test.sqlite3 +0 -0
  57. data/spec/dummy/log/development.log +198 -0
  58. data/spec/dummy/log/test.log +1733 -0
  59. metadata +34 -6
  60. data/app/interactions/pulitzer/update_free_form_section_partials.rb +0 -18
  61. data/app/models/pulitzer/layout.rb +0 -11
  62. data/app/views/pulitzer/partial_types/_form.html.erb +0 -21
@@ -1,20 +1,34 @@
1
1
  <div <%= tab_set("tab", type: :ajax, default_tab: params[:tab] || 'templates') %>>
2
- <div class="pulitzer-pill"
3
- href="<%= tags_path %>"
4
- <%= tab_trigger('tags')%>>
5
- Tags
6
- </div>
2
+ <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
3
+ <div class="pulitzer-pill"
4
+ href="<%= tags_path %>"
5
+ <%= tab_trigger('tags')%>>
6
+ Tags
7
+ </div>
8
+ <% end %>
7
9
  <div class="pulitzer-pill"
8
10
  href="<%= post_types_path(post_type_kind: 'template') %>"
9
11
  <%= tab_trigger('templates')%>>
10
12
  Full Page Templates
11
13
  </div>
12
- <div class="pulitzer-pill"
13
- href="<%= post_types_path(post_type_kind: 'partial') %>"
14
- <%= tab_trigger('partials')%>>
15
- Partials
16
- </div>
14
+ <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
15
+ <div class="pulitzer-pill"
16
+ href="<%= post_types_path(post_type_kind: 'partial') %>"
17
+ <%= tab_trigger('partials')%>>
18
+ Partials
19
+ </div>
20
+ <div class="pulitzer-pill"
21
+ href="<%= custom_option_lists_path %>"
22
+ <%= tab_trigger('options')%>>
23
+ Clickable Options
24
+ </div>
25
+ <% end %>
17
26
  </div>
18
- <div class="pulitzer-row" <%= tab_content('tags') %>></div>
27
+ <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
28
+ <div class="pulitzer-row" <%= tab_content('tags') %>></div>
29
+ <% end %>
19
30
  <div class="pulitzer-row" <%= tab_content('templates') %>></div>
20
- <div class="pulitzer-row" <%= tab_content('partials') %>></div>
31
+ <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
32
+ <div class="pulitzer-row" <%= tab_content('partials') %>></div>
33
+ <div class="pulitzer-row" <%= tab_content('options') %>></div>
34
+ <% end %>
@@ -0,0 +1,10 @@
1
+ <div id="<%= dom_id ptcet, :styles_list %>" >
2
+ <% @ptcet.styles.each do |style| %>
3
+ <%= render partial: '/pulitzer/styles/show_wrapper', locals: { style: style } %>
4
+ <% end %>
5
+ </div>
6
+
7
+ <div class="pulitzer-row margin-bottom">
8
+ <%= ajax_link "add a new style for #{ptcet.label}", new_style_path(style: {post_type_content_element_type_id: @ptcet.id}), {}, dom_target(ptcet, :new_style) %>
9
+ <div id="<%= dom_id(@ptcet, :new_style) %>"></div>
10
+ </div>
@@ -0,0 +1,29 @@
1
+
2
+ <%= render 'pulitzer/shared/error_messages', object: style %>&nbsp;
3
+ <%= form_for style, html: ajax_form_hash(dom_target(style.post_type_content_element_type, :styles_list), insert_method: 'append', empty_on_success: dom_target(style.post_type_content_element_type, :new_style)) do |f| %>
4
+ <%= f.hidden_field :post_type_content_element_type_id %>
5
+ <div class="pulitzer-span one-fifth">
6
+ <div class="pulitzer-row">
7
+ <span class="pulitzer-span heading">
8
+ display name &nbsp;
9
+ </span>
10
+ <span class="pulitzer-span one-half">
11
+ <%= f.text_field :display_name %>
12
+ </span>
13
+ </div>
14
+ </div>
15
+ <div class="pulitzer-span">
16
+ <div class="pulitzer-row">
17
+ <span class="pulitzer-span heading">
18
+ css class name &nbsp;
19
+ </span>
20
+ <span class="pulitzer-span one-half">
21
+ <%= f.text_field :css_class_name %>
22
+ </span>
23
+ </div>
24
+ </div>
25
+ <div class="pulitzer-span one-fifth">
26
+ <%= submit_tag "Create" %>
27
+ </div>
28
+ <% end %>
29
+ <a class="button" data-emptier="true" data-target="<%= dom_target(style.post_type_content_element_type, :new_style) %>">Close</a>
@@ -0,0 +1,15 @@
1
+ <div class="pulitzer-span one-fifth empty padding">&nbsp;</div>
2
+ <div class="pulitzer-span one-fifth empty margin">
3
+ <% if style.first? %>
4
+ <a data-emptier="true" data-target="<%= dom_target(style.post_type_content_element_type, :styles_container) %>">close styles</a>
5
+ <% else %>
6
+ &nbsp;
7
+ <% end %>
8
+ </div>
9
+ <div class="pulitzer-span two-fifths margin">
10
+ <div class="pulitzer-row">
11
+ <div class="pulitzer-span"><%= style.display_name %> (<%= style.css_class_name %>)</div>
12
+ <div class="pulitzer-span right"><%= ajax_delete 'ⓧ', style_path(style), {}, dom_target(style) %></div>
13
+ </div>
14
+ </div>
15
+ <div class="pulitzer-span one-fifth empty padding">&nbsp;</div>
@@ -0,0 +1,3 @@
1
+ <div class="pulitzer-row" id="<%= dom_id(style) %>">
2
+ <%= render partial: '/pulitzer/styles/show', locals: { style: style } %>
3
+ </div>
data/config/routes.rb CHANGED
@@ -19,6 +19,9 @@ Pulitzer::Engine.routes.draw do
19
19
  end
20
20
 
21
21
  resources :tags
22
+ resources :custom_option_lists
23
+ resources :custom_options
24
+
22
25
  resources :post_types do
23
26
  member do
24
27
  get :template
@@ -28,6 +31,7 @@ Pulitzer::Engine.routes.draw do
28
31
  resources :versions
29
32
  resources :content_element_types
30
33
  resources :post_type_content_element_types
34
+ resources :styles
31
35
  resources :free_form_section_types
32
36
  resources :partial_types do
33
37
  collection do
@@ -7,15 +7,17 @@ module Pulitzer
7
7
 
8
8
  def render_cms_element(element,options = {})
9
9
  if element.image_type?
10
- render_image(element,options)
10
+ render_image_element(element,options)
11
11
  elsif element.video_type?
12
- render_video(element,options)
12
+ render_video_element(element,options)
13
+ elsif element.clickable_type?
14
+ render_clickable_element(element,options)
13
15
  else
14
16
  render_body(element,options)
15
17
  end
16
18
  end
17
19
 
18
- def render_image(element,options = {})
20
+ def render_image_element(element,options = {})
19
21
  if element.image?
20
22
  pulitzer_options = {'data-pulitzer-element' => element.id}
21
23
  if options.is_a? Hash
@@ -37,7 +39,23 @@ module Pulitzer
37
39
  element.image_url(:cms)
38
40
  end
39
41
 
40
- def render_video(element, options = {})
42
+ def render_clickable_element(element, options = {})
43
+ if element.custom_type?
44
+ render_button(element, options)
45
+ else
46
+ render_link(element, options)
47
+ end
48
+ end
49
+
50
+ def render_link(element,options = {})
51
+ content_tag(:a, element.title, options.merge(href: element.content, class: element.style.css_class_name))
52
+ end
53
+
54
+ def render_button(element,options = {})
55
+ content_tag(:button, element.title, options.merge('data-pulitzer-action' => element.content, class: element.style.css_class_name))
56
+ end
57
+
58
+ def render_video_element(element, options = {})
41
59
  content_tag(:iframe, nil, options.merge(src: element.video_link)) if element.video_link
42
60
  end
43
61
 
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.13.1'
2
+ VERSION = '0.14.0'
3
3
  end
@@ -0,0 +1,16 @@
1
+ require 'rails_helper'
2
+
3
+ describe PagesController do
4
+ describe "#welcome", type: :request do
5
+
6
+ it "renders the welcome page" do
7
+ version = Pulitzer::PostType.named('Welcome').posts.find_by!(slug: 'welcome').get_active_version!
8
+ ffs = version.free_form_sections.find_by name: 'Main Content'
9
+ partial_type = Pulitzer::PostType.create(name: 'partial with no display', kind: Pulitzer::PostType.kinds[:partial], plural: false)
10
+ ffs.partials.create(post_type_id: partial_type.id)
11
+ get welcome_path slug: 'welcome'
12
+ expect(response.status).to eq 200
13
+ end
14
+
15
+ end
16
+ end
@@ -6,4 +6,11 @@ class PagesController < ApplicationController
6
6
  def news_posts
7
7
  @pulitzer_posts = Pulitzer::PostType.named('News articles').posts
8
8
  end
9
+
10
+ #Pulitzer Generated Actions
11
+
12
+ def welcome
13
+ @post = Pulitzer::PostType.named('Welcome').posts.find_by!(slug: params[:slug]).get_active_version!
14
+ end
15
+
9
16
  end
@@ -0,0 +1,16 @@
1
+ class PagesController < ApplicationController
2
+ def about_us
3
+ @pulitzer_post = Pulitzer::PostType.named('About us').singleton_post.get_preview_version!
4
+ end
5
+
6
+ def news_posts
7
+ @pulitzer_posts = Pulitzer::PostType.named('News articles').posts.get_preview_version!
8
+ end
9
+
10
+ #Pulitzer Generated Actions
11
+
12
+ def welcome
13
+ @post = Pulitzer::PostType.named('Welcome').posts.find_by!(slug: params[:slug]).get_preview_version!
14
+ end
15
+
16
+ end
@@ -0,0 +1,27 @@
1
+ <%# BEGIN Auto-generated by Pulitzer %>
2
+
3
+ <%= render_cms_element @post.content_element('Hero Title 1') %>
4
+
5
+ <%= render_cms_element @post.content_element('Hero Title 2') %>
6
+
7
+ <%= render_cms_element @post.content_element('Hero Title 3') %>
8
+
9
+ <%= render_cms_element @post.content_element('Guest Title') %>
10
+
11
+ <%= render_cms_element @post.content_element('Guest Text') %>
12
+
13
+ <%= render_cms_element @post.content_element('Footer Title') %>
14
+
15
+ <%= render_cms_element @post.content_element('Footer Text') %>
16
+
17
+ <%= render_cms_element @post.content_element('Metadata title') %>
18
+
19
+ <%= render_cms_element @post.content_element('Metadata description') %>
20
+
21
+ <%= render_cms_element @post.content_element('Metadata keywords') %>
22
+
23
+ <%= render_cms_section(@post, 'Main Content') %>
24
+
25
+ <%= render_cms_section(@post, 'Handpicked Homes') %>
26
+
27
+ <%# END Auto-generated by Pulitzer %>
@@ -0,0 +1,27 @@
1
+ <%# BEGIN Auto-generated by Pulitzer %>
2
+
3
+ <%= render_cms_element @post.content_element('Hero Title 1') %>
4
+
5
+ <%= render_cms_element @post.content_element('Hero Title 2') %>
6
+
7
+ <%= render_cms_element @post.content_element('Hero Title 3') %>
8
+
9
+ <%= render_cms_element @post.content_element('Guest Title') %>
10
+
11
+ <%= render_cms_element @post.content_element('Guest Text') %>
12
+
13
+ <%= render_cms_element @post.content_element('Footer Title') %>
14
+
15
+ <%= render_cms_element @post.content_element('Footer Text') %>
16
+
17
+ <%= render_cms_element @post.content_element('Metadata title') %>
18
+
19
+ <%= render_cms_element @post.content_element('Metadata description') %>
20
+
21
+ <%= render_cms_element @post.content_element('Metadata keywords') %>
22
+
23
+ <%= render_cms_section(@post, 'Main Content') %>
24
+
25
+ <%= render_cms_section(@post, 'Handpicked Homes') %>
26
+
27
+ <%# END Auto-generated by Pulitzer %>
@@ -1,5 +1,6 @@
1
1
  Pulitzer.config({
2
2
  base_controller_name: '::ApplicationController',
3
+ public_controller: 'pages',
3
4
  authentication: Proc.new { true },
4
5
  metadata_authorization: Proc.new { true },
5
6
  unpublish_authorization: Proc.new { false },
@@ -1,10 +1,12 @@
1
1
  Rails.application.routes.draw do
2
+ get 'welcome/:slug' => 'pages#welcome', as: 'welcome'
2
3
  mount Pulitzer::Engine => "/pulitzer"
3
4
  root to: 'pages#news_posts'
4
5
  get '/about-us', to: 'pages#about_us'
5
6
  get '/news-posts', to: 'pages#news_posts'
6
7
 
7
8
  namespace :pulitzer_preview do
9
+ get 'welcome/:slug' => 'pages#welcome', as: 'welcome'
8
10
  get '/about-us', to: 'pages#about_us', as: 'about_us'
9
11
  end
10
12
  end
Binary file
Binary file
@@ -835,3 +835,201 @@ Migrating to CreatePulitzerPartialTypes (20170508145431)
835
835
  FROM sqlite_temp_master
836
836
  WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
837
837
  
838
+ Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
839
+  (0.1ms) begin transaction
840
+ SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-23 18:19:17 UTC], ["updated_at", 2017-05-23 18:19:17 UTC], ["plural", true]]
841
+  (0.8ms) commit transaction
842
+  (0.0ms) begin transaction
843
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
844
+  (0.1ms) rollback transaction
845
+  (0.1ms) begin transaction
846
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]
847
+  (0.2ms) rollback transaction
848
+  (0.1ms) begin transaction
849
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]
850
+  (0.1ms) rollback transaction
851
+  (0.0ms) begin transaction
852
+ Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_id", 1]]
853
+ 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]]
854
+ SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Hero Title 1"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 1]]
855
+  (0.8ms) commit transaction
856
+  (0.1ms) begin transaction
857
+ SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Hero Title 2"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 2]]
858
+  (0.7ms) commit transaction
859
+  (0.1ms) begin transaction
860
+ SQL (0.9ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Hero Title 3"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 3]]
861
+  (1.2ms) commit transaction
862
+  (0.2ms) begin transaction
863
+ SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Guest Title"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 4]]
864
+  (0.7ms) commit transaction
865
+  (0.1ms) begin transaction
866
+ SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Guest Text"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 5]]
867
+  (0.8ms) commit transaction
868
+  (0.1ms) begin transaction
869
+ SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Footer Title"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 6]]
870
+  (0.7ms) commit transaction
871
+  (0.1ms) begin transaction
872
+ SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Footer Text"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 7]]
873
+  (0.7ms) commit transaction
874
+  (0.1ms) begin transaction
875
+ SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Metadata title"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 8]]
876
+  (0.8ms) commit transaction
877
+  (0.1ms) begin transaction
878
+ SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Metadata description"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 9]]
879
+  (0.7ms) commit transaction
880
+  (0.0ms) begin transaction
881
+ SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Metadata keywords"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 10]]
882
+  (0.7ms) commit transaction
883
+  (0.1ms) begin transaction
884
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]
885
+  (0.9ms) commit transaction
886
+  (0.1ms) begin transaction
887
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]
888
+  (0.7ms) commit transaction
889
+  (0.1ms) begin transaction
890
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]]
891
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]]
892
+ SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "welcome"]]
893
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
894
+  (1.5ms) commit transaction
895
+ Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
896
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
897
+  (0.0ms) begin transaction
898
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
899
+  (0.8ms) commit transaction
900
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
901
+  (0.1ms) begin transaction
902
+ SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
903
+  (0.7ms) commit transaction
904
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
905
+  (0.1ms) begin transaction
906
+ SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
907
+  (0.7ms) commit transaction
908
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
909
+  (0.1ms) begin transaction
910
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
911
+  (0.8ms) commit transaction
912
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
913
+  (0.1ms) begin transaction
914
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
915
+  (0.9ms) commit transaction
916
+ Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
917
+  (0.1ms) begin transaction
918
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
919
+  (0.8ms) commit transaction
920
+ Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
921
+  (0.1ms) begin transaction
922
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
923
+  (0.8ms) commit transaction
924
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
925
+  (0.1ms) begin transaction
926
+ SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
927
+  (1.4ms) commit transaction
928
+ Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
929
+  (0.1ms) begin transaction
930
+ SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
931
+  (0.7ms) commit transaction
932
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
933
+  (0.1ms) begin transaction
934
+ SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
935
+  (0.7ms) commit transaction
936
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
937
+  (0.1ms) begin transaction
938
+ SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]
939
+  (0.8ms) commit transaction
940
+ 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
941
+  (0.1ms) begin transaction
942
+ SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]
943
+  (0.7ms) commit transaction
944
+  (0.1ms) begin transaction
945
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]
946
+  (0.8ms) commit transaction
947
+  (0.1ms) begin transaction
948
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]]
949
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]]
950
+ SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "complete-guide-to-breckenridge"]]
951
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
952
+  (1.7ms) commit transaction
953
+  (0.1ms) begin transaction
954
+ SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]
955
+  (0.8ms) commit transaction
956
+  (0.1ms) begin transaction
957
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]]
958
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]]
959
+ SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "ski-jump-competition"]]
960
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
961
+  (0.8ms) commit transaction
962
+  (0.1ms) begin transaction
963
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]
964
+  (0.7ms) commit transaction
965
+  (0.1ms) begin transaction
966
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]]
967
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]]
968
+ SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "why-visit-breckenridge"]]
969
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
970
+  (0.8ms) commit transaction
971
+ Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]]
972
+ Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
973
+ Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]
974
+  (0.1ms) begin transaction
975
+ SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 1]]
976
+  (0.7ms) commit transaction
977
+ Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 1], ["label_type", "Pulitzer::Tag"]]
978
+  (0.0ms) begin transaction
979
+ SQL (0.5ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
980
+  (0.9ms) commit transaction
981
+ [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7f59cbe8-cae9-47ab-83e1-eddbc8921397) to Async(default) with arguments: #<GlobalID:0x007f852ae6f148 @uri=#<URI::GID gid://dummy/Pulitzer::Version/1>>
982
+ Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
983
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
984
+ [ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Performing Pulitzer::CloneVersionJob from Async(default) with arguments: #<GlobalID:0x007f85278e6440 @uri=#<URI::GID gid://dummy/Pulitzer::Version/1>>
985
+ Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
986
+ [ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
987
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]
988
+ [ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::CloneVersion !!!
989
+ Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
990
+ [ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] bin/rails
991
+  (0.1ms) begin transaction
992
+ [ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]]
993
+ SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 1]]
994
+ [ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
995
+  (0.8ms) commit transaction
996
+ [ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Performed Pulitzer::CloneVersionJob from Async(default) in 16.83ms
997
+  (0.1ms) begin transaction
998
+ SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 2]]
999
+  (0.8ms) commit transaction
1000
+  (0.1ms) begin transaction
1001
+ SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 3]]
1002
+  (0.8ms) commit transaction
1003
+  (0.1ms) begin transaction
1004
+ SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 4]]
1005
+  (0.7ms) commit transaction
1006
+  (0.1ms) begin transaction
1007
+ SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 5]]
1008
+  (0.8ms) commit transaction
1009
+  (0.1ms) begin transaction
1010
+ SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 6]]
1011
+  (0.7ms) commit transaction
1012
+  (0.1ms) begin transaction
1013
+ SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 7]]
1014
+  (0.7ms) commit transaction
1015
+  (0.1ms) begin transaction
1016
+ SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 8]]
1017
+  (0.7ms) commit transaction
1018
+  (0.1ms) begin transaction
1019
+ SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 9]]
1020
+  (0.7ms) commit transaction
1021
+  (0.1ms) begin transaction
1022
+ SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 10]]
1023
+  (0.7ms) commit transaction
1024
+ Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1025
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1026
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1027
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1028
+ Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_id", 1]]
1029
+ Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
1030
+ Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1031
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1032
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1033
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]
1034
+ Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_id", 1]]
1035
+ Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]