pulitzer 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/pulitzer.scss +12 -0
- data/app/models/pulitzer/partial.rb +1 -1
- data/app/models/pulitzer/post.rb +1 -1
- data/app/models/pulitzer/version.rb +0 -4
- data/app/views/pulitzer/content_elements/_show_wrapper.html.erb +1 -5
- data/app/views/pulitzer/post_types/_form_fields.html.erb +1 -1
- data/app/views/pulitzer/post_types/_show.html.erb +11 -9
- data/lib/pulitzer/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1210 -0
- data/spec/dummy/public/uploads/tmp/1463674504-87519-0889/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463674504-87519-0889/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1463674504-87519-0889/thumb_sam_and_snow.jpg +0 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4ba76fb2ab1a9a028fccef98ba535797488e082
|
4
|
+
data.tar.gz: 2ac42afaf4b83740e45cbe0b087532c99cd49385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ddaa9b9e4eefddc29997e39e3e07b383b0a795a3d75ee19b9cf4548d9ac468be847d97731b8762008ee3a84e7923a36c89c4c61b55b9e4a7ec9ee6b70c84be5
|
7
|
+
data.tar.gz: 922f6cbb8cf5454cf3102bfa09658541eb0de47b06c336c70c019aaead4c9175ea03d357da13e59fd38c7f57ca711e208590cd5f3e7db4572b622af43148ff23
|
@@ -34,7 +34,19 @@ body {
|
|
34
34
|
text-decoration: none;
|
35
35
|
}
|
36
36
|
}
|
37
|
+
.pulitzer-fake-link{
|
38
|
+
cursor: pointer;
|
39
|
+
color: #32638a;
|
40
|
+
&:hover{
|
41
|
+
text-decoration: underline;
|
42
|
+
color: black;
|
43
|
+
cursor: pointer;
|
44
|
+
}
|
45
|
+
&.active{
|
46
|
+
color: black;
|
47
|
+
}
|
37
48
|
|
49
|
+
}
|
38
50
|
.pulitzer-row {
|
39
51
|
position: relative;
|
40
52
|
float: left;
|
data/app/models/pulitzer/post.rb
CHANGED
@@ -5,7 +5,7 @@ module Pulitzer
|
|
5
5
|
has_many :versions
|
6
6
|
belongs_to :post_type
|
7
7
|
delegate :post_type_content_element_types, :free_form_section_types, :has_free_form_sections?, :has_templated_content_elements?, to: :post_type
|
8
|
-
delegate :content_elements, :post_tags, :has_label_type, :has_label, :post_tags_for, to: :active_version, allow_nil: true
|
8
|
+
delegate :content_elements, :section, :post_tags, :has_label_type, :has_label, :post_tags_for, to: :active_version, allow_nil: true
|
9
9
|
friendly_id :title, use: [:slugged, :finders]
|
10
10
|
after_create :create_preview_version
|
11
11
|
|
@@ -38,10 +38,6 @@ module Pulitzer
|
|
38
38
|
content_elements.template
|
39
39
|
end
|
40
40
|
|
41
|
-
def free_form_content_elements
|
42
|
-
content_elements.free_form
|
43
|
-
end
|
44
|
-
|
45
41
|
def total_processing_elements
|
46
42
|
active_version.content_elements.count + active_version.post_tags.count + active_version.free_form_sections.count + 2
|
47
43
|
end
|
@@ -1,7 +1,3 @@
|
|
1
1
|
<div class="pulitzer-row margin-bottom list-item" id="<%= dom_id(content_element) %>">
|
2
|
-
|
3
|
-
<%= render partial: '/pulitzer/content_elements/form', locals: { content_element: content_element } %>
|
4
|
-
<% else %>
|
5
|
-
<%= render partial: '/pulitzer/content_elements/show', locals: { content_element: content_element } %>
|
6
|
-
<% end %>
|
2
|
+
<%= render partial: '/pulitzer/content_elements/show', locals: { content_element: content_element } %>
|
7
3
|
</div>
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<%= f.label :name %>
|
2
2
|
<%= f.text_field :name %>
|
3
|
+
<%= f.select :kind, Pulitzer::PostType.kinds.keys.map { |m| [m.humanize, m] }, {}, revealer(dom_id(f.object, :kind), highlander: true) %>
|
3
4
|
<div <%= revealer_target_attrs(dom_id(f.object, :kind)) %>>
|
4
5
|
<div <%= revealer_option_attrs(dom_id(f.object, :kind), trigger: 'template') %>>
|
5
6
|
<%= f.label :plural %>
|
@@ -9,4 +10,3 @@
|
|
9
10
|
<%= f.hidden_field :plural, value: true %>
|
10
11
|
</div>
|
11
12
|
</div>
|
12
|
-
<%= f.select :kind, Pulitzer::PostType.kinds.keys.map { |m| [m.humanize, m] }, {}, revealer(dom_id(f.object, :kind), highlander: true) %>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<li><%= link_to_posts(post_type, 'Index', 'Manage') %></li>
|
6
6
|
<% end %>
|
7
7
|
<li <%= expander("post_type_content_element_types_#{dom_id(post_type)}") %>>
|
8
|
-
|
8
|
+
<span class='toggle-post-type-content-elements pulitzer-fake-link' data-post-types="<%= post_type.id %>">Template</span>
|
9
9
|
</li>
|
10
10
|
<li>
|
11
11
|
<% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %>
|
@@ -31,14 +31,16 @@
|
|
31
31
|
<%= ajax_link 'add a new content element for ' + post_type.name, new_post_type_content_element_type_path(post_type_id: post_type.id), {}, "#new_post_type_content_element_type_#{dom_id(post_type)}" %>
|
32
32
|
<div id="new_post_type_content_element_type_<%= dom_id(post_type) %>"></div>
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
34
|
+
<% unless post_type.partial? %>
|
35
|
+
<h5>Free Form Sections</h5>
|
36
|
+
<div id="<%= dom_id(post_type, :free_form_section_types_container) %>">
|
37
|
+
<% post_type.free_form_section_types.each do |ffst| %>
|
38
|
+
<%= render partial: '/pulitzer/free_form_section_types/show_wrapper', locals: {ffst: ffst} %>
|
39
|
+
<% end %>
|
40
|
+
</div>
|
41
|
+
<%= ajax_link 'add a new section for ' + post_type.name, new_free_form_section_type_path(post_type_id: post_type.id), {}, dom_target(post_type, :new_free_form_section_type) %>
|
42
|
+
<div id="<%= dom_id(post_type, :new_free_form_section_type) %>"></div>
|
43
|
+
<% end %>
|
42
44
|
|
43
45
|
<% if post_type.partial? %>
|
44
46
|
<h5>Layouts</h5>
|
data/lib/pulitzer/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -49896,3 +49896,1213 @@ Pulitzer::CloneVersion !!!
|
|
49896
49896
|
[1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
|
49897
49897
|
[1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
|
49898
49898
|
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
49899
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49900
|
+
[1m[35m (1.2ms)[0m DELETE FROM "pulitzer_content_element_types";
|
49901
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
49902
|
+
[1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
|
49903
|
+
[1m[36m (1.6ms)[0m [1mDELETE FROM "pulitzer_posts";[0m
|
49904
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
49905
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
|
49906
|
+
[1m[35m (0.9ms)[0m DELETE FROM "pulitzer_tags";
|
49907
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
49908
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
|
49909
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_post_type_content_element_types";[0m
|
49910
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
49911
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
|
49912
|
+
[1m[35m (0.8ms)[0m DELETE FROM "search_locations";
|
49913
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
49914
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'search_locations';
|
49915
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_versions";[0m
|
49916
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
49917
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
|
49918
|
+
[1m[35m (0.9ms)[0m DELETE FROM "pulitzer_content_elements";
|
49919
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
49920
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
|
49921
|
+
[1m[36m (1.1ms)[0m [1mDELETE FROM "pulitzer_post_tags";[0m
|
49922
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
49923
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
|
49924
|
+
[1m[35m (0.9ms)[0m DELETE FROM "pulitzer_post_types";
|
49925
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
49926
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
|
49927
|
+
[1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_partials";[0m
|
49928
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
49929
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
|
49930
|
+
[1m[35m (0.9ms)[0m DELETE FROM "pulitzer_free_form_section_types";
|
49931
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
49932
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
|
49933
|
+
[1m[36m (0.6ms)[0m [1mDELETE FROM "pulitzer_free_form_sections";[0m
|
49934
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
49935
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
|
49936
|
+
[1m[35m (0.8ms)[0m DELETE FROM "pulitzer_layouts";
|
49937
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
49938
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
|
49939
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49940
|
+
[1m[35m (0.1ms)[0m commit transaction
|
49941
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49942
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49943
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 16:15:02.878800"], ["updated_at", "2016-05-19 16:15:02.878800"]]
|
49944
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49945
|
+
Processing by Pulitzer::FreeFormSectionTypesController#new as HTML
|
49946
|
+
Parameters: {"post_type_id"=>"1"}
|
49947
|
+
[1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
49948
|
+
[1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
49949
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (7.9ms)
|
49950
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (30.6ms)
|
49951
|
+
Completed 200 OK in 64ms (Views: 40.3ms | ActiveRecord: 0.4ms)
|
49952
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
49953
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49954
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
49955
|
+
[1m[35m (0.0ms)[0m begin transaction
|
49956
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
49957
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 16:15:02.959484"], ["updated_at", "2016-05-19 16:15:02.959484"]]
|
49958
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49959
|
+
Processing by Pulitzer::FreeFormSectionTypesController#create as HTML
|
49960
|
+
Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}}
|
49961
|
+
[1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
49962
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49963
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]]
|
49964
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49965
|
+
[1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
49966
|
+
[1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
|
49967
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (7.2ms)
|
49968
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (9.3ms)
|
49969
|
+
Completed 200 OK in 18ms (Views: 11.0ms | ActiveRecord: 1.0ms)
|
49970
|
+
[1m[35mPulitzer::FreeFormSectionType Load (0.1ms)[0m SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1
|
49971
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
49972
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49973
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
49974
|
+
[1m[35m (0.0ms)[0m begin transaction
|
49975
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
49976
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 16:15:02.987249"], ["updated_at", "2016-05-19 16:15:02.987249"]]
|
49977
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49978
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
49979
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?)[0m [["name", "main content"], ["post_type_id", 1]]
|
49980
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
49981
|
+
Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML
|
49982
|
+
Parameters: {"id"=>"1"}
|
49983
|
+
[1m[36mPulitzer::FreeFormSectionType Load (0.2ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
49984
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms)
|
49985
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.8ms)
|
49986
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (12.7ms)
|
49987
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.2ms)
|
49988
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
49989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49990
|
+
[1m[35m (0.0ms)[0m commit transaction
|
49991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
49993
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 16:15:03.014919"], ["updated_at", "2016-05-19 16:15:03.014919"]]
|
49994
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49995
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49996
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
|
49997
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49998
|
+
Processing by Pulitzer::FreeFormSectionTypesController#update as HTML
|
49999
|
+
Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"}
|
50000
|
+
[1m[35mPulitzer::FreeFormSectionType Load (0.1ms)[0m SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]]
|
50001
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50002
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]]
|
50003
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50004
|
+
[1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
50005
|
+
[1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
|
50006
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (8.5ms)
|
50007
|
+
Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 0.6ms)
|
50008
|
+
[1m[35mPulitzer::FreeFormSectionType Load (0.1ms)[0m SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]]
|
50009
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
50010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50011
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
50012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50013
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50014
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 16:15:03.046374"], ["updated_at", "2016-05-19 16:15:03.046374"]]
|
50015
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50016
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50017
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?)[0m [["name", "main content"], ["post_type_id", 1]]
|
50018
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50019
|
+
Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML
|
50020
|
+
Parameters: {"id"=>"1"}
|
50021
|
+
[1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50022
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50023
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ?[0m [["id", 1]]
|
50024
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50025
|
+
[1m[36mPulitzer::PostType Load (0.0ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50026
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
|
50027
|
+
Rendered text template (0.0ms)
|
50028
|
+
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms)
|
50029
|
+
[1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50030
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
50031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50032
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50034
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50035
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 16:15:03.068085"], ["updated_at", "2016-05-19 16:15:03.068085"]]
|
50036
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50037
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50038
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
|
50039
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50040
|
+
Processing by Pulitzer::PartialsController#new as HTML
|
50041
|
+
Parameters: {"partial"=>{"free_form_section_id"=>"1"}}
|
50042
|
+
[1m[35mPulitzer::FreeFormSection Load (0.1ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]]
|
50043
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms)
|
50044
|
+
[1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ?[0m [["kind", 1]]
|
50045
|
+
[1m[35mPulitzer::PostType Load (0.2ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]]
|
50046
|
+
[1m[36mPulitzer::Layout Load (0.1ms)[0m [1mSELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ?[0m [["post_type_id", 1]]
|
50047
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (13.1ms)
|
50048
|
+
Completed 200 OK in 35ms (Views: 18.0ms | ActiveRecord: 0.8ms)
|
50049
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
50050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50051
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50053
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50054
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 16:15:03.119321"], ["updated_at", "2016-05-19 16:15:03.119321"]]
|
50055
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50057
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
|
50058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50059
|
+
Processing by Pulitzer::PartialsController#create as HTML
|
50060
|
+
Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}}
|
50061
|
+
[1m[35mPulitzer::FreeFormSection Load (0.1ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]]
|
50062
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50063
|
+
[1m[35mPulitzer::FreeFormSection Load (0.1ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]]
|
50064
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ?[0m [["free_form_section_id", 1]]
|
50065
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
50066
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50067
|
+
[1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
50068
|
+
[1m[36mPulitzer::PostTypeContentElementType Load (0.3ms)[0m [1mSELECT "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[0m [["post_type_id", 1]]
|
50069
|
+
[1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]]
|
50070
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.4ms)
|
50071
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (9.1ms)
|
50072
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (10.9ms)
|
50073
|
+
Completed 200 OK in 24ms (Views: 12.4ms | ActiveRecord: 1.2ms)
|
50074
|
+
[1m[36mPulitzer::Partial Load (0.1ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1[0m
|
50075
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
50076
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50077
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50078
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50079
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50080
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "free as a bird"]]
|
50081
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50083
|
+
[1m[35mSQL (0.3ms)[0m 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-19 16:15:03.157588"], ["updated_at", "2016-05-19 16:15:03.157588"]]
|
50084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50086
|
+
[1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1[0m [["id", 1]]
|
50087
|
+
[1m[35m (0.1ms)[0m SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
|
50088
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?)[0m [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]]
|
50089
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50090
|
+
Processing by Pulitzer::PartialsController#edit as HTML
|
50091
|
+
Parameters: {"id"=>"1"}
|
50092
|
+
[1m[36mPulitzer::Partial Load (0.1ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1[0m [["id", 1]]
|
50093
|
+
[1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
50094
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms)
|
50095
|
+
[1m[36mPulitzer::Layout Load (0.1ms)[0m [1mSELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ?[0m [["post_type_id", 1]]
|
50096
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (12.9ms)
|
50097
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.2ms)
|
50098
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
50099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50100
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50101
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50103
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 16:15:03.186544"], ["updated_at", "2016-05-19 16:15:03.186544"]]
|
50104
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50105
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50106
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
|
50107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50108
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50109
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 16:15:03.191871"], ["updated_at", "2016-05-19 16:15:03.191871"]]
|
50110
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50111
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50112
|
+
[1m[35mPulitzer::FreeFormSection Load (0.1ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]]
|
50113
|
+
[1m[36m (0.0ms)[0m [1mSELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ?[0m [["free_form_section_id", 1]]
|
50114
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
50115
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50116
|
+
Processing by Pulitzer::PartialsController#update as HTML
|
50117
|
+
Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"}
|
50118
|
+
[1m[35mPulitzer::Partial Load (0.1ms)[0m SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
|
50119
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50120
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]]
|
50121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50122
|
+
[1m[35mPulitzer::PostType Load (0.0ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
50123
|
+
[1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["partial_id", 1]]
|
50124
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.3ms)
|
50125
|
+
Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (5.0ms)
|
50126
|
+
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.5ms)
|
50127
|
+
[1m[35mPulitzer::Partial Load (0.0ms)[0m SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
|
50128
|
+
[1m[36mPulitzer::PostType Load (0.0ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50129
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
50130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50131
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50133
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50134
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.223154"], ["updated_at", "2016-05-19 16:15:03.223154"]]
|
50135
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50136
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50137
|
+
[1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
|
50138
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-05-19 16:15:03.350821"], ["updated_at", "2016-05-19 16:15:03.350821"]]
|
50139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.354632"], ["updated_at", "2016-05-19 16:15:03.354632"]]
|
50140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50142
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:03.366908"], ["updated_at", "2016-05-19 16:15:03.366908"]]
|
50143
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50144
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50145
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
|
50146
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-05-19 16:15:03.381716"], ["updated_at", "2016-05-19 16:15:03.381716"]]
|
50147
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50148
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50149
|
+
[1m[35mSQL (0.2ms)[0m 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-19 16:15:03.385447"], ["updated_at", "2016-05-19 16:15:03.385447"]]
|
50150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50151
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50152
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
|
50153
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-05-19 16:15:03.389331"], ["updated_at", "2016-05-19 16:15:03.389331"]]
|
50154
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50155
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50156
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.391324"], ["updated_at", "2016-05-19 16:15:03.391324"]]
|
50157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50159
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
|
50160
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-05-19 16:15:03.395076"], ["updated_at", "2016-05-19 16:15:03.395076"]]
|
50161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50163
|
+
[1m[35mSQL (0.2ms)[0m 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-19 16:15:03.397037"], ["updated_at", "2016-05-19 16:15:03.397037"]]
|
50164
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50165
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
|
50166
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50167
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 16:15:03.402772"], ["updated_at", "2016-05-19 16:15:03.402772"]]
|
50168
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50169
|
+
Pulitzer::CloneVersion !!!
|
50170
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
50171
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
|
50172
|
+
[1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
|
50173
|
+
[1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
|
50174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50175
|
+
[1m[35mSQL (0.2ms)[0m 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-19 16:15:03.385447"], ["updated_at", "2016-05-19 16:15:03.385447"]]
|
50176
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50177
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50178
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.412453"], ["id", 4]]
|
50179
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50180
|
+
[1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
|
50181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50182
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.391324"], ["updated_at", "2016-05-19 16:15:03.391324"]]
|
50183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50184
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50185
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.423043"], ["id", 5]]
|
50186
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50187
|
+
[1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
|
50188
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50189
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.397037"], ["updated_at", "2016-05-19 16:15:03.397037"]]
|
50190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50192
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.431722"], ["id", 6]]
|
50193
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50194
|
+
[1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
|
50195
|
+
[1m[35mPulitzer::PostTag Load (0.2ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
50196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50197
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 16:15:03.444509"], ["id", 3]]
|
50198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50199
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
|
50200
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
50201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50202
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50203
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50205
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.464742"], ["updated_at", "2016-05-19 16:15:03.464742"]]
|
50206
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50207
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50208
|
+
[1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-2"]]
|
50209
|
+
[1m[35mSQL (0.4ms)[0m 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-19 16:15:03.470232"], ["updated_at", "2016-05-19 16:15:03.470232"]]
|
50210
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:03.476134"], ["updated_at", "2016-05-19 16:15:03.476134"]]
|
50211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50213
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.480151"], ["updated_at", "2016-05-19 16:15:03.480151"]]
|
50214
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50215
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50216
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?)[0m [["name", "section A"], ["version_id", 2]]
|
50217
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50219
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]]
|
50220
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50221
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50222
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?)[0m [["name", "section C"], ["version_id", 2]]
|
50223
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50224
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
|
50225
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50226
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 16:15:03.491684"], ["updated_at", "2016-05-19 16:15:03.491684"]]
|
50227
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50228
|
+
Pulitzer::CloneVersion !!!
|
50229
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
50230
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
|
50231
|
+
[1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
|
50232
|
+
[1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
|
50233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50234
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "section A"]]
|
50235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50236
|
+
[1m[36mPulitzer::Partial Load (0.1ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ?[0m [["free_form_section_id", 1]]
|
50237
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50238
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ?[0m [["version_id", 3], ["id", 4]]
|
50239
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50240
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50241
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]]
|
50242
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50243
|
+
[1m[35mPulitzer::Partial Load (0.0ms)[0m SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 2]]
|
50244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50245
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]]
|
50246
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50248
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "section C"]]
|
50249
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50250
|
+
[1m[36mPulitzer::Partial Load (0.1ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ?[0m [["free_form_section_id", 3]]
|
50251
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50252
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ?[0m [["version_id", 3], ["id", 6]]
|
50253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50254
|
+
[1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
|
50255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50256
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-05-19 16:15:03.518899"], ["id", 3]]
|
50257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50258
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 3]]
|
50259
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
50260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50261
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50264
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.536019"], ["updated_at", "2016-05-19 16:15:03.536019"]]
|
50265
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50267
|
+
[1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
|
50268
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-05-19 16:15:03.538843"], ["updated_at", "2016-05-19 16:15:03.538843"]]
|
50269
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.540828"], ["updated_at", "2016-05-19 16:15:03.540828"]]
|
50270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50271
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50272
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:03.542577"], ["updated_at", "2016-05-19 16:15:03.542577"]]
|
50273
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50275
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
|
50276
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-05-19 16:15:03.545956"], ["updated_at", "2016-05-19 16:15:03.545956"]]
|
50277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50279
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.547602"], ["updated_at", "2016-05-19 16:15:03.547602"]]
|
50280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50281
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50282
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
|
50283
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-05-19 16:15:03.550452"], ["updated_at", "2016-05-19 16:15:03.550452"]]
|
50284
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50286
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.552517"], ["updated_at", "2016-05-19 16:15:03.552517"]]
|
50287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50288
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50289
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
|
50290
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-05-19 16:15:03.555872"], ["updated_at", "2016-05-19 16:15:03.555872"]]
|
50291
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50293
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.557547"], ["updated_at", "2016-05-19 16:15:03.557547"]]
|
50294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 16:15:03.559527"], ["updated_at", "2016-05-19 16:15:03.559527"]]
|
50297
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
50298
|
+
Pulitzer::CloneVersion !!!
|
50299
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
50300
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
|
50301
|
+
[1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
|
50302
|
+
[1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50304
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.547602"], ["updated_at", "2016-05-19 16:15:03.547602"]]
|
50305
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50307
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.569724"], ["id", 4]]
|
50308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50309
|
+
[1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
|
50310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50311
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.552517"], ["updated_at", "2016-05-19 16:15:03.552517"]]
|
50312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50314
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.574508"], ["id", 5]]
|
50315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50316
|
+
[1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
|
50317
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50318
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.557547"], ["updated_at", "2016-05-19 16:15:03.557547"]]
|
50319
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50321
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.580308"], ["id", 6]]
|
50322
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50323
|
+
[1m[35mPulitzer::FreeFormSection Load (0.1ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
|
50324
|
+
[1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
|
50325
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50326
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-05-19 16:15:03.583824"], ["id", 3]]
|
50327
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50328
|
+
[1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1[0m [["version_id", 3]]
|
50329
|
+
[1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
|
50330
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
50331
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50332
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50334
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50335
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.594167"], ["updated_at", "2016-05-19 16:15:03.594167"]]
|
50336
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50337
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50338
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1[0m
|
50339
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-05-19 16:15:03.601369"], ["updated_at", "2016-05-19 16:15:03.601369"]]
|
50340
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50342
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-05-19 16:15:03.604664"], ["updated_at", "2016-05-19 16:15:03.604664"]]
|
50343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50344
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50345
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1
|
50346
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 8"], ["created_at", "2016-05-19 16:15:03.607178"], ["updated_at", "2016-05-19 16:15:03.607178"]]
|
50347
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50349
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.608671"], ["updated_at", "2016-05-19 16:15:03.608671"]]
|
50350
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50351
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50352
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1[0m
|
50353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-05-19 16:15:03.611854"], ["updated_at", "2016-05-19 16:15:03.611854"]]
|
50354
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50355
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50356
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-05-19 16:15:03.614153"], ["updated_at", "2016-05-19 16:15:03.614153"]]
|
50357
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50358
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ?[0m [["id", 1]]
|
50359
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
|
50360
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50361
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]]
|
50362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50363
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50364
|
+
[1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1[0m [["id", 1]]
|
50365
|
+
[1m[35m (0.0ms)[0m SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
|
50366
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?)[0m [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]]
|
50367
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50368
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ?[0m [["partial_id", 1]]
|
50369
|
+
[1m[35mPulitzer::PostType Load (0.0ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
|
50370
|
+
[1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1mSELECT "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[0m [["post_type_id", 1]]
|
50371
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50372
|
+
[1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50373
|
+
[1m[35mSQL (0.2ms)[0m 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-19 16:15:03.630057"], ["updated_at", "2016-05-19 16:15:03.630057"]]
|
50374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50376
|
+
[1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
|
50377
|
+
[1m[35mSQL (0.2ms)[0m 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-19 16:15:03.634060"], ["updated_at", "2016-05-19 16:15:03.634060"]]
|
50378
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50380
|
+
[1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
|
50381
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.639199"], ["updated_at", "2016-05-19 16:15:03.639199"]]
|
50382
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50383
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
50384
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50385
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50388
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.645516"], ["updated_at", "2016-05-19 16:15:03.645516"]]
|
50389
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50390
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50391
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
|
50392
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-05-19 16:15:03.649439"], ["updated_at", "2016-05-19 16:15:03.649439"]]
|
50393
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50395
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.651579"], ["updated_at", "2016-05-19 16:15:03.651579"]]
|
50396
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50397
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50398
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
|
50399
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-05-19 16:15:03.655199"], ["updated_at", "2016-05-19 16:15:03.655199"]]
|
50400
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50402
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-05-19 16:15:03.656698"], ["updated_at", "2016-05-19 16:15:03.656698"]]
|
50403
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50405
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
|
50406
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-05-19 16:15:03.659167"], ["updated_at", "2016-05-19 16:15:03.659167"]]
|
50407
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50409
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.661226"], ["updated_at", "2016-05-19 16:15:03.661226"]]
|
50410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50411
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
|
50412
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50413
|
+
[1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]]
|
50414
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-05-19 16:15:03.665235"], ["updated_at", "2016-05-19 16:15:03.665235"]]
|
50415
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.667680"], ["updated_at", "2016-05-19 16:15:03.667680"]]
|
50416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50417
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50418
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
|
50419
|
+
[1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m 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]]
|
50420
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50421
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50422
|
+
[1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50423
|
+
[1m[35mSQL (0.2ms)[0m 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-19 16:15:03.675686"], ["updated_at", "2016-05-19 16:15:03.675686"]]
|
50424
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50425
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50426
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50427
|
+
[1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
|
50428
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.681021"], ["updated_at", "2016-05-19 16:15:03.681021"]]
|
50429
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50430
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50431
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50432
|
+
[1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
|
50433
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.687139"], ["updated_at", "2016-05-19 16:15:03.687139"]]
|
50434
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50435
|
+
[1m[35mPulitzer::FreeFormSectionType Load (0.1ms)[0m 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]]
|
50436
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50437
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
|
50438
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
50439
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50440
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50442
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50443
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.695289"], ["updated_at", "2016-05-19 16:15:03.695289"]]
|
50444
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50445
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50446
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?)[0m [["name", "Main Body"], ["post_type_id", 1]]
|
50447
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50448
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50449
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]]
|
50450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50452
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?)[0m [["name", "Footer List"], ["post_type_id", 1]]
|
50453
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50454
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50455
|
+
[1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]]
|
50456
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-05-19 16:15:03.703101"], ["updated_at", "2016-05-19 16:15:03.703101"]]
|
50457
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.704874"], ["updated_at", "2016-05-19 16:15:03.704874"]]
|
50458
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50459
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
|
50460
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50461
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
|
50462
|
+
[1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50463
|
+
[1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m 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]]
|
50464
|
+
[1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
|
50465
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50467
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]]
|
50468
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50469
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50470
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50471
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]]
|
50472
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50473
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50474
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50475
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]]
|
50476
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50477
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50478
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
|
50479
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
50480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50481
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50483
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50484
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.726873"], ["updated_at", "2016-05-19 16:15:03.726873"]]
|
50485
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
50486
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50487
|
+
[1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]]
|
50488
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-05-19 16:15:03.731126"], ["updated_at", "2016-05-19 16:15:03.731126"]]
|
50489
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.734008"], ["updated_at", "2016-05-19 16:15:03.734008"]]
|
50490
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50491
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50492
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:03.736054"], ["updated_at", "2016-05-19 16:15:03.736054"]]
|
50493
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50494
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50495
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
|
50496
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 13"], ["created_at", "2016-05-19 16:15:03.738928"], ["updated_at", "2016-05-19 16:15:03.738928"]]
|
50497
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50499
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.740479"], ["updated_at", "2016-05-19 16:15:03.740479"]]
|
50500
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50501
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50502
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1[0m
|
50503
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-05-19 16:15:03.744750"], ["updated_at", "2016-05-19 16:15:03.744750"]]
|
50504
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50505
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50506
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.746513"], ["updated_at", "2016-05-19 16:15:03.746513"]]
|
50507
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50508
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50509
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
|
50510
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 15"], ["created_at", "2016-05-19 16:15:03.749436"], ["updated_at", "2016-05-19 16:15:03.749436"]]
|
50511
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50512
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50513
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.751093"], ["updated_at", "2016-05-19 16:15:03.751093"]]
|
50514
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50515
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
|
50516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50517
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-19 16:15:03.754456"], ["id", 2]]
|
50518
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50519
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50520
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 16:15:03.756734"], ["updated_at", "2016-05-19 16:15:03.756734"]]
|
50521
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50522
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50523
|
+
[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
50524
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50525
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35mPulitzer::Post Load (0.2ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
50526
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] Pulitzer::CloneVersion !!!
|
50527
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
50528
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
|
50529
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
|
50530
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50531
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50532
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.740479"], ["updated_at", "2016-05-19 16:15:03.740479"]]
|
50533
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50534
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50535
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.770769"], ["id", 4]]
|
50536
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50537
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
|
50538
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50539
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35mSQL (0.1ms)[0m 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-19 16:15:03.746513"], ["updated_at", "2016-05-19 16:15:03.746513"]]
|
50540
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50541
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50542
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.775390"], ["id", 5]]
|
50543
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50544
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
|
50545
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50546
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.751093"], ["updated_at", "2016-05-19 16:15:03.751093"]]
|
50547
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50548
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50549
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.780576"], ["id", 6]]
|
50550
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50551
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35mPulitzer::FreeFormSection Load (0.0ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
|
50552
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
|
50553
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50554
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-05-19 16:15:03.782954"], ["id", 3]]
|
50555
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50556
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [6f5bc3c3-c7e7-4d4b-b849-535c9fbc86e4] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.34ms
|
50557
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
|
50558
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50559
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50560
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50561
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
|
50562
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
50563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50564
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50565
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50566
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50567
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.797401"], ["updated_at", "2016-05-19 16:15:03.797401"]]
|
50568
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50569
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50570
|
+
[1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]
|
50571
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-05-19 16:15:03.800504"], ["updated_at", "2016-05-19 16:15:03.800504"]]
|
50572
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.802935"], ["updated_at", "2016-05-19 16:15:03.802935"]]
|
50573
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50574
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50575
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:03.805058"], ["updated_at", "2016-05-19 16:15:03.805058"]]
|
50576
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50577
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50578
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1
|
50579
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 16"], ["created_at", "2016-05-19 16:15:03.807784"], ["updated_at", "2016-05-19 16:15:03.807784"]]
|
50580
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50581
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50582
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.809314"], ["updated_at", "2016-05-19 16:15:03.809314"]]
|
50583
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50584
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50585
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
|
50586
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-05-19 16:15:03.812757"], ["updated_at", "2016-05-19 16:15:03.812757"]]
|
50587
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50588
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50589
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.814472"], ["updated_at", "2016-05-19 16:15:03.814472"]]
|
50590
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50591
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50592
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1
|
50593
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 18"], ["created_at", "2016-05-19 16:15:03.817685"], ["updated_at", "2016-05-19 16:15:03.817685"]]
|
50594
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50595
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50596
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.819501"], ["updated_at", "2016-05-19 16:15:03.819501"]]
|
50597
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50598
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
|
50599
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50600
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-19 16:15:03.822437"], ["id", 2]]
|
50601
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50602
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50603
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 16:15:03.824365"], ["updated_at", "2016-05-19 16:15:03.824365"]]
|
50604
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50605
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: be561d7f-d740-4c38-bef2-702e54ba7c53) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50606
|
+
[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
50607
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50608
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
50609
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] Pulitzer::CloneVersion !!!
|
50610
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
50611
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
|
50612
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
|
50613
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
50614
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50615
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.809314"], ["updated_at", "2016-05-19 16:15:03.809314"]]
|
50616
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
50617
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50618
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.835718"], ["id", 4]]
|
50619
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50620
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
|
50621
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50622
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35mSQL (0.1ms)[0m 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-19 16:15:03.814472"], ["updated_at", "2016-05-19 16:15:03.814472"]]
|
50623
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50624
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50625
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.841125"], ["id", 5]]
|
50626
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50627
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
|
50628
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50629
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.819501"], ["updated_at", "2016-05-19 16:15:03.819501"]]
|
50630
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50631
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50632
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.846925"], ["id", 6]]
|
50633
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50634
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35mPulitzer::FreeFormSection Load (0.0ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
|
50635
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
|
50636
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50637
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-05-19 16:15:03.849413"], ["id", 3]]
|
50638
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50639
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [be561d7f-d740-4c38-bef2-702e54ba7c53] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.51ms
|
50640
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
50641
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
50642
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50643
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
50644
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
|
50645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50646
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-05-19 16:15:03.856508"], ["id", 3]]
|
50647
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50648
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50649
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 16:15:03.858329"], ["updated_at", "2016-05-19 16:15:03.858329"]]
|
50650
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50651
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: fc93de82-b31e-4b9a-beb9-9bda125ef564) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50652
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
50653
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50654
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
50655
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] Pulitzer::CloneVersion !!!
|
50656
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
50657
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
|
50658
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
|
50659
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
|
50660
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50661
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mSQL (0.1ms)[0m 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-19 16:15:03.809314"], ["updated_at", "2016-05-19 16:15:03.809314"]]
|
50662
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50663
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50664
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-05-19 16:15:03.867010"], ["id", 7]]
|
50665
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50666
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
|
50667
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50668
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.814472"], ["updated_at", "2016-05-19 16:15:03.814472"]]
|
50669
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50670
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50671
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-19 16:15:03.872890"], ["id", 8]]
|
50672
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50673
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
|
50674
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50675
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mSQL (0.1ms)[0m 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-19 16:15:03.819501"], ["updated_at", "2016-05-19 16:15:03.819501"]]
|
50676
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50677
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50678
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-05-19 16:15:03.878525"], ["id", 9]]
|
50679
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50680
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
|
50681
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
50682
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50683
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 16:15:03.881337"], ["id", 4]]
|
50684
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50685
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [fc93de82-b31e-4b9a-beb9-9bda125ef564] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.05ms
|
50686
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]]
|
50687
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50688
|
+
[1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50689
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50690
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]
|
50691
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
50692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50693
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50695
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50696
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:03.895855"], ["updated_at", "2016-05-19 16:15:03.895855"]]
|
50697
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50698
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50699
|
+
[1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-7"]]
|
50700
|
+
[1m[35mSQL (0.4ms)[0m 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-19 16:15:03.898661"], ["updated_at", "2016-05-19 16:15:03.898661"]]
|
50701
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:03.900886"], ["updated_at", "2016-05-19 16:15:03.900886"]]
|
50702
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50703
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50704
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:03.902584"], ["updated_at", "2016-05-19 16:15:03.902584"]]
|
50705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50706
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50707
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
|
50708
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-05-19 16:15:03.905693"], ["updated_at", "2016-05-19 16:15:03.905693"]]
|
50709
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50710
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50711
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.907331"], ["updated_at", "2016-05-19 16:15:03.907331"]]
|
50712
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50713
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50714
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1
|
50715
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 20"], ["created_at", "2016-05-19 16:15:03.910682"], ["updated_at", "2016-05-19 16:15:03.910682"]]
|
50716
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50717
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50718
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:03.912429"], ["updated_at", "2016-05-19 16:15:03.912429"]]
|
50719
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50720
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50721
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
|
50722
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-05-19 16:15:03.915467"], ["updated_at", "2016-05-19 16:15:03.915467"]]
|
50723
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50724
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50725
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.917228"], ["updated_at", "2016-05-19 16:15:03.917228"]]
|
50726
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50727
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
|
50728
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50729
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-05-19 16:15:03.919903"], ["id", 2]]
|
50730
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50731
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50732
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 16:15:03.921593"], ["updated_at", "2016-05-19 16:15:03.921593"]]
|
50733
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50734
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8f31b89c-432f-44fc-b36a-532f813bc6f4) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50735
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
50736
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
50737
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
50738
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] Pulitzer::CloneVersion !!!
|
50739
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
50740
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
|
50741
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
|
50742
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
|
50743
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50744
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mSQL (0.1ms)[0m 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-19 16:15:03.907331"], ["updated_at", "2016-05-19 16:15:03.907331"]]
|
50745
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50746
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50747
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.931719"], ["id", 4]]
|
50748
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50749
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
|
50750
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50751
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:03.912429"], ["updated_at", "2016-05-19 16:15:03.912429"]]
|
50752
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50753
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50754
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.938216"], ["id", 5]]
|
50755
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50756
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
|
50757
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50758
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mSQL (0.1ms)[0m 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-19 16:15:03.917228"], ["updated_at", "2016-05-19 16:15:03.917228"]]
|
50759
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50760
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50761
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-05-19 16:15:03.944761"], ["id", 6]]
|
50762
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50763
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
|
50764
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
50765
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50766
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 16:15:03.947482"], ["id", 3]]
|
50767
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50768
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [8f31b89c-432f-44fc-b36a-532f813bc6f4] Performed Pulitzer::CloneVersionJob from Inline(default) in 27.12ms
|
50769
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
50770
|
+
[1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
50771
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
|
50772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50773
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-05-19 16:15:03.954104"], ["id", 2]]
|
50774
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50775
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50776
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
50777
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
50778
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50779
|
+
[1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
|
50780
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
|
50781
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
|
50782
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
50783
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50784
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50785
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50786
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
50787
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50788
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50791
|
+
[1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1
|
50792
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 22"], ["created_at", "2016-05-19 16:15:03.967452"], ["updated_at", "2016-05-19 16:15:03.967452"]]
|
50793
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50794
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
50795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50796
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50797
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50798
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
50799
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50800
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50801
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50802
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50804
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50805
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50806
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
50807
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50808
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50810
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
50811
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50812
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50813
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50814
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50815
|
+
[1m[35mPulitzer::ContentElementType Exists (0.3ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1
|
50816
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 23"], ["created_at", "2016-05-19 16:15:03.978989"], ["updated_at", "2016-05-19 16:15:03.978989"]]
|
50817
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50818
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
50819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50820
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50821
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50822
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50823
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1
|
50824
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 24"], ["created_at", "2016-05-19 16:15:03.984171"], ["updated_at", "2016-05-19 16:15:03.984171"]]
|
50825
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50826
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
50827
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50828
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50829
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50830
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50831
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1
|
50832
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 25"], ["created_at", "2016-05-19 16:15:03.989549"], ["updated_at", "2016-05-19 16:15:03.989549"]]
|
50833
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50834
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
50835
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50836
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50837
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50838
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50839
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
|
50840
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-05-19 16:15:03.995069"], ["updated_at", "2016-05-19 16:15:03.995069"]]
|
50841
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50842
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50843
|
+
[1m[35mSQL (0.5ms)[0m 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-19 16:15:03.996918"], ["updated_at", "2016-05-19 16:15:03.996918"]]
|
50844
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50845
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
50846
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
50847
|
+
[1m[35m (0.1ms)[0m commit transaction
|
50848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50849
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50850
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
|
50851
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-19 16:15:04.006647"], ["updated_at", "2016-05-19 16:15:04.006647"]]
|
50852
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50853
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50854
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-19 16:15:04.009266"], ["updated_at", "2016-05-19 16:15:04.009266"]]
|
50855
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50856
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
50857
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50858
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
50859
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50860
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50861
|
+
[1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1
|
50862
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 26"], ["created_at", "2016-05-19 16:15:04.016935"], ["updated_at", "2016-05-19 16:15:04.016935"]]
|
50863
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50864
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
50865
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50866
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50867
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50868
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50869
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1
|
50870
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 27"], ["created_at", "2016-05-19 16:15:04.022654"], ["updated_at", "2016-05-19 16:15:04.022654"]]
|
50871
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50872
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
50873
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50874
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50875
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50877
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
|
50878
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2016-05-19 16:15:04.028233"], ["updated_at", "2016-05-19 16:15:04.028233"]]
|
50879
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50880
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
50881
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50882
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50883
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50884
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50885
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:04.236926"], ["updated_at", "2016-05-19 16:15:04.236926"]]
|
50886
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50887
|
+
[1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
|
50888
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
50889
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50890
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
50891
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50892
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50894
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50895
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50896
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
50897
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50898
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50900
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50901
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:04.251191"], ["updated_at", "2016-05-19 16:15:04.251191"]]
|
50902
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50903
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50904
|
+
[1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-9"]]
|
50905
|
+
[1m[35mSQL (0.3ms)[0m 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-19 16:15:04.254715"], ["updated_at", "2016-05-19 16:15:04.254715"]]
|
50906
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:04.256994"], ["updated_at", "2016-05-19 16:15:04.256994"]]
|
50907
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50908
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
50909
|
+
[1m[35m (0.4ms)[0m begin transaction
|
50910
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
50911
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50912
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50913
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:04.263302"], ["updated_at", "2016-05-19 16:15:04.263302"]]
|
50914
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50915
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50916
|
+
[1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-10"]]
|
50917
|
+
[1m[35mSQL (0.6ms)[0m 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-19 16:15:04.267352"], ["updated_at", "2016-05-19 16:15:04.267352"]]
|
50918
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:04.270256"], ["updated_at", "2016-05-19 16:15:04.270256"]]
|
50919
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50920
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50921
|
+
[1m[35mPulitzer::Post Exists (0.1ms)[0m 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"]]
|
50922
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ?[0m [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-05-19 16:15:04.272868"], ["id", 1]]
|
50923
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
50924
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
50925
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50926
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50927
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50928
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50929
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1
|
50930
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 1"], ["created_at", "2016-05-19 16:15:04.285452"], ["updated_at", "2016-05-19 16:15:04.285452"]]
|
50931
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50932
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50933
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:04.291584"], ["updated_at", "2016-05-19 16:15:04.291584"]]
|
50934
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50935
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
50936
|
+
[1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-11"]]
|
50937
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:04.294988"], ["updated_at", "2016-05-19 16:15:04.294988"]]
|
50938
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:04.296774"], ["updated_at", "2016-05-19 16:15:04.296774"]]
|
50939
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50940
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
50941
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:04.298823"], ["updated_at", "2016-05-19 16:15:04.298823"]]
|
50942
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50943
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
50944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50945
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
50948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50949
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50950
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50951
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
50952
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50953
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50955
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
50956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50957
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50958
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50959
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
50960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50961
|
+
[1m[35m (0.1ms)[0m commit transaction
|
50962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50963
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
50964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50965
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50966
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50967
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
50968
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:04.325202"], ["updated_at", "2016-05-19 16:15:04.325202"]]
|
50969
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50970
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
50971
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1
|
50972
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 28"], ["created_at", "2016-05-19 16:15:04.330775"], ["updated_at", "2016-05-19 16:15:04.330775"]]
|
50973
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
50974
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
50975
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50976
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
50977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50978
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50980
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50981
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50982
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50984
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50985
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50986
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50987
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50988
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
50989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50990
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
50991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50992
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
50993
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50994
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50995
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50996
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
50997
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50998
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50999
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51000
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51002
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
51003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51004
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51005
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51006
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51007
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51008
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51010
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
51011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51012
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51013
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51014
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
51015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51016
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51017
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51018
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51020
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51021
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51022
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1[0m
|
51023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
51024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
51025
|
+
[1m[35m (0.0ms)[0m commit transaction
|
51026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
51027
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1
|
51028
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51029
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51030
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51032
|
+
[1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1[0m
|
51033
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
51034
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2016-05-19 16:15:04.397260"], ["updated_at", "2016-05-19 16:15:04.397260"]]
|
51035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
51036
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1[0m
|
51037
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1
|
51038
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
51039
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51040
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51041
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51042
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51044
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51046
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
51047
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51048
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51049
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51050
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
51051
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:04.410784"], ["updated_at", "2016-05-19 16:15:04.410784"]]
|
51052
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
51053
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
51054
|
+
[1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-12"]]
|
51055
|
+
[1m[35mSQL (0.4ms)[0m 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-19 16:15:04.413668"], ["updated_at", "2016-05-19 16:15:04.413668"]]
|
51056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:04.415892"], ["updated_at", "2016-05-19 16:15:04.415892"]]
|
51057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
51058
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
51059
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51060
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51061
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
51063
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51064
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
51065
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51066
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
51067
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51068
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51070
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51071
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51072
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51073
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51074
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51075
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51076
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
51077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51078
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51079
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51080
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
51081
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51082
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51084
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51085
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51086
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
51087
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1
|
51088
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 3"], ["created_at", "2016-05-19 16:15:04.436788"], ["updated_at", "2016-05-19 16:15:04.436788"]]
|
51089
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
51090
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
51091
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 16:15:04.440477"], ["updated_at", "2016-05-19 16:15:04.440477"]]
|
51092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
51093
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
51094
|
+
[1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-13"]]
|
51095
|
+
[1m[35mSQL (0.1ms)[0m 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-19 16:15:04.444407"], ["updated_at", "2016-05-19 16:15:04.444407"]]
|
51096
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-05-19 16:15:04.446734"], ["updated_at", "2016-05-19 16:15:04.446734"]]
|
51097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
51098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
51099
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 16:15:04.448402"], ["updated_at", "2016-05-19 16:15:04.448402"]]
|
51100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
51101
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
51102
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-05-19 16:15:04.451049"], ["updated_at", "2016-05-19 16:15:04.451049"]]
|
51103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
51104
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
|
51105
|
+
[1m[35m (0.1ms)[0m 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]]
|
51106
|
+
[1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
|
51107
|
+
[1m[35mPulitzer::Tag Load (0.2ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
|
51108
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|