pulitzer 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/pulitzer/post.rb +4 -2
- data/app/models/pulitzer/version.rb +14 -1
- data/lib/pulitzer/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +2236 -0
- data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454010788-22795-5507/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011239-23492-4674/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1454011266-23542-4559/thumb_sam_and_snow.jpg +0 -0
- data/spec/models/version_spec.rb +11 -0
- metadata +20 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1836812fba8dc0bf89dc3f4aecda3c2a3749a63
|
4
|
+
data.tar.gz: 4d7988405112c4120e7f4be35c8797ae1720212e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa23fdec24fd36dc898d81a209b9d53f6bdc19bbc785904aa6d5de3c8104de43d8240e685b70a5a38ef7a86efc80d09b304b2ad4d623be71a32c3323ff6877c4
|
7
|
+
data.tar.gz: 1b70a9d58962ada1d332de6fc9952355ff054c03a8df1f25944df72d99d5b202c8e3cb75eb013c4a8f6b97abff61a40da4fabee185e516847e1e2334da6cb5e2
|
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, :allow_free_form?, to: :post_type
|
8
|
-
delegate :content_elements, :post_tags, to: :active_version, allow_nil: true
|
8
|
+
delegate :content_elements, :post_tags, :has_label_type, :has_label, to: :active_version, allow_nil: true
|
9
9
|
friendly_id :title, use: [:slugged, :finders]
|
10
10
|
after_create :create_preview_version
|
11
11
|
|
@@ -16,7 +16,9 @@ module Pulitzer
|
|
16
16
|
TAG_MODELS = ["Pulitzer::Tag"] + Pulitzer.tagging_models
|
17
17
|
|
18
18
|
def content_element(label)
|
19
|
-
|
19
|
+
if content_elements
|
20
|
+
self.content_elements.find_by(label: label)
|
21
|
+
end
|
20
22
|
end
|
21
23
|
|
22
24
|
def should_generate_new_friendly_id?
|
@@ -5,13 +5,26 @@ module Pulitzer
|
|
5
5
|
has_many :content_elements, dependent: :destroy
|
6
6
|
has_many :post_tags, dependent: :destroy
|
7
7
|
belongs_to :post
|
8
|
-
|
8
|
+
scope :tagged_with_type, ->(label_type){includes(:post_tags).where(pulitzer_post_tags: {label_type: label_type}).references(:pulitzer_post_tags)}
|
9
|
+
scope :tagged_with_label, ->(label){includes(:post_tags).where(pulitzer_post_tags:{label_type: label.class.name, label_id: label.id}).references(:pulitzer_post_tags)}
|
9
10
|
attr_accessor :processed_element_count
|
10
11
|
|
11
12
|
delegate :allow_free_form?, :title, :slug, to: :post
|
12
13
|
|
13
14
|
validates :post_id, :status, presence: true
|
14
15
|
|
16
|
+
def has_label_type(label_type)
|
17
|
+
post_tags.where(label_type: label_type).any?
|
18
|
+
end
|
19
|
+
|
20
|
+
def has_label(label)
|
21
|
+
post_tags.where(label_type: label.class.name, label_id: label.id).any?
|
22
|
+
end
|
23
|
+
|
24
|
+
def post_tags_for(label_type)
|
25
|
+
post_tags.where(label_type: label_type)
|
26
|
+
end
|
27
|
+
|
15
28
|
def content_element(label)
|
16
29
|
self.content_elements.find_by(label: label)
|
17
30
|
end
|
data/lib/pulitzer/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -21728,3 +21728,2239 @@ Pulitzer::CloneVersion !!!
|
|
21728
21728
|
[1m[35m (0.0ms)[0m commit transaction
|
21729
21729
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
21730
21730
|
[1m[35m (0.1ms)[0m rollback transaction
|
21731
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
21732
|
+
[1m[35m (1.2ms)[0m DELETE FROM "pulitzer_content_element_types";
|
21733
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
21734
|
+
[1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
|
21735
|
+
[1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
|
21736
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
21737
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
|
21738
|
+
[1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
|
21739
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
21740
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
|
21741
|
+
[1m[36m (1.1ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
|
21742
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
21743
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
|
21744
|
+
[1m[35m (0.9ms)[0m DELETE FROM "pulitzer_posts";
|
21745
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
21746
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
|
21747
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
|
21748
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
21749
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
|
21750
|
+
[1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
|
21751
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
21752
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
|
21753
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "search_locations";[0m
|
21754
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
21755
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
|
21756
|
+
[1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_tags";
|
21757
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
21758
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
|
21759
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
21760
|
+
[1m[35m (0.0ms)[0m commit transaction
|
21761
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
21762
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21763
|
+
[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-01-28 19:53:08.331595"], ["updated_at", "2016-01-28 19:53:08.331595"]]
|
21764
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
21765
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21766
|
+
[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"]]
|
21767
|
+
[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-01-28 19:53:08.452741"], ["updated_at", "2016-01-28 19:53:08.452741"]]
|
21768
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:08.463043"], ["updated_at", "2016-01-28 19:53:08.463043"]]
|
21769
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21770
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21771
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 19:53:08.466098"], ["updated_at", "2016-01-28 19:53:08.466098"]]
|
21772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21774
|
+
[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
|
21775
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-28 19:53:08.478566"], ["updated_at", "2016-01-28 19:53:08.478566"]]
|
21776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21778
|
+
[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 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-01-28 19:53:08.480987"], ["updated_at", "2016-01-28 19:53:08.480987"]]
|
21779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21781
|
+
[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
|
21782
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-28 19:53:08.483939"], ["updated_at", "2016-01-28 19:53:08.483939"]]
|
21783
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21784
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21785
|
+
[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-01-28 19:53:08.485544"], ["updated_at", "2016-01-28 19:53:08.485544"]]
|
21786
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21787
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21788
|
+
[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
|
21789
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-28 19:53:08.488131"], ["updated_at", "2016-01-28 19:53:08.488131"]]
|
21790
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21792
|
+
[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 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-01-28 19:53:08.489561"], ["updated_at", "2016-01-28 19:53:08.489561"]]
|
21793
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21794
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
|
21795
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21796
|
+
[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-01-28 19:53:08.494409"], ["updated_at", "2016-01-28 19:53:08.494409"]]
|
21797
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21798
|
+
Pulitzer::CloneVersion !!!
|
21799
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
21800
|
+
[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]]
|
21801
|
+
[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]]
|
21802
|
+
[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]]
|
21803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21804
|
+
[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 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-01-28 19:53:08.480987"], ["updated_at", "2016-01-28 19:53:08.480987"]]
|
21805
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21807
|
+
[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-01-28 19:53:08.502771"], ["id", 4]]
|
21808
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21809
|
+
[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]]
|
21810
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21811
|
+
[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-01-28 19:53:08.485544"], ["updated_at", "2016-01-28 19:53:08.485544"]]
|
21812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21813
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21814
|
+
[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-01-28 19:53:08.508907"], ["id", 5]]
|
21815
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21816
|
+
[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]]
|
21817
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21818
|
+
[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-01-28 19:53:08.489561"], ["updated_at", "2016-01-28 19:53:08.489561"]]
|
21819
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21820
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21821
|
+
[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-01-28 19:53:08.513804"], ["id", 6]]
|
21822
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21823
|
+
[1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
|
21824
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21825
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 19:53:08.517075"], ["id", 3]]
|
21826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21827
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
|
21828
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
21829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
21830
|
+
[1m[35m (0.1ms)[0m commit transaction
|
21831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
21832
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21833
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-28 19:53:08.527387"], ["updated_at", "2016-01-28 19:53:08.527387"]]
|
21834
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21835
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21836
|
+
[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-2"]]
|
21837
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-28 19:53:08.530108"], ["updated_at", "2016-01-28 19:53:08.530108"]]
|
21838
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:08.532180"], ["updated_at", "2016-01-28 19:53:08.532180"]]
|
21839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21840
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21841
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 19:53:08.533776"], ["updated_at", "2016-01-28 19:53:08.533776"]]
|
21842
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21843
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21844
|
+
[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
|
21845
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-28 19:53:08.536514"], ["updated_at", "2016-01-28 19:53:08.536514"]]
|
21846
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21847
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21848
|
+
[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-01-28 19:53:08.538064"], ["updated_at", "2016-01-28 19:53:08.538064"]]
|
21849
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21850
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21851
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
|
21852
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-28 19:53:08.542739"], ["updated_at", "2016-01-28 19:53:08.542739"]]
|
21853
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21855
|
+
[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-01-28 19:53:08.544645"], ["updated_at", "2016-01-28 19:53:08.544645"]]
|
21856
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21857
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21858
|
+
[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
|
21859
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-28 19:53:08.547912"], ["updated_at", "2016-01-28 19:53:08.547912"]]
|
21860
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21861
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21862
|
+
[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-01-28 19:53:08.549560"], ["updated_at", "2016-01-28 19:53:08.549560"]]
|
21863
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21865
|
+
[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-01-28 19:53:08.551621"], ["updated_at", "2016-01-28 19:53:08.551621"]]
|
21866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21867
|
+
Pulitzer::CloneVersion !!!
|
21868
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
21869
|
+
[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]]
|
21870
|
+
[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]]
|
21871
|
+
[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]]
|
21872
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21873
|
+
[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-01-28 19:53:08.538064"], ["updated_at", "2016-01-28 19:53:08.538064"]]
|
21874
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21875
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21876
|
+
[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-01-28 19:53:08.557860"], ["id", 4]]
|
21877
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21878
|
+
[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]]
|
21879
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21880
|
+
[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-01-28 19:53:08.544645"], ["updated_at", "2016-01-28 19:53:08.544645"]]
|
21881
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21882
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21883
|
+
[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-01-28 19:53:08.562952"], ["id", 5]]
|
21884
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21885
|
+
[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]]
|
21886
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21887
|
+
[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-01-28 19:53:08.549560"], ["updated_at", "2016-01-28 19:53:08.549560"]]
|
21888
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21889
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21890
|
+
[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-01-28 19:53:08.568638"], ["id", 6]]
|
21891
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21892
|
+
[1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
21893
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21894
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-28 19:53:08.571007"], ["id", 3]]
|
21895
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21896
|
+
[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 LIMIT 1 [["version_id", 3]]
|
21897
|
+
[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]]
|
21898
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
21899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
21900
|
+
[1m[35m (0.1ms)[0m commit transaction
|
21901
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
21902
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21903
|
+
[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-01-28 19:53:08.584063"], ["updated_at", "2016-01-28 19:53:08.584063"]]
|
21904
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
21905
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21906
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
|
21907
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-28 19:53:08.592109"], ["updated_at", "2016-01-28 19:53:08.592109"]]
|
21908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21910
|
+
[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 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-01-28 19:53:08.594513"], ["updated_at", "2016-01-28 19:53:08.594513"]]
|
21911
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21912
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21913
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
|
21914
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-28 19:53:08.597029"], ["updated_at", "2016-01-28 19:53:08.597029"]]
|
21915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21916
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21917
|
+
[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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-28 19:53:08.598318"], ["updated_at", "2016-01-28 19:53:08.598318"]]
|
21918
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21920
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
|
21921
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-28 19:53:08.600473"], ["updated_at", "2016-01-28 19:53:08.600473"]]
|
21922
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
21923
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21924
|
+
[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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-01-28 19:53:08.601866"], ["updated_at", "2016-01-28 19:53:08.601866"]]
|
21925
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21926
|
+
[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]]
|
21927
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21928
|
+
[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"]]
|
21929
|
+
[1m[36mSQL (0.1ms)[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-01-28 19:53:08.606453"], ["updated_at", "2016-01-28 19:53:08.606453"]]
|
21930
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:08.608192"], ["updated_at", "2016-01-28 19:53:08.608192"]]
|
21931
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21932
|
+
[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]]
|
21933
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
|
21934
|
+
[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]]
|
21935
|
+
[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]]
|
21936
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21937
|
+
[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]]
|
21938
|
+
[1m[35mSQL (0.3ms)[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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-01-28 19:53:08.616732"], ["updated_at", "2016-01-28 19:53:08.616732"]]
|
21939
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21940
|
+
[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]]
|
21941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21942
|
+
[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]]
|
21943
|
+
[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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-01-28 19:53:08.621797"], ["updated_at", "2016-01-28 19:53:08.621797"]]
|
21944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21945
|
+
[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]]
|
21946
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21947
|
+
[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]]
|
21948
|
+
[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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-01-28 19:53:08.626193"], ["updated_at", "2016-01-28 19:53:08.626193"]]
|
21949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21950
|
+
[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]]
|
21951
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
|
21952
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
21953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
21954
|
+
[1m[35m (0.0ms)[0m commit transaction
|
21955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
21956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21957
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-28 19:53:08.634274"], ["updated_at", "2016-01-28 19:53:08.634274"]]
|
21958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21959
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21960
|
+
[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"]]
|
21961
|
+
[1m[36mSQL (0.3ms)[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-01-28 19:53:08.636784"], ["updated_at", "2016-01-28 19:53:08.636784"]]
|
21962
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:08.638609"], ["updated_at", "2016-01-28 19:53:08.638609"]]
|
21963
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21964
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21965
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 19:53:08.639986"], ["updated_at", "2016-01-28 19:53:08.639986"]]
|
21966
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21967
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
21968
|
+
[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
|
21969
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-28 19:53:08.643816"], ["updated_at", "2016-01-28 19:53:08.643816"]]
|
21970
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
21971
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21972
|
+
[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-01-28 19:53:08.645750"], ["updated_at", "2016-01-28 19:53:08.645750"]]
|
21973
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21974
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21975
|
+
[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
|
21976
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-28 19:53:08.648563"], ["updated_at", "2016-01-28 19:53:08.648563"]]
|
21977
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21978
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21979
|
+
[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-01-28 19:53:08.650037"], ["updated_at", "2016-01-28 19:53:08.650037"]]
|
21980
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
21981
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21982
|
+
[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
|
21983
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-28 19:53:08.652657"], ["updated_at", "2016-01-28 19:53:08.652657"]]
|
21984
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
21985
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21986
|
+
[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-01-28 19:53:08.654097"], ["updated_at", "2016-01-28 19:53:08.654097"]]
|
21987
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21988
|
+
[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]]
|
21989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
21990
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-28 19:53:08.656386"], ["id", 2]]
|
21991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
21992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
21993
|
+
[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-01-28 19:53:08.657843"], ["updated_at", "2016-01-28 19:53:08.657843"]]
|
21994
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
21995
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c99c9fd4-023e-4e1b-9c97-8fbffc3b212e) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
21996
|
+
[ActiveJob] [1m[36mPulitzer::Version Load (0.2ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
21997
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
21998
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
21999
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] Pulitzer::CloneVersion !!!
|
22000
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22001
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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]]
|
22002
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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]]
|
22003
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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]]
|
22004
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22005
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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-01-28 19:53:08.645750"], ["updated_at", "2016-01-28 19:53:08.645750"]]
|
22006
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22007
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22008
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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-01-28 19:53:08.672761"], ["id", 4]]
|
22009
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22010
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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]]
|
22011
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22012
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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-01-28 19:53:08.650037"], ["updated_at", "2016-01-28 19:53:08.650037"]]
|
22013
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22014
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22015
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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-01-28 19:53:08.678641"], ["id", 5]]
|
22016
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22017
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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]]
|
22018
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22019
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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-01-28 19:53:08.654097"], ["updated_at", "2016-01-28 19:53:08.654097"]]
|
22020
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22021
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22022
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [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-01-28 19:53:08.683236"], ["id", 6]]
|
22023
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22024
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
22025
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22026
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-28 19:53:08.685218"], ["id", 3]]
|
22027
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22028
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c99c9fd4-023e-4e1b-9c97-8fbffc3b212e] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.88ms
|
22029
|
+
[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]]
|
22030
|
+
[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]]
|
22031
|
+
[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]]
|
22032
|
+
[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]]
|
22033
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
|
22034
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
22035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22036
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22037
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22039
|
+
[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-01-28 19:53:08.698916"], ["updated_at", "2016-01-28 19:53:08.698916"]]
|
22040
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22041
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22042
|
+
[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-5"]]
|
22043
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-28 19:53:08.701841"], ["updated_at", "2016-01-28 19:53:08.701841"]]
|
22044
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 19:53:08.703798"], ["updated_at", "2016-01-28 19:53:08.703798"]]
|
22045
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22046
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22047
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:08.705596"], ["updated_at", "2016-01-28 19:53:08.705596"]]
|
22048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22049
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22050
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
|
22051
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-28 19:53:08.709149"], ["updated_at", "2016-01-28 19:53:08.709149"]]
|
22052
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22053
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22054
|
+
[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 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-01-28 19:53:08.711048"], ["updated_at", "2016-01-28 19:53:08.711048"]]
|
22055
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22057
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
|
22058
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-28 19:53:08.714075"], ["updated_at", "2016-01-28 19:53:08.714075"]]
|
22059
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22060
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22061
|
+
[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 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-01-28 19:53:08.715646"], ["updated_at", "2016-01-28 19:53:08.715646"]]
|
22062
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22063
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22064
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
|
22065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-28 19:53:08.718229"], ["updated_at", "2016-01-28 19:53:08.718229"]]
|
22066
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22068
|
+
[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 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-01-28 19:53:08.719648"], ["updated_at", "2016-01-28 19:53:08.719648"]]
|
22069
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22070
|
+
[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]]
|
22071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22072
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-28 19:53:08.721821"], ["id", 2]]
|
22073
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22074
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22075
|
+
[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-01-28 19:53:08.723414"], ["updated_at", "2016-01-28 19:53:08.723414"]]
|
22076
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22077
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 259b7f65-f8c2-408a-bef8-8dadb75e86d5) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22078
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
22079
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22080
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
22081
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] Pulitzer::CloneVersion !!!
|
22082
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22083
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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]]
|
22084
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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]]
|
22085
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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]]
|
22086
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22087
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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-01-28 19:53:08.711048"], ["updated_at", "2016-01-28 19:53:08.711048"]]
|
22088
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22089
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22090
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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-01-28 19:53:08.731564"], ["id", 4]]
|
22091
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22092
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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]]
|
22093
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22094
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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-01-28 19:53:08.715646"], ["updated_at", "2016-01-28 19:53:08.715646"]]
|
22095
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22096
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22097
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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-01-28 19:53:08.737137"], ["id", 5]]
|
22098
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22099
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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]]
|
22100
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22101
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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-01-28 19:53:08.719648"], ["updated_at", "2016-01-28 19:53:08.719648"]]
|
22102
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22103
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22104
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-28 19:53:08.741411"], ["id", 6]]
|
22105
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22106
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [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]]
|
22107
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22108
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 19:53:08.744126"], ["id", 3]]
|
22109
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22110
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [259b7f65-f8c2-408a-bef8-8dadb75e86d5] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.56ms
|
22111
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
22112
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
22113
|
+
[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]]
|
22114
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
22115
|
+
[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]]
|
22116
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22117
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-28 19:53:08.751421"], ["id", 3]]
|
22118
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22119
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22120
|
+
[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-01-28 19:53:08.753010"], ["updated_at", "2016-01-28 19:53:08.753010"]]
|
22121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22122
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4e92c422-ff33-4a5c-90ec-7ac8f9b16734) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22123
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
22124
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22125
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
22126
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] Pulitzer::CloneVersion !!!
|
22127
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22128
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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]]
|
22129
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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]]
|
22130
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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]]
|
22131
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22132
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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-01-28 19:53:08.711048"], ["updated_at", "2016-01-28 19:53:08.711048"]]
|
22133
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22134
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22135
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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-01-28 19:53:08.761611"], ["id", 7]]
|
22136
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22137
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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]]
|
22138
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22139
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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-01-28 19:53:08.715646"], ["updated_at", "2016-01-28 19:53:08.715646"]]
|
22140
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22141
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22142
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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-01-28 19:53:08.765831"], ["id", 8]]
|
22143
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22144
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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]]
|
22145
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22146
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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-01-28 19:53:08.719648"], ["updated_at", "2016-01-28 19:53:08.719648"]]
|
22147
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22148
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22149
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-28 19:53:08.769968"], ["id", 9]]
|
22150
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22151
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [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]]
|
22152
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22153
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 19:53:08.771785"], ["id", 4]]
|
22154
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22155
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e92c422-ff33-4a5c-90ec-7ac8f9b16734] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.3ms
|
22156
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
|
22157
|
+
[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]]
|
22158
|
+
[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]]
|
22159
|
+
[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]]
|
22160
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
|
22161
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
22162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22163
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22165
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22167
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22170
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
|
22171
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-28 19:53:08.790476"], ["updated_at", "2016-01-28 19:53:08.790476"]]
|
22172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22173
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22175
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22177
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22179
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22181
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22183
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22185
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22186
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22187
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22188
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22189
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22191
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22193
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22194
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
|
22195
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-28 19:53:08.808637"], ["updated_at", "2016-01-28 19:53:08.808637"]]
|
22196
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22197
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
22198
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22199
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22202
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
|
22203
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-28 19:53:08.815555"], ["updated_at", "2016-01-28 19:53:08.815555"]]
|
22204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22205
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22206
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22207
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22208
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22210
|
+
[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
|
22211
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-28 19:53:08.822449"], ["updated_at", "2016-01-28 19:53:08.822449"]]
|
22212
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22213
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
22214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22215
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22217
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22218
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
|
22219
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-28 19:53:08.829029"], ["updated_at", "2016-01-28 19:53:08.829029"]]
|
22220
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22221
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22222
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-28 19:53:08.830975"], ["updated_at", "2016-01-28 19:53:08.830975"]]
|
22223
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22224
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
22225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22226
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
22227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22228
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22229
|
+
[1m[35mPulitzer::ContentElementType Exists (0.3ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
|
22230
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-28 19:53:08.850651"], ["updated_at", "2016-01-28 19:53:08.850651"]]
|
22231
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22232
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22233
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-28 19:53:08.854459"], ["updated_at", "2016-01-28 19:53:08.854459"]]
|
22234
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22235
|
+
[1m[35m (2.6ms)[0m rollback transaction
|
22236
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22237
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22239
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22240
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
|
22241
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-28 19:53:08.865097"], ["updated_at", "2016-01-28 19:53:08.865097"]]
|
22242
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22243
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
22244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22245
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22246
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22248
|
+
[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
|
22249
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-28 19:53:08.870932"], ["updated_at", "2016-01-28 19:53:08.870932"]]
|
22250
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22251
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22253
|
+
[1m[35m (0.3ms)[0m commit transaction
|
22254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22255
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22256
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
|
22257
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-28 19:53:08.878664"], ["updated_at", "2016-01-28 19:53:08.878664"]]
|
22258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22259
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22261
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22264
|
+
[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-01-28 19:53:09.034997"], ["updated_at", "2016-01-28 19:53:09.034997"]]
|
22265
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22266
|
+
[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-6"]]
|
22267
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22269
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22273
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22274
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22275
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22277
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22278
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22279
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22280
|
+
[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-01-28 19:53:09.051508"], ["updated_at", "2016-01-28 19:53:09.051508"]]
|
22281
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22283
|
+
[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-7"]]
|
22284
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-28 19:53:09.054948"], ["updated_at", "2016-01-28 19:53:09.054948"]]
|
22285
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:09.057642"], ["updated_at", "2016-01-28 19:53:09.057642"]]
|
22286
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22287
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
22288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22289
|
+
[1m[35m (0.3ms)[0m commit transaction
|
22290
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22291
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22292
|
+
[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-01-28 19:53:09.064412"], ["updated_at", "2016-01-28 19:53:09.064412"]]
|
22293
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22294
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22295
|
+
[1m[35mPulitzer::Post Exists (0.5ms)[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"]]
|
22296
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-28 19:53:09.069677"], ["updated_at", "2016-01-28 19:53:09.069677"]]
|
22297
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:09.073416"], ["updated_at", "2016-01-28 19:53:09.073416"]]
|
22298
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22299
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22300
|
+
[1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
|
22301
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-28 19:53:09.078531"], ["id", 1]]
|
22302
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22303
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
22304
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
22305
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22307
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22308
|
+
[1m[36mPulitzer::Tag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
|
22309
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-28 19:53:09.096022"], ["updated_at", "2016-01-28 19:53:09.096022"]]
|
22310
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22311
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
22312
|
+
[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-01-28 19:53:09.107790"], ["updated_at", "2016-01-28 19:53:09.107790"]]
|
22313
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22315
|
+
[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-9"]]
|
22316
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-28 19:53:09.111686"], ["updated_at", "2016-01-28 19:53:09.111686"]]
|
22317
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:09.113775"], ["updated_at", "2016-01-28 19:53:09.113775"]]
|
22318
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22319
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22320
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 19:53:09.117260"], ["updated_at", "2016-01-28 19:53:09.117260"]]
|
22321
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22322
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
22323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22324
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22325
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22326
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22328
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22330
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22331
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22332
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22334
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22335
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22336
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22337
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22338
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22340
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22341
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22342
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22343
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22344
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22347
|
+
[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-01-28 19:53:09.141946"], ["updated_at", "2016-01-28 19:53:09.141946"]]
|
22348
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22349
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22350
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
|
22351
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-28 19:53:09.145602"], ["updated_at", "2016-01-28 19:53:09.145602"]]
|
22352
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22353
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
22354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22355
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22357
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22358
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22359
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22360
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22361
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22363
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22365
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
22366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22367
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22369
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22370
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
22371
|
+
[1m[35m (0.2ms)[0m commit transaction
|
22372
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
22373
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22375
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22377
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22378
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22379
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22381
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22383
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22384
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22385
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22386
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22387
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22388
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22389
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22390
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22391
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22393
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22395
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22397
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22399
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22401
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
|
22402
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22403
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22404
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22405
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22406
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
|
22407
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22408
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22409
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22410
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22411
|
+
[1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
|
22412
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22413
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-28 19:53:09.194472"], ["updated_at", "2016-01-28 19:53:09.194472"]]
|
22414
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22415
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
|
22416
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
|
22417
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22419
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22421
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22423
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22424
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22425
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22427
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22429
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22430
|
+
[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-01-28 19:53:09.211015"], ["updated_at", "2016-01-28 19:53:09.211015"]]
|
22431
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22432
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22433
|
+
[1m[35mPulitzer::Post Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
|
22434
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-28 19:53:09.214951"], ["updated_at", "2016-01-28 19:53:09.214951"]]
|
22435
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 19:53:09.217919"], ["updated_at", "2016-01-28 19:53:09.217919"]]
|
22436
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22437
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
22438
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22439
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22440
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22441
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22443
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22444
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22445
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22447
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22449
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22450
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22451
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22454
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22455
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22457
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22458
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22459
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22461
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22462
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
22463
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
22464
|
+
[1m[35m (1.8ms)[0m DELETE FROM "pulitzer_content_element_types";
|
22465
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
22466
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
|
22467
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
|
22468
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
22469
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
|
22470
|
+
[1m[35m (0.9ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
|
22471
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
22472
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
|
22473
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
|
22474
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
22475
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
|
22476
|
+
[1m[35m (0.8ms)[0m DELETE FROM "pulitzer_posts";
|
22477
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
22478
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
|
22479
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
|
22480
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
22481
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
|
22482
|
+
[1m[35m (0.9ms)[0m DELETE FROM "pulitzer_versions";
|
22483
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
22484
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
|
22485
|
+
[1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
|
22486
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
22487
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
|
22488
|
+
[1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_tags";
|
22489
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
22490
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
|
22491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22492
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22494
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22495
|
+
[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-01-28 20:00:38.528064"], ["updated_at", "2016-01-28 20:00:38.528064"]]
|
22496
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22498
|
+
[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"]]
|
22499
|
+
[1m[36mSQL (0.4ms)[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-01-28 20:00:38.644342"], ["updated_at", "2016-01-28 20:00:38.644342"]]
|
22500
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:38.654400"], ["updated_at", "2016-01-28 20:00:38.654400"]]
|
22501
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22503
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:00:38.657347"], ["updated_at", "2016-01-28 20:00:38.657347"]]
|
22504
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22505
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22506
|
+
[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
|
22507
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-28 20:00:38.671489"], ["updated_at", "2016-01-28 20:00:38.671489"]]
|
22508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22509
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22510
|
+
[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 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-01-28 20:00:38.674023"], ["updated_at", "2016-01-28 20:00:38.674023"]]
|
22511
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22512
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22513
|
+
[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
|
22514
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-28 20:00:38.677224"], ["updated_at", "2016-01-28 20:00:38.677224"]]
|
22515
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22516
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22517
|
+
[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-01-28 20:00:38.678847"], ["updated_at", "2016-01-28 20:00:38.678847"]]
|
22518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22520
|
+
[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
|
22521
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-28 20:00:38.681405"], ["updated_at", "2016-01-28 20:00:38.681405"]]
|
22522
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22523
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22524
|
+
[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 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-01-28 20:00:38.682792"], ["updated_at", "2016-01-28 20:00:38.682792"]]
|
22525
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22526
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
|
22527
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22528
|
+
[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-01-28 20:00:38.687572"], ["updated_at", "2016-01-28 20:00:38.687572"]]
|
22529
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22530
|
+
Pulitzer::CloneVersion !!!
|
22531
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22532
|
+
[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]]
|
22533
|
+
[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]]
|
22534
|
+
[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]]
|
22535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22536
|
+
[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 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-01-28 20:00:38.674023"], ["updated_at", "2016-01-28 20:00:38.674023"]]
|
22537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22538
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22539
|
+
[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-01-28 20:00:38.695877"], ["id", 4]]
|
22540
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22541
|
+
[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]]
|
22542
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22543
|
+
[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-01-28 20:00:38.678847"], ["updated_at", "2016-01-28 20:00:38.678847"]]
|
22544
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22545
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22546
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-28 20:00:38.701468"], ["id", 5]]
|
22547
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22548
|
+
[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]]
|
22549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22550
|
+
[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-01-28 20:00:38.682792"], ["updated_at", "2016-01-28 20:00:38.682792"]]
|
22551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22552
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22553
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-28 20:00:38.705705"], ["id", 6]]
|
22554
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22555
|
+
[1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
|
22556
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22557
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 20:00:38.709118"], ["id", 3]]
|
22558
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22559
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
|
22560
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
22561
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22562
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22565
|
+
[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-01-28 20:00:38.719632"], ["updated_at", "2016-01-28 20:00:38.719632"]]
|
22566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22567
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22568
|
+
[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-2"]]
|
22569
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-28 20:00:38.722549"], ["updated_at", "2016-01-28 20:00:38.722549"]]
|
22570
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:38.724526"], ["updated_at", "2016-01-28 20:00:38.724526"]]
|
22571
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22572
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22573
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:00:38.726442"], ["updated_at", "2016-01-28 20:00:38.726442"]]
|
22574
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22575
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22576
|
+
[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
|
22577
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-28 20:00:38.729020"], ["updated_at", "2016-01-28 20:00:38.729020"]]
|
22578
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22579
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22580
|
+
[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-01-28 20:00:38.730483"], ["updated_at", "2016-01-28 20:00:38.730483"]]
|
22581
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22583
|
+
[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
|
22584
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-28 20:00:38.733055"], ["updated_at", "2016-01-28 20:00:38.733055"]]
|
22585
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22586
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22587
|
+
[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-01-28 20:00:38.734496"], ["updated_at", "2016-01-28 20:00:38.734496"]]
|
22588
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22589
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22590
|
+
[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
|
22591
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-28 20:00:38.737042"], ["updated_at", "2016-01-28 20:00:38.737042"]]
|
22592
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22593
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22594
|
+
[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-01-28 20:00:38.738606"], ["updated_at", "2016-01-28 20:00:38.738606"]]
|
22595
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22597
|
+
[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-01-28 20:00:38.740746"], ["updated_at", "2016-01-28 20:00:38.740746"]]
|
22598
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22599
|
+
Pulitzer::CloneVersion !!!
|
22600
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22601
|
+
[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]]
|
22602
|
+
[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]]
|
22603
|
+
[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]]
|
22604
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22605
|
+
[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-01-28 20:00:38.730483"], ["updated_at", "2016-01-28 20:00:38.730483"]]
|
22606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22608
|
+
[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-01-28 20:00:38.748552"], ["id", 4]]
|
22609
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22610
|
+
[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]]
|
22611
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22612
|
+
[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-01-28 20:00:38.734496"], ["updated_at", "2016-01-28 20:00:38.734496"]]
|
22613
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22614
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22615
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-28 20:00:38.755464"], ["id", 5]]
|
22616
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22617
|
+
[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]]
|
22618
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22619
|
+
[1m[36mSQL (0.2ms)[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-01-28 20:00:38.738606"], ["updated_at", "2016-01-28 20:00:38.738606"]]
|
22620
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
22621
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22622
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-28 20:00:38.763224"], ["id", 6]]
|
22623
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22624
|
+
[1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
22625
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22626
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-28 20:00:38.767849"], ["id", 3]]
|
22627
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22628
|
+
[1m[35mPulitzer::ContentElement Load (0.2ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]]
|
22629
|
+
[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]]
|
22630
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
22631
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22632
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22634
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22635
|
+
[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-01-28 20:00:38.780343"], ["updated_at", "2016-01-28 20:00:38.780343"]]
|
22636
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22637
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22638
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
|
22639
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-28 20:00:38.789384"], ["updated_at", "2016-01-28 20:00:38.789384"]]
|
22640
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22641
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22642
|
+
[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 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-01-28 20:00:38.792018"], ["updated_at", "2016-01-28 20:00:38.792018"]]
|
22643
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22644
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22645
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
|
22646
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-28 20:00:38.794747"], ["updated_at", "2016-01-28 20:00:38.794747"]]
|
22647
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22649
|
+
[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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-28 20:00:38.796147"], ["updated_at", "2016-01-28 20:00:38.796147"]]
|
22650
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22651
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22652
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
|
22653
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-28 20:00:38.799563"], ["updated_at", "2016-01-28 20:00:38.799563"]]
|
22654
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22655
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22656
|
+
[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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-01-28 20:00:38.802023"], ["updated_at", "2016-01-28 20:00:38.802023"]]
|
22657
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22658
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
|
22659
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22660
|
+
[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-3"]]
|
22661
|
+
[1m[36mSQL (0.2ms)[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-01-28 20:00:38.809902"], ["updated_at", "2016-01-28 20:00:38.809902"]]
|
22662
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:38.812570"], ["updated_at", "2016-01-28 20:00:38.812570"]]
|
22663
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22664
|
+
[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]]
|
22665
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
|
22666
|
+
[1m[35mPulitzer::PostTypeContentElementType Load (0.3ms)[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]]
|
22667
|
+
[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]]
|
22668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22669
|
+
[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]]
|
22670
|
+
[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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-01-28 20:00:38.826908"], ["updated_at", "2016-01-28 20:00:38.826908"]]
|
22671
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22672
|
+
[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]]
|
22673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22674
|
+
[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]]
|
22675
|
+
[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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-01-28 20:00:38.833310"], ["updated_at", "2016-01-28 20:00:38.833310"]]
|
22676
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22677
|
+
[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]]
|
22678
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22679
|
+
[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]]
|
22680
|
+
[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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-01-28 20:00:38.839207"], ["updated_at", "2016-01-28 20:00:38.839207"]]
|
22681
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22682
|
+
[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]]
|
22683
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
|
22684
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
22685
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22686
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22689
|
+
[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-01-28 20:00:38.848867"], ["updated_at", "2016-01-28 20:00:38.848867"]]
|
22690
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22692
|
+
[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-4"]]
|
22693
|
+
[1m[36mSQL (0.6ms)[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-01-28 20:00:38.852411"], ["updated_at", "2016-01-28 20:00:38.852411"]]
|
22694
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:38.855541"], ["updated_at", "2016-01-28 20:00:38.855541"]]
|
22695
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22696
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22697
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:00:38.857902"], ["updated_at", "2016-01-28 20:00:38.857902"]]
|
22698
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22699
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22700
|
+
[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
|
22701
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-28 20:00:38.861510"], ["updated_at", "2016-01-28 20:00:38.861510"]]
|
22702
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22703
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22704
|
+
[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 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-01-28 20:00:38.863683"], ["updated_at", "2016-01-28 20:00:38.863683"]]
|
22705
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22706
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22707
|
+
[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
|
22708
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-28 20:00:38.867706"], ["updated_at", "2016-01-28 20:00:38.867706"]]
|
22709
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22710
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22711
|
+
[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-01-28 20:00:38.869694"], ["updated_at", "2016-01-28 20:00:38.869694"]]
|
22712
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22713
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22714
|
+
[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
|
22715
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-28 20:00:38.873224"], ["updated_at", "2016-01-28 20:00:38.873224"]]
|
22716
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22717
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22718
|
+
[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-01-28 20:00:38.875172"], ["updated_at", "2016-01-28 20:00:38.875172"]]
|
22719
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22720
|
+
[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]]
|
22721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22722
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-28 20:00:38.877850"], ["id", 2]]
|
22723
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22724
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22725
|
+
[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-01-28 20:00:38.880163"], ["updated_at", "2016-01-28 20:00:38.880163"]]
|
22726
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22727
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 92915849-b535-4901-87f0-4624843b1692) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22728
|
+
[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
22729
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22730
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
22731
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] Pulitzer::CloneVersion !!!
|
22732
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22733
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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]]
|
22734
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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]]
|
22735
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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]]
|
22736
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22737
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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-01-28 20:00:38.863683"], ["updated_at", "2016-01-28 20:00:38.863683"]]
|
22738
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22739
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22740
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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-01-28 20:00:38.894865"], ["id", 4]]
|
22741
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22742
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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]]
|
22743
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22744
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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-01-28 20:00:38.869694"], ["updated_at", "2016-01-28 20:00:38.869694"]]
|
22745
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22746
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22747
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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-01-28 20:00:38.900756"], ["id", 5]]
|
22748
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22749
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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]]
|
22750
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22751
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [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-01-28 20:00:38.875172"], ["updated_at", "2016-01-28 20:00:38.875172"]]
|
22752
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22753
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22754
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-28 20:00:38.905903"], ["id", 6]]
|
22755
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22756
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
22757
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22758
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-28 20:00:38.907780"], ["id", 3]]
|
22759
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22760
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [92915849-b535-4901-87f0-4624843b1692] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.78ms
|
22761
|
+
[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]]
|
22762
|
+
[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]]
|
22763
|
+
[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]]
|
22764
|
+
[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]]
|
22765
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
|
22766
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
22767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22768
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22769
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22770
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22771
|
+
[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-01-28 20:00:38.919475"], ["updated_at", "2016-01-28 20:00:38.919475"]]
|
22772
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22773
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22774
|
+
[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-5"]]
|
22775
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-28 20:00:38.922262"], ["updated_at", "2016-01-28 20:00:38.922262"]]
|
22776
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:00:38.924118"], ["updated_at", "2016-01-28 20:00:38.924118"]]
|
22777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22778
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22779
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:38.925898"], ["updated_at", "2016-01-28 20:00:38.925898"]]
|
22780
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22782
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
|
22783
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-28 20:00:38.928773"], ["updated_at", "2016-01-28 20:00:38.928773"]]
|
22784
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22786
|
+
[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 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-01-28 20:00:38.930343"], ["updated_at", "2016-01-28 20:00:38.930343"]]
|
22787
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22789
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
|
22790
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-28 20:00:38.932908"], ["updated_at", "2016-01-28 20:00:38.932908"]]
|
22791
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22792
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22793
|
+
[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 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-01-28 20:00:38.934307"], ["updated_at", "2016-01-28 20:00:38.934307"]]
|
22794
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22795
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22796
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
|
22797
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-28 20:00:38.937450"], ["updated_at", "2016-01-28 20:00:38.937450"]]
|
22798
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22799
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22800
|
+
[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 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-01-28 20:00:38.939119"], ["updated_at", "2016-01-28 20:00:38.939119"]]
|
22801
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22802
|
+
[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]]
|
22803
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22804
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-28 20:00:38.941302"], ["id", 2]]
|
22805
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22806
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22807
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-28 20:00:38.942705"], ["updated_at", "2016-01-28 20:00:38.942705"]]
|
22808
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22809
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22810
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
22811
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22812
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
22813
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] Pulitzer::CloneVersion !!!
|
22814
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22815
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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]]
|
22816
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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]]
|
22817
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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]]
|
22818
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22819
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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-01-28 20:00:38.930343"], ["updated_at", "2016-01-28 20:00:38.930343"]]
|
22820
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22821
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22822
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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-01-28 20:00:38.950592"], ["id", 4]]
|
22823
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22824
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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]]
|
22825
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22826
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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-01-28 20:00:38.934307"], ["updated_at", "2016-01-28 20:00:38.934307"]]
|
22827
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22828
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22829
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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-01-28 20:00:38.957582"], ["id", 5]]
|
22830
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22831
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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", 3]]
|
22832
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22833
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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-01-28 20:00:38.939119"], ["updated_at", "2016-01-28 20:00:38.939119"]]
|
22834
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22835
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22836
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-28 20:00:38.962513"], ["id", 6]]
|
22837
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22838
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [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]]
|
22839
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22840
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 20:00:38.964396"], ["id", 3]]
|
22841
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22842
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [2030c8dd-9e5c-4f72-a0bf-6adf2a4c76da] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.18ms
|
22843
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
22844
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
22845
|
+
[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]]
|
22846
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
22847
|
+
[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]]
|
22848
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22849
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-28 20:00:38.971455"], ["id", 3]]
|
22850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22852
|
+
[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-01-28 20:00:38.972955"], ["updated_at", "2016-01-28 20:00:38.972955"]]
|
22853
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22854
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3990db77-d40a-467e-8a3a-ec359bd53824) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22855
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
22856
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
22857
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
22858
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] Pulitzer::CloneVersion !!!
|
22859
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
22860
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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]]
|
22861
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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]]
|
22862
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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]]
|
22863
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22864
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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-01-28 20:00:38.930343"], ["updated_at", "2016-01-28 20:00:38.930343"]]
|
22865
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22866
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22867
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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-01-28 20:00:38.980460"], ["id", 7]]
|
22868
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22869
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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]]
|
22870
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22871
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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-01-28 20:00:38.934307"], ["updated_at", "2016-01-28 20:00:38.934307"]]
|
22872
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22873
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22874
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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-01-28 20:00:38.985380"], ["id", 8]]
|
22875
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22876
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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]]
|
22877
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22878
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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-01-28 20:00:38.939119"], ["updated_at", "2016-01-28 20:00:38.939119"]]
|
22879
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22880
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22881
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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-01-28 20:00:38.991094"], ["id", 9]]
|
22882
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22883
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [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]]
|
22884
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22885
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 20:00:38.993363"], ["id", 4]]
|
22886
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22887
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [3990db77-d40a-467e-8a3a-ec359bd53824] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.88ms
|
22888
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
|
22889
|
+
[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]]
|
22890
|
+
[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]]
|
22891
|
+
[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]]
|
22892
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
|
22893
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
22894
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22895
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22897
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22899
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22901
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22902
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
|
22903
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-28 20:00:39.009122"], ["updated_at", "2016-01-28 20:00:39.009122"]]
|
22904
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22905
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22907
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22909
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22911
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22913
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22915
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22917
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22919
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22921
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22923
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22925
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22926
|
+
[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
|
22927
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-28 20:00:39.023425"], ["updated_at", "2016-01-28 20:00:39.023425"]]
|
22928
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22929
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
22930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22931
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22934
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
|
22935
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-28 20:00:39.028353"], ["updated_at", "2016-01-28 20:00:39.028353"]]
|
22936
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22937
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
22938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22939
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22942
|
+
[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
|
22943
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-28 20:00:39.033210"], ["updated_at", "2016-01-28 20:00:39.033210"]]
|
22944
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22945
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
22946
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22947
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22950
|
+
[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
|
22951
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-28 20:00:39.039587"], ["updated_at", "2016-01-28 20:00:39.039587"]]
|
22952
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22954
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-28 20:00:39.042453"], ["updated_at", "2016-01-28 20:00:39.042453"]]
|
22955
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22956
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
22957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22958
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
22959
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22960
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
22961
|
+
[1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
|
22962
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-28 20:00:39.049465"], ["updated_at", "2016-01-28 20:00:39.049465"]]
|
22963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
22964
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
22965
|
+
[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 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-28 20:00:39.051321"], ["updated_at", "2016-01-28 20:00:39.051321"]]
|
22966
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22967
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
22968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22969
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22970
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22972
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
|
22973
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-28 20:00:39.057506"], ["updated_at", "2016-01-28 20:00:39.057506"]]
|
22974
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22975
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22977
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22978
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22979
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22980
|
+
[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
|
22981
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-28 20:00:39.063384"], ["updated_at", "2016-01-28 20:00:39.063384"]]
|
22982
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22983
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
22984
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22985
|
+
[1m[35m (0.0ms)[0m commit transaction
|
22986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22987
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22988
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
|
22989
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-28 20:00:39.068991"], ["updated_at", "2016-01-28 20:00:39.068991"]]
|
22990
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22991
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
22992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22993
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22995
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22996
|
+
[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-01-28 20:00:39.208791"], ["updated_at", "2016-01-28 20:00:39.208791"]]
|
22997
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22998
|
+
[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-6"]]
|
22999
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23000
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23001
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23003
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23005
|
+
[1m[35m (0.3ms)[0m commit transaction
|
23006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23007
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23009
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23010
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23012
|
+
[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-01-28 20:00:39.246382"], ["updated_at", "2016-01-28 20:00:39.246382"]]
|
23013
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23015
|
+
[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-7"]]
|
23016
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-28 20:00:39.249564"], ["updated_at", "2016-01-28 20:00:39.249564"]]
|
23017
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:39.252236"], ["updated_at", "2016-01-28 20:00:39.252236"]]
|
23018
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23019
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
23020
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23021
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23022
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23023
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23024
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-28 20:00:39.257790"], ["updated_at", "2016-01-28 20:00:39.257790"]]
|
23025
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23026
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23027
|
+
[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-8"]]
|
23028
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-28 20:00:39.263801"], ["updated_at", "2016-01-28 20:00:39.263801"]]
|
23029
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:39.266772"], ["updated_at", "2016-01-28 20:00:39.266772"]]
|
23030
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23031
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23032
|
+
[1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
|
23033
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-28 20:00:39.271903"], ["id", 1]]
|
23034
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23035
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
23036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23037
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23038
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23039
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23040
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
|
23041
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-28 20:00:39.287216"], ["updated_at", "2016-01-28 20:00:39.287216"]]
|
23042
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23043
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23044
|
+
[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-01-28 20:00:39.292737"], ["updated_at", "2016-01-28 20:00:39.292737"]]
|
23045
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23046
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23047
|
+
[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-9"]]
|
23048
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-28 20:00:39.296199"], ["updated_at", "2016-01-28 20:00:39.296199"]]
|
23049
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:39.298478"], ["updated_at", "2016-01-28 20:00:39.298478"]]
|
23050
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23052
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:00:39.300742"], ["updated_at", "2016-01-28 20:00:39.300742"]]
|
23053
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
23054
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
23055
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23056
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23057
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23058
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23059
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23060
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23061
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
23063
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23064
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23065
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23066
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
23067
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23068
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23070
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23071
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23072
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23073
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23074
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23075
|
+
[1m[35m (0.3ms)[0m begin transaction
|
23076
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23078
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23079
|
+
[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-01-28 20:00:39.329362"], ["updated_at", "2016-01-28 20:00:39.329362"]]
|
23080
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23081
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23082
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
|
23083
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-28 20:00:39.334055"], ["updated_at", "2016-01-28 20:00:39.334055"]]
|
23084
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23085
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
23086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23087
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23088
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23089
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23091
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23092
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23093
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23095
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23096
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23097
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23098
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23099
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23100
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23101
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23103
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23106
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
23107
|
+
[1m[35m (0.2ms)[0m commit transaction
|
23108
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
23109
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23111
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23115
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23116
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23117
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23119
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23121
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23123
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23125
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23126
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23127
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23129
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23131
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23133
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
|
23134
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23135
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23136
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23137
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23138
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
|
23139
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23140
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23141
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23143
|
+
[1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
|
23144
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23145
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-28 20:00:39.387922"], ["updated_at", "2016-01-28 20:00:39.387922"]]
|
23146
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23147
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
|
23148
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
|
23149
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23150
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23151
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23153
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23155
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23157
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23158
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
23159
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23161
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23162
|
+
[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-01-28 20:00:39.404907"], ["updated_at", "2016-01-28 20:00:39.404907"]]
|
23163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23164
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23165
|
+
[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-10"]]
|
23166
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-28 20:00:39.407789"], ["updated_at", "2016-01-28 20:00:39.407789"]]
|
23167
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:39.409955"], ["updated_at", "2016-01-28 20:00:39.409955"]]
|
23168
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23169
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
23170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23171
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23173
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23175
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23177
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23179
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23181
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
23182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23183
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23185
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23187
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23189
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23191
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23193
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23195
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23197
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23198
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1[0m
|
23199
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-01-28 20:00:39.430710"], ["updated_at", "2016-01-28 20:00:39.430710"]]
|
23200
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23201
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23202
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-28 20:00:39.433431"], ["updated_at", "2016-01-28 20:00:39.433431"]]
|
23203
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23204
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23205
|
+
[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-11"]]
|
23206
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-01-28 20:00:39.437038"], ["updated_at", "2016-01-28 20:00:39.437038"]]
|
23207
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:00:39.440233"], ["updated_at", "2016-01-28 20:00:39.440233"]]
|
23208
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23209
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
23210
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
23211
|
+
[1m[35m (1.7ms)[0m DELETE FROM "pulitzer_content_element_types";
|
23212
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
23213
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
|
23214
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
|
23215
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
23216
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
|
23217
|
+
[1m[35m (1.0ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
|
23218
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
23219
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
|
23220
|
+
[1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
|
23221
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
23222
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
|
23223
|
+
[1m[35m (0.8ms)[0m DELETE FROM "pulitzer_posts";
|
23224
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
23225
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
|
23226
|
+
[1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
|
23227
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
23228
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
|
23229
|
+
[1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
|
23230
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
23231
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
|
23232
|
+
[1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
|
23233
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
23234
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
|
23235
|
+
[1m[35m (0.8ms)[0m DELETE FROM "pulitzer_post_tags";
|
23236
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
23237
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
|
23238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23239
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23240
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23241
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23242
|
+
[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-01-28 20:01:06.088600"], ["updated_at", "2016-01-28 20:01:06.088600"]]
|
23243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23244
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23245
|
+
[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"]]
|
23246
|
+
[1m[36mSQL (0.4ms)[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-01-28 20:01:06.207917"], ["updated_at", "2016-01-28 20:01:06.207917"]]
|
23247
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.216243"], ["updated_at", "2016-01-28 20:01:06.216243"]]
|
23248
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23250
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:01:06.218656"], ["updated_at", "2016-01-28 20:01:06.218656"]]
|
23251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23253
|
+
[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
|
23254
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-28 20:01:06.230921"], ["updated_at", "2016-01-28 20:01:06.230921"]]
|
23255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23257
|
+
[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 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-01-28 20:01:06.233401"], ["updated_at", "2016-01-28 20:01:06.233401"]]
|
23258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23260
|
+
[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
|
23261
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-28 20:01:06.236320"], ["updated_at", "2016-01-28 20:01:06.236320"]]
|
23262
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23263
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23264
|
+
[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-01-28 20:01:06.237752"], ["updated_at", "2016-01-28 20:01:06.237752"]]
|
23265
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23267
|
+
[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
|
23268
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-28 20:01:06.240289"], ["updated_at", "2016-01-28 20:01:06.240289"]]
|
23269
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23270
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23271
|
+
[1m[35mSQL (0.0ms)[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-01-28 20:01:06.241651"], ["updated_at", "2016-01-28 20:01:06.241651"]]
|
23272
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23273
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
|
23274
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23275
|
+
[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-01-28 20:01:06.246068"], ["updated_at", "2016-01-28 20:01:06.246068"]]
|
23276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23277
|
+
Pulitzer::CloneVersion !!!
|
23278
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
23279
|
+
[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]]
|
23280
|
+
[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]]
|
23281
|
+
[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]]
|
23282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23283
|
+
[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 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-01-28 20:01:06.233401"], ["updated_at", "2016-01-28 20:01:06.233401"]]
|
23284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23286
|
+
[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-01-28 20:01:06.254466"], ["id", 4]]
|
23287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23288
|
+
[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]]
|
23289
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23290
|
+
[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-01-28 20:01:06.237752"], ["updated_at", "2016-01-28 20:01:06.237752"]]
|
23291
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23293
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-28 20:01:06.259637"], ["id", 5]]
|
23294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23295
|
+
[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]]
|
23296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23297
|
+
[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-01-28 20:01:06.241651"], ["updated_at", "2016-01-28 20:01:06.241651"]]
|
23298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23300
|
+
[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-01-28 20:01:06.263876"], ["id", 6]]
|
23301
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23302
|
+
[1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
|
23303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23304
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 20:01:06.269059"], ["id", 3]]
|
23305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23306
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
|
23307
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
23308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23309
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23312
|
+
[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-01-28 20:01:06.280764"], ["updated_at", "2016-01-28 20:01:06.280764"]]
|
23313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23315
|
+
[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-2"]]
|
23316
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-28 20:01:06.283709"], ["updated_at", "2016-01-28 20:01:06.283709"]]
|
23317
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.286070"], ["updated_at", "2016-01-28 20:01:06.286070"]]
|
23318
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23319
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23320
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:01:06.287852"], ["updated_at", "2016-01-28 20:01:06.287852"]]
|
23321
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23323
|
+
[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
|
23324
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-28 20:01:06.290870"], ["updated_at", "2016-01-28 20:01:06.290870"]]
|
23325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23327
|
+
[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-01-28 20:01:06.292573"], ["updated_at", "2016-01-28 20:01:06.292573"]]
|
23328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23330
|
+
[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
|
23331
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-28 20:01:06.295462"], ["updated_at", "2016-01-28 20:01:06.295462"]]
|
23332
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23333
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23334
|
+
[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-01-28 20:01:06.297280"], ["updated_at", "2016-01-28 20:01:06.297280"]]
|
23335
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23336
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23337
|
+
[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
|
23338
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-28 20:01:06.300312"], ["updated_at", "2016-01-28 20:01:06.300312"]]
|
23339
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23341
|
+
[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-01-28 20:01:06.301781"], ["updated_at", "2016-01-28 20:01:06.301781"]]
|
23342
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23343
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23344
|
+
[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-01-28 20:01:06.304093"], ["updated_at", "2016-01-28 20:01:06.304093"]]
|
23345
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23346
|
+
Pulitzer::CloneVersion !!!
|
23347
|
+
/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
23348
|
+
[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]]
|
23349
|
+
[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]]
|
23350
|
+
[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]]
|
23351
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23352
|
+
[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-01-28 20:01:06.292573"], ["updated_at", "2016-01-28 20:01:06.292573"]]
|
23353
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23354
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23355
|
+
[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-01-28 20:01:06.311959"], ["id", 4]]
|
23356
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23357
|
+
[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]]
|
23358
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23359
|
+
[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-01-28 20:01:06.297280"], ["updated_at", "2016-01-28 20:01:06.297280"]]
|
23360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23362
|
+
[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-01-28 20:01:06.317529"], ["id", 5]]
|
23363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23364
|
+
[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]]
|
23365
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23366
|
+
[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-01-28 20:01:06.301781"], ["updated_at", "2016-01-28 20:01:06.301781"]]
|
23367
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23369
|
+
[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-01-28 20:01:06.324232"], ["id", 6]]
|
23370
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23371
|
+
[1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
23372
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23373
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-28 20:01:06.326832"], ["id", 3]]
|
23374
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23375
|
+
[1m[35mPulitzer::ContentElement Load (0.2ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]]
|
23376
|
+
[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]]
|
23377
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
23378
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23379
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23382
|
+
[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-01-28 20:01:06.339546"], ["updated_at", "2016-01-28 20:01:06.339546"]]
|
23383
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23384
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23385
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
|
23386
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-28 20:01:06.347437"], ["updated_at", "2016-01-28 20:01:06.347437"]]
|
23387
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23388
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23389
|
+
[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 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-01-28 20:01:06.349839"], ["updated_at", "2016-01-28 20:01:06.349839"]]
|
23390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23391
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23392
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
|
23393
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-28 20:01:06.352323"], ["updated_at", "2016-01-28 20:01:06.352323"]]
|
23394
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23396
|
+
[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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-28 20:01:06.353781"], ["updated_at", "2016-01-28 20:01:06.353781"]]
|
23397
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23398
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23399
|
+
[1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
|
23400
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-28 20:01:06.356180"], ["updated_at", "2016-01-28 20:01:06.356180"]]
|
23401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23403
|
+
[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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-01-28 20:01:06.357849"], ["updated_at", "2016-01-28 20:01:06.357849"]]
|
23404
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23405
|
+
[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]]
|
23406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23407
|
+
[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"]]
|
23408
|
+
[1m[36mSQL (0.1ms)[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-01-28 20:01:06.363068"], ["updated_at", "2016-01-28 20:01:06.363068"]]
|
23409
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.364957"], ["updated_at", "2016-01-28 20:01:06.364957"]]
|
23410
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23411
|
+
[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]]
|
23412
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
|
23413
|
+
[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]]
|
23414
|
+
[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]]
|
23415
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23416
|
+
[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]]
|
23417
|
+
[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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-01-28 20:01:06.373904"], ["updated_at", "2016-01-28 20:01:06.373904"]]
|
23418
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23419
|
+
[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]]
|
23420
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
23421
|
+
[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]]
|
23422
|
+
[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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-01-28 20:01:06.380354"], ["updated_at", "2016-01-28 20:01:06.380354"]]
|
23423
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23424
|
+
[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]]
|
23425
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23426
|
+
[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]]
|
23427
|
+
[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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-01-28 20:01:06.384849"], ["updated_at", "2016-01-28 20:01:06.384849"]]
|
23428
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23429
|
+
[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]]
|
23430
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
|
23431
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
23432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23433
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23434
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23435
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23436
|
+
[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-01-28 20:01:06.392498"], ["updated_at", "2016-01-28 20:01:06.392498"]]
|
23437
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23438
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23439
|
+
[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"]]
|
23440
|
+
[1m[36mSQL (0.3ms)[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-01-28 20:01:06.395875"], ["updated_at", "2016-01-28 20:01:06.395875"]]
|
23441
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.397903"], ["updated_at", "2016-01-28 20:01:06.397903"]]
|
23442
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23443
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23444
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:01:06.399693"], ["updated_at", "2016-01-28 20:01:06.399693"]]
|
23445
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23446
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23447
|
+
[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
|
23448
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-28 20:01:06.402578"], ["updated_at", "2016-01-28 20:01:06.402578"]]
|
23449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23450
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23451
|
+
[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-01-28 20:01:06.404191"], ["updated_at", "2016-01-28 20:01:06.404191"]]
|
23452
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23454
|
+
[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
|
23455
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-28 20:01:06.407037"], ["updated_at", "2016-01-28 20:01:06.407037"]]
|
23456
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23458
|
+
[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-01-28 20:01:06.408567"], ["updated_at", "2016-01-28 20:01:06.408567"]]
|
23459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23461
|
+
[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
|
23462
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-28 20:01:06.411224"], ["updated_at", "2016-01-28 20:01:06.411224"]]
|
23463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23464
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23465
|
+
[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-01-28 20:01:06.412641"], ["updated_at", "2016-01-28 20:01:06.412641"]]
|
23466
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23467
|
+
[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]]
|
23468
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23469
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-28 20:01:06.414904"], ["id", 2]]
|
23470
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23472
|
+
[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-01-28 20:01:06.416358"], ["updated_at", "2016-01-28 20:01:06.416358"]]
|
23473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23474
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c72f7005-7398-44c1-8bd1-4f07cd3cf2e7) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
23475
|
+
[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
23476
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
23477
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
23478
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] Pulitzer::CloneVersion !!!
|
23479
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
23480
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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]]
|
23481
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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]]
|
23482
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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]]
|
23483
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23484
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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-01-28 20:01:06.404191"], ["updated_at", "2016-01-28 20:01:06.404191"]]
|
23485
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23486
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23487
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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-01-28 20:01:06.428705"], ["id", 4]]
|
23488
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23489
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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]]
|
23490
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23491
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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-01-28 20:01:06.408567"], ["updated_at", "2016-01-28 20:01:06.408567"]]
|
23492
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23493
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23494
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-28 20:01:06.433422"], ["id", 5]]
|
23495
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23496
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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]]
|
23497
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23498
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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-01-28 20:01:06.412641"], ["updated_at", "2016-01-28 20:01:06.412641"]]
|
23499
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23500
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23501
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [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-01-28 20:01:06.439929"], ["id", 6]]
|
23502
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23503
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
|
23504
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23505
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-28 20:01:06.442355"], ["id", 3]]
|
23506
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23507
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [c72f7005-7398-44c1-8bd1-4f07cd3cf2e7] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.16ms
|
23508
|
+
[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]]
|
23509
|
+
[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]]
|
23510
|
+
[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]]
|
23511
|
+
[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]]
|
23512
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
|
23513
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
23514
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23515
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23516
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23517
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23518
|
+
[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-01-28 20:01:06.455581"], ["updated_at", "2016-01-28 20:01:06.455581"]]
|
23519
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23520
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23521
|
+
[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-5"]]
|
23522
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-28 20:01:06.458479"], ["updated_at", "2016-01-28 20:01:06.458479"]]
|
23523
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:01:06.460403"], ["updated_at", "2016-01-28 20:01:06.460403"]]
|
23524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23525
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23526
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.462392"], ["updated_at", "2016-01-28 20:01:06.462392"]]
|
23527
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23528
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23529
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
|
23530
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-28 20:01:06.465046"], ["updated_at", "2016-01-28 20:01:06.465046"]]
|
23531
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23533
|
+
[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 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-01-28 20:01:06.466535"], ["updated_at", "2016-01-28 20:01:06.466535"]]
|
23534
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23536
|
+
[1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
|
23537
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-28 20:01:06.469365"], ["updated_at", "2016-01-28 20:01:06.469365"]]
|
23538
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23539
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23540
|
+
[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 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-01-28 20:01:06.471844"], ["updated_at", "2016-01-28 20:01:06.471844"]]
|
23541
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23542
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23543
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
|
23544
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-28 20:01:06.475268"], ["updated_at", "2016-01-28 20:01:06.475268"]]
|
23545
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23547
|
+
[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 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-01-28 20:01:06.476932"], ["updated_at", "2016-01-28 20:01:06.476932"]]
|
23548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23549
|
+
[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]]
|
23550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23551
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-28 20:01:06.479578"], ["id", 2]]
|
23552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23554
|
+
[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-01-28 20:01:06.481317"], ["updated_at", "2016-01-28 20:01:06.481317"]]
|
23555
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23556
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4e8f71da-c58f-43ee-821a-c15e54c132bf) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
23557
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
23558
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
23559
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
23560
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] Pulitzer::CloneVersion !!!
|
23561
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
23562
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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]]
|
23563
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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]]
|
23564
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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]]
|
23565
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23566
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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 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-01-28 20:01:06.466535"], ["updated_at", "2016-01-28 20:01:06.466535"]]
|
23567
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23568
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23569
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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-01-28 20:01:06.490029"], ["id", 4]]
|
23570
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23571
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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]]
|
23572
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23573
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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-01-28 20:01:06.471844"], ["updated_at", "2016-01-28 20:01:06.471844"]]
|
23574
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23575
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23576
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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-01-28 20:01:06.496574"], ["id", 5]]
|
23577
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23578
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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", 3]]
|
23579
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23580
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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-01-28 20:01:06.476932"], ["updated_at", "2016-01-28 20:01:06.476932"]]
|
23581
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23582
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23583
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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-01-28 20:01:06.501580"], ["id", 6]]
|
23584
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23585
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [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]]
|
23586
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23587
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 20:01:06.503817"], ["id", 3]]
|
23588
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23589
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [4e8f71da-c58f-43ee-821a-c15e54c132bf] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.16ms
|
23590
|
+
[1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
|
23591
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
23592
|
+
[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]]
|
23593
|
+
[1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
|
23594
|
+
[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]]
|
23595
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23596
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-28 20:01:06.511808"], ["id", 3]]
|
23597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23598
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23599
|
+
[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-01-28 20:01:06.513693"], ["updated_at", "2016-01-28 20:01:06.513693"]]
|
23600
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23601
|
+
[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5070a7f4-8675-4e7c-9a6c-f134ee6f5637) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
23602
|
+
[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
|
23603
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
|
23604
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
23605
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] Pulitzer::CloneVersion !!!
|
23606
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
|
23607
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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]]
|
23608
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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]]
|
23609
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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]]
|
23610
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23611
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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-01-28 20:01:06.466535"], ["updated_at", "2016-01-28 20:01:06.466535"]]
|
23612
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23613
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23614
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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-01-28 20:01:06.521878"], ["id", 7]]
|
23615
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23616
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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]]
|
23617
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23618
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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-01-28 20:01:06.471844"], ["updated_at", "2016-01-28 20:01:06.471844"]]
|
23619
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23620
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23621
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-28 20:01:06.526247"], ["id", 8]]
|
23622
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23623
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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]]
|
23624
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23625
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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-01-28 20:01:06.476932"], ["updated_at", "2016-01-28 20:01:06.476932"]]
|
23626
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23627
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23628
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-28 20:01:06.530368"], ["id", 9]]
|
23629
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23630
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [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]]
|
23631
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23632
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-28 20:01:06.532251"], ["id", 4]]
|
23633
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23634
|
+
[ActiveJob] [Pulitzer::CloneVersionJob] [5070a7f4-8675-4e7c-9a6c-f134ee6f5637] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.46ms
|
23635
|
+
[1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
|
23636
|
+
[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]]
|
23637
|
+
[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]]
|
23638
|
+
[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]]
|
23639
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
|
23640
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
23641
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23642
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23644
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23646
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23649
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
|
23650
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-28 20:01:06.549424"], ["updated_at", "2016-01-28 20:01:06.549424"]]
|
23651
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23652
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23653
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23654
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23655
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23656
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23657
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23658
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23659
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23660
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23662
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23663
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23664
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23665
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23666
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23667
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23668
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23669
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23670
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23671
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23672
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23673
|
+
[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
|
23674
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-28 20:01:06.560610"], ["updated_at", "2016-01-28 20:01:06.560610"]]
|
23675
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23676
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23678
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23679
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23680
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23681
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
|
23682
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-28 20:01:06.566043"], ["updated_at", "2016-01-28 20:01:06.566043"]]
|
23683
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23684
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23685
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23686
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23687
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23689
|
+
[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
|
23690
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-28 20:01:06.572130"], ["updated_at", "2016-01-28 20:01:06.572130"]]
|
23691
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23692
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23694
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23696
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23697
|
+
[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
|
23698
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-28 20:01:06.578772"], ["updated_at", "2016-01-28 20:01:06.578772"]]
|
23699
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23700
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23701
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-28 20:01:06.581177"], ["updated_at", "2016-01-28 20:01:06.581177"]]
|
23702
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23703
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
23704
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23705
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23706
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23708
|
+
[1m[35mPulitzer::ContentElementType Exists (0.3ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
|
23709
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-28 20:01:06.588170"], ["updated_at", "2016-01-28 20:01:06.588170"]]
|
23710
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23711
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23712
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-28 20:01:06.590405"], ["updated_at", "2016-01-28 20:01:06.590405"]]
|
23713
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23714
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
23715
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23716
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23719
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
|
23720
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-28 20:01:06.596185"], ["updated_at", "2016-01-28 20:01:06.596185"]]
|
23721
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23722
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
23723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23724
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23726
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23727
|
+
[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
|
23728
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-28 20:01:06.601118"], ["updated_at", "2016-01-28 20:01:06.601118"]]
|
23729
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23730
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23731
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23732
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23733
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23734
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23735
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
|
23736
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-28 20:01:06.606918"], ["updated_at", "2016-01-28 20:01:06.606918"]]
|
23737
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23738
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23740
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23741
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23742
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23743
|
+
[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-01-28 20:01:06.748294"], ["updated_at", "2016-01-28 20:01:06.748294"]]
|
23744
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23745
|
+
[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-6"]]
|
23746
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
23747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23748
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23750
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23751
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23752
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23753
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23754
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23755
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23756
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23757
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23758
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23759
|
+
[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-01-28 20:01:06.785370"], ["updated_at", "2016-01-28 20:01:06.785370"]]
|
23760
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23761
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23762
|
+
[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-7"]]
|
23763
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-28 20:01:06.788621"], ["updated_at", "2016-01-28 20:01:06.788621"]]
|
23764
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.791059"], ["updated_at", "2016-01-28 20:01:06.791059"]]
|
23765
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23766
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
23767
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23768
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23771
|
+
[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-01-28 20:01:06.796863"], ["updated_at", "2016-01-28 20:01:06.796863"]]
|
23772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23774
|
+
[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-8"]]
|
23775
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-28 20:01:06.800408"], ["updated_at", "2016-01-28 20:01:06.800408"]]
|
23776
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.804566"], ["updated_at", "2016-01-28 20:01:06.804566"]]
|
23777
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23778
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
23779
|
+
[1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
|
23780
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-28 20:01:06.808616"], ["id", 1]]
|
23781
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23782
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
23783
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23784
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23786
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23787
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
|
23788
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-28 20:01:06.825238"], ["updated_at", "2016-01-28 20:01:06.825238"]]
|
23789
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23790
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23791
|
+
[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-01-28 20:01:06.831324"], ["updated_at", "2016-01-28 20:01:06.831324"]]
|
23792
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23793
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23794
|
+
[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-9"]]
|
23795
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-28 20:01:06.835418"], ["updated_at", "2016-01-28 20:01:06.835418"]]
|
23796
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.838877"], ["updated_at", "2016-01-28 20:01:06.838877"]]
|
23797
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23798
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23799
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:01:06.841049"], ["updated_at", "2016-01-28 20:01:06.841049"]]
|
23800
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23801
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
23802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23803
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23804
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23805
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23806
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23807
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23808
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23809
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
23810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23811
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23812
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23813
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
23814
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23815
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23817
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23818
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23819
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23821
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23822
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23823
|
+
[1m[36m (0.3ms)[0m [1mcommit transaction[0m
|
23824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23825
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23826
|
+
[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-01-28 20:01:06.869221"], ["updated_at", "2016-01-28 20:01:06.869221"]]
|
23827
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23828
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23829
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
|
23830
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-28 20:01:06.874560"], ["updated_at", "2016-01-28 20:01:06.874560"]]
|
23831
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23832
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
23833
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23834
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23837
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23838
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23840
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23842
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23843
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23844
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23845
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
23846
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23848
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
23849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23850
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23852
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23854
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23856
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23857
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23858
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23859
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23860
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23861
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23862
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23863
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23864
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23866
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23868
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23870
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23872
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23874
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23875
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23876
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23878
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23879
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23880
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
|
23881
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23882
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23883
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23884
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23885
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
|
23886
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23887
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23888
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23890
|
+
[1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
|
23891
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23892
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-28 20:01:06.929043"], ["updated_at", "2016-01-28 20:01:06.929043"]]
|
23893
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23894
|
+
[1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
|
23895
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
|
23896
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
23897
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23898
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23899
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23900
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23901
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
23902
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23903
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23904
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23906
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23908
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23909
|
+
[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-01-28 20:01:06.944995"], ["updated_at", "2016-01-28 20:01:06.944995"]]
|
23910
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23911
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23912
|
+
[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-10"]]
|
23913
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-28 20:01:06.948264"], ["updated_at", "2016-01-28 20:01:06.948264"]]
|
23914
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.950241"], ["updated_at", "2016-01-28 20:01:06.950241"]]
|
23915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23916
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
23917
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23918
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23922
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23924
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23926
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23928
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23930
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23931
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23932
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23934
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23935
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23936
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23937
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23938
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23940
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23942
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23943
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23944
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23945
|
+
[1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1[0m
|
23946
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-01-28 20:01:06.970000"], ["updated_at", "2016-01-28 20:01:06.970000"]]
|
23947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23948
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
23949
|
+
[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-01-28 20:01:06.973345"], ["updated_at", "2016-01-28 20:01:06.973345"]]
|
23950
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23951
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23952
|
+
[1m[35mPulitzer::Post Exists (0.3ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]]
|
23953
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-01-28 20:01:06.977717"], ["updated_at", "2016-01-28 20:01:06.977717"]]
|
23954
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-28 20:01:06.979892"], ["updated_at", "2016-01-28 20:01:06.979892"]]
|
23955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
23957
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-28 20:01:06.981545"], ["updated_at", "2016-01-28 20:01:06.981545"]]
|
23958
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
23960
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-01-28 20:01:06.984324"], ["updated_at", "2016-01-28 20:01:06.984324"]]
|
23961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
23962
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
|
23963
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_post_tags"."label_id" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"], ["label_id", 1]]
|
23964
|
+
[1m[35mPulitzer::PostTag Load (0.1ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
|
23965
|
+
[1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1[0m [["id", 1]]
|
23966
|
+
[1m[35m (0.7ms)[0m rollback transaction
|