pulitzer 0.15.16 → 0.15.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2c12d3bbbb409cb63a8a86bab90c42f254af121
4
- data.tar.gz: 76fc623e8acac3e3eb5001c9bc57f59a83d9668b
3
+ metadata.gz: 3baf33d55b235b7b95729fc8f611190ff97dd193
4
+ data.tar.gz: '058553b7faeb34971cfe2a5bd5003e3c9e635d0c'
5
5
  SHA512:
6
- metadata.gz: 8b18329c87623da5e96c865a2bf45d202a2db4b55e4790e17a5388b6fff864db251a29f86539af10ec577cbf03b4773d2b765485bca5b6203331d0fa037644f4
7
- data.tar.gz: 701d004223eacc4182b09d613e5cce86f9718a13974fdbfea2df17d81b5bd791b23542d9b8068b764af3af6ff59769087fdbb6ceea3870a4c19d6d75f22e0fdc
6
+ metadata.gz: e365f03d2b4137340c7ac90b478179f9b8c7a0f664ad55543eadca830222a29f92d4ce91bfb246f636c337a81ee34581d24794cc58839f54c6228d4b94f85c75
7
+ data.tar.gz: 233bfdaca720b97c51d9ebbeaae51bca5cbe8fbea92f8f01a890821e0c5de82c9a3ab9261a721211e471c403094413754f1bbc03de04d68b9c3511e0dc12f4e1
@@ -72,11 +72,17 @@ module Pulitzer
72
72
  end
73
73
 
74
74
  def render_cms_section(version, section_name)
75
- version.section(section_name).partials.collect do |partial|
76
- if partial.has_display?
77
- render partial: partial.full_view_path, locals: {partial: partial}
78
- end
79
- end.join.html_safe
75
+ section = version.section(section_name)
76
+ if section
77
+ section.partials.collect do |partial|
78
+ if partial.has_display?
79
+ render partial: partial.full_view_path, locals: {partial: partial}
80
+ end
81
+ end.join.html_safe
82
+ else
83
+ Rails.logger.error "[Pulitzer] Version #{version.inspect} has no section named #{section_name}"
84
+ ""
85
+ end
80
86
  end
81
87
  end
82
88
  end
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.15.16'
2
+ VERSION = '0.15.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.16
4
+ version: 0.15.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-23 00:00:00.000000000 Z
12
+ date: 2017-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -816,28 +816,15 @@ files:
816
816
  - spec/dummy/config/locales/en.yml
817
817
  - spec/dummy/config/routes.rb
818
818
  - spec/dummy/config/secrets.yml
819
- - spec/dummy/db/development.sqlite3
820
819
  - spec/dummy/db/schema.rb
821
820
  - spec/dummy/db/seeds.rb
822
821
  - spec/dummy/db/seeds/pulitzer_post_types.rb
823
- - spec/dummy/db/test.sqlite3
824
822
  - spec/dummy/lib/state_machine/model.rb
825
823
  - spec/dummy/lib/state_machine/transition.rb
826
- - spec/dummy/log/development.log
827
- - spec/dummy/log/test.log
828
824
  - spec/dummy/public/404.html
829
825
  - spec/dummy/public/422.html
830
826
  - spec/dummy/public/500.html
831
827
  - spec/dummy/public/favicon.ico
832
- - spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg
833
- - spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg
834
- - spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg
835
- - spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg
836
- - spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg
837
- - spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg
838
- - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg
839
- - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg
840
- - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg
841
828
  - spec/factories/content_element.rb
842
829
  - spec/factories/content_element_type.rb
843
830
  - spec/factories/free_form_section_types.rb
@@ -890,118 +877,105 @@ required_rubygems_version: !ruby/object:Gem::Requirement
890
877
  version: '0'
891
878
  requirements: []
892
879
  rubyforge_project:
893
- rubygems_version: 2.5.1
880
+ rubygems_version: 2.6.11
894
881
  signing_key:
895
882
  specification_version: 4
896
883
  summary: A content management engine for Ruby on Rails.
897
884
  test_files:
898
- - spec/controllers/pages_controller_spec.rb
899
- - spec/controllers/pulitzer/arrangement_styles_controller_spec.rb
900
- - spec/controllers/pulitzer/background_styles_controller_spec.rb
901
- - spec/controllers/pulitzer/content_elements_controller_spec.rb
902
- - spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
903
- - spec/controllers/pulitzer/justification_styles_controller_spec.rb
904
- - spec/controllers/pulitzer/partials_controller_spec.rb
905
- - spec/controllers/pulitzer/post_type_content_element_types_controller_spec.rb
906
- - spec/controllers/pulitzer/post_type_versions_controller_spec.rb
907
- - spec/controllers/pulitzer/post_types_controller_spec.rb
908
- - spec/controllers/pulitzer/sequence_flow_styles_controller_spec.rb
909
- - spec/controllers/pulitzer/versions_controller_spec.rb
910
- - spec/controllers/tags_controller_spec.rb
885
+ - spec/lib/pulitzer_spec.rb
886
+ - spec/support/files/sam_and_snow.jpg
887
+ - spec/dummy/config.ru
888
+ - spec/dummy/public/favicon.ico
889
+ - spec/dummy/public/404.html
890
+ - spec/dummy/public/422.html
891
+ - spec/dummy/public/500.html
892
+ - spec/dummy/lib/state_machine/transition.rb
893
+ - spec/dummy/lib/state_machine/model.rb
894
+ - spec/dummy/bin/rake
895
+ - spec/dummy/bin/rails
896
+ - spec/dummy/bin/setup
897
+ - spec/dummy/bin/bundle
898
+ - spec/dummy/app/helpers/application_helper.rb
899
+ - spec/dummy/app/assets/stylesheets/application.css
911
900
  - spec/dummy/app/assets/javascripts/application.js
912
901
  - spec/dummy/app/assets/javascripts/jquery.js
913
- - spec/dummy/app/assets/stylesheets/application.css
914
902
  - spec/dummy/app/controllers/application_controller.rb
915
903
  - spec/dummy/app/controllers/pages_controller.rb
916
904
  - spec/dummy/app/controllers/pulitzer_preview/pages_controller.rb
917
- - spec/dummy/app/helpers/application_helper.rb
918
905
  - spec/dummy/app/models/ability.rb
919
906
  - spec/dummy/app/models/search_location.rb
920
907
  - spec/dummy/app/models/user.rb
921
- - spec/dummy/app/views/layouts/application.html.erb
908
+ - spec/dummy/app/views/pages/welcome.html.erb
922
909
  - spec/dummy/app/views/pages/about_us.html.erb
923
910
  - spec/dummy/app/views/pages/freeform.html.erb
924
911
  - spec/dummy/app/views/pages/news_posts.html.erb
925
- - spec/dummy/app/views/pages/welcome.html.erb
912
+ - spec/dummy/app/views/layouts/application.html.erb
926
913
  - spec/dummy/app/views/pulitzer/welcome.html.erb
927
914
  - spec/dummy/app/views/toolbars/_simple_editor.html.erb
928
- - spec/dummy/bin/bundle
929
- - spec/dummy/bin/rails
930
- - spec/dummy/bin/rake
931
- - spec/dummy/bin/setup
932
- - spec/dummy/config/application.rb
933
- - spec/dummy/config/boot.rb
915
+ - spec/dummy/README.rdoc
934
916
  - spec/dummy/config/database.yml
935
- - spec/dummy/config/environment.rb
936
- - spec/dummy/config/environments/development.rb
937
- - spec/dummy/config/environments/production.rb
938
- - spec/dummy/config/environments/test.rb
939
- - spec/dummy/config/initializers/assets.rb
940
- - spec/dummy/config/initializers/backtrace_silencers.rb
941
- - spec/dummy/config/initializers/cookies_serializer.rb
942
- - spec/dummy/config/initializers/filter_parameter_logging.rb
943
- - spec/dummy/config/initializers/inflections.rb
944
- - spec/dummy/config/initializers/mime_types.rb
945
- - spec/dummy/config/initializers/session_store.rb
917
+ - spec/dummy/config/application.rb
946
918
  - spec/dummy/config/initializers/wrap_parameters.rb
919
+ - spec/dummy/config/initializers/mime_types.rb
920
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
921
+ - spec/dummy/config/initializers/cookies_serializer.rb
922
+ - spec/dummy/config/initializers/backtrace_silencers.rb
947
923
  - spec/dummy/config/initializers/zz_pulitzer.rb
948
- - spec/dummy/config/locales/en.yml
949
- - spec/dummy/config/routes.rb
924
+ - spec/dummy/config/initializers/assets.rb
925
+ - spec/dummy/config/initializers/session_store.rb
926
+ - spec/dummy/config/initializers/inflections.rb
950
927
  - spec/dummy/config/secrets.yml
951
- - spec/dummy/config.ru
952
- - spec/dummy/db/development.sqlite3
928
+ - spec/dummy/config/routes.rb
929
+ - spec/dummy/config/environments/production.rb
930
+ - spec/dummy/config/environments/development.rb
931
+ - spec/dummy/config/environments/test.rb
932
+ - spec/dummy/config/locales/en.yml
933
+ - spec/dummy/config/boot.rb
934
+ - spec/dummy/config/environment.rb
935
+ - spec/dummy/Rakefile
936
+ - spec/dummy/db/seeds.rb
953
937
  - spec/dummy/db/schema.rb
954
938
  - spec/dummy/db/seeds/pulitzer_post_types.rb
955
- - spec/dummy/db/seeds.rb
956
- - spec/dummy/db/test.sqlite3
957
- - spec/dummy/lib/state_machine/model.rb
958
- - spec/dummy/lib/state_machine/transition.rb
959
- - spec/dummy/log/development.log
960
- - spec/dummy/log/test.log
961
- - spec/dummy/public/404.html
962
- - spec/dummy/public/422.html
963
- - spec/dummy/public/500.html
964
- - spec/dummy/public/favicon.ico
965
- - spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg
966
- - spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg
967
- - spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg
968
- - spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg
969
- - spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg
970
- - spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg
971
- - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg
972
- - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg
973
- - spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg
974
- - spec/dummy/Rakefile
975
- - spec/dummy/README.rdoc
939
+ - spec/interactions/update_version_status_spec.rb
940
+ - spec/interactions/create_free_form_section_partials_spec.rb
941
+ - spec/interactions/create_post_content_elements_spec.rb
942
+ - spec/interactions/create_partial_content_elements_spec.rb
943
+ - spec/interactions/clone_version_spec.rb
944
+ - spec/interactions/pulitzer/post_types_controller/import_version_spec.rb
945
+ - spec/interactions/update_post_type_content_elements_spec.rb
946
+ - spec/factories/post_type_content_element_type.rb
947
+ - spec/factories/post_type_version.rb
948
+ - spec/factories/free_form_section_types.rb
976
949
  - spec/factories/content_element.rb
977
950
  - spec/factories/content_element_type.rb
978
- - spec/factories/free_form_section_types.rb
979
- - spec/factories/partial_type.rb
980
- - spec/factories/post.rb
981
- - spec/factories/post_tag.rb
982
951
  - spec/factories/post_type.rb
983
- - spec/factories/post_type_content_element_type.rb
984
- - spec/factories/post_type_version.rb
985
- - spec/factories/tag.rb
952
+ - spec/factories/post.rb
986
953
  - spec/factories/version.rb
954
+ - spec/factories/partial_type.rb
955
+ - spec/factories/tag.rb
956
+ - spec/factories/post_tag.rb
957
+ - spec/fixtures/post_type_version.json
987
958
  - spec/fixtures/files/post_type_version.json
988
959
  - spec/fixtures/foo.json
989
- - spec/fixtures/post_type_version.json
990
- - spec/interactions/clone_version_spec.rb
991
- - spec/interactions/create_free_form_section_partials_spec.rb
992
- - spec/interactions/create_partial_content_elements_spec.rb
993
- - spec/interactions/create_post_content_elements_spec.rb
994
- - spec/interactions/pulitzer/post_types_controller/import_version_spec.rb
995
- - spec/interactions/update_post_type_content_elements_spec.rb
996
- - spec/interactions/update_version_status_spec.rb
997
- - spec/lib/pulitzer_spec.rb
998
- - spec/models/content_element_spec.rb
960
+ - spec/rails_helper.rb
961
+ - spec/spec_helper.rb
962
+ - spec/controllers/pages_controller_spec.rb
963
+ - spec/controllers/tags_controller_spec.rb
964
+ - spec/controllers/pulitzer/partials_controller_spec.rb
965
+ - spec/controllers/pulitzer/content_elements_controller_spec.rb
966
+ - spec/controllers/pulitzer/sequence_flow_styles_controller_spec.rb
967
+ - spec/controllers/pulitzer/justification_styles_controller_spec.rb
968
+ - spec/controllers/pulitzer/post_type_versions_controller_spec.rb
969
+ - spec/controllers/pulitzer/versions_controller_spec.rb
970
+ - spec/controllers/pulitzer/arrangement_styles_controller_spec.rb
971
+ - spec/controllers/pulitzer/post_types_controller_spec.rb
972
+ - spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
973
+ - spec/controllers/pulitzer/background_styles_controller_spec.rb
974
+ - spec/controllers/pulitzer/post_type_content_element_types_controller_spec.rb
975
+ - spec/models/version_spec.rb
999
976
  - spec/models/post_spec.rb
1000
- - spec/models/post_tag_spec.rb
977
+ - spec/models/content_element_spec.rb
1001
978
  - spec/models/post_type_content_element_type_spec.rb
1002
- - spec/models/post_type_spec.rb
1003
979
  - spec/models/tag_spec.rb
1004
- - spec/models/version_spec.rb
1005
- - spec/rails_helper.rb
1006
- - spec/spec_helper.rb
1007
- - spec/support/files/sam_and_snow.jpg
980
+ - spec/models/post_type_spec.rb
981
+ - spec/models/post_tag_spec.rb
Binary file
@@ -1,582 +0,0 @@
1
- DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
2
- DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
3
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4
-  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
- Migrating to CreatePulitzerPostTypes (20150618224344)
7
-  (0.1ms) begin transaction
8
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
9
-
10
- class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
11
-  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
12
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
13
-  (7.1ms) commit transaction
14
- Migrating to CreatePulitzerContentElementTypes (20150618225402)
15
-  (0.1ms) begin transaction
16
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
17
-
18
- class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
19
-  (0.7ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
20
- SQL (17.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
21
-  (1.1ms) commit transaction
22
- Migrating to CreatePulitzerPosts (20150619204615)
23
-  (3.6ms) begin transaction
24
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
25
-
26
- class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
27
-  (0.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
28
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
29
-  (1.6ms) commit transaction
30
- Migrating to CreatePulitzerContentElements (20150619204708)
31
-  (0.1ms) begin transaction
32
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
33
-
34
- class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
35
-  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
37
-  (0.9ms) commit transaction
38
- Migrating to CreatePulitzerTags (20150619213436)
39
-  (0.1ms) begin transaction
40
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
41
-
42
- class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
43
-  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
44
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
45
-  (0.6ms) commit transaction
46
- Migrating to CreatePulitzerPostTags (20150619213457)
47
-  (0.1ms) begin transaction
48
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
49
-
50
- class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
51
-  (0.4ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
52
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
53
-  (1.0ms) commit transaction
54
- Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
55
-  (0.1ms) begin transaction
56
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
57
-
58
- class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
59
-  (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
60
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
61
-  (1.1ms) commit transaction
62
- Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
63
-  (0.1ms) begin transaction
64
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
65
-
66
- class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
67
-  (0.8ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
68
-  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean
69
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]
70
-  (0.8ms) commit transaction
71
- Migrating to AddPulitzerContentElementTypes (20150702150819)
72
-  (0.2ms) begin transaction
73
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
74
-
75
- class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
76
- Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
77
- SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
78
- Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]
79
- SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
80
- Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]
81
- SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
82
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
83
-  (0.9ms) commit transaction
84
- Migrating to AddSlugToPulitzerPosts (20150724150230)
85
-  (0.0ms) begin transaction
86
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
87
-
88
- class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
89
-  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar
90
-  (0.0ms) select sqlite_version(*)
91
-  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
92
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
93
-  (0.9ms) commit transaction
94
- Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
95
-  (0.3ms) begin transaction
96
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
97
-
98
- class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
99
-  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
100
-  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
101
- SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"
102
-  (0.4ms) DROP TABLE "pulitzer_post_tags"
103
-  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
104
-  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
105
- SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"
106
-  (0.1ms) DROP TABLE "apulitzer_post_tags"
107
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]
108
-  (0.9ms) commit transaction
109
- Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
110
-  (0.1ms) begin transaction
111
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
112
-
113
- class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
114
-  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
115
- SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)
116
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]
117
-  (0.7ms) commit transaction
118
- Migrating to CreatePulitzerVersions (20151029194354)
119
-  (0.0ms) begin transaction
120
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
121
-
122
- class CreatePulitzerVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
123
-  (0.7ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
124
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]
125
-  (0.8ms) commit transaction
126
- Migrating to ChangePostElementsToVersions (20151029220558)
127
-  (0.1ms) begin transaction
128
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
129
-
130
- class ChangePostElementsToVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
131
-  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
132
-  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
133
- SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"
134
-  (0.3ms) DROP TABLE "pulitzer_content_elements"
135
-  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
136
-  (0.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
137
- SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"
138
-  (0.1ms) DROP TABLE "apulitzer_content_elements"
139
-  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
140
-  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
141
- SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"
142
-  (0.1ms) DROP TABLE "pulitzer_post_tags"
143
-  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
144
-  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
145
- SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"
146
-  (0.1ms) DROP TABLE "apulitzer_post_tags"
147
- Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
148
- Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]]
149
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]
150
-  (1.0ms) commit transaction
151
- Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
152
-  (0.1ms) begin transaction
153
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
154
-
155
- class AddPostTypeContentElementAttributesToContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
156
-  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar
157
-  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100
158
-  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100
159
-  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer
160
- Scoped order and limit are ignored, it's forced to be batch order and batch size.
161
- Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]]
162
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]
163
-  (0.9ms) commit transaction
164
- Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
165
-  (0.1ms) begin transaction
166
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
167
-
168
- class ChangeTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
169
-  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)
170
-  (0.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template")
171
- SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"
172
-  (0.4ms) DROP TABLE "pulitzer_post_types"
173
-  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)
174
-  (0.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural")
175
- SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"
176
-  (0.1ms) DROP TABLE "apulitzer_post_types"
177
-  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0
178
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]
179
-  (0.9ms) commit transaction
180
- Migrating to AddKindToPulitzerContentElements (20151118031237)
181
-  (0.1ms) begin transaction
182
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
183
-
184
- class AddKindToPulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
185
-  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0
186
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]
187
-  (0.7ms) commit transaction
188
- Migrating to AddErrorsToVersion (20160122204201)
189
-  (0.0ms) begin transaction
190
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
191
-
192
- class AddErrorsToVersion < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
193
-  (0.3ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb
194
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
195
-  (0.7ms) commit transaction
196
- Migrating to CreatePartials (20160511192041)
197
-  (0.1ms) begin transaction
198
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
199
-
200
- class CreatePartials < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
201
-  (0.4ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)
202
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]
203
-  (0.9ms) commit transaction
204
- Migrating to AddParentIdToPulitzerTag (20160511201527)
205
-  (0.0ms) begin transaction
206
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
207
-
208
- class AddParentIdToPulitzerTag < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
209
-  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer
210
-  (0.1ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL
211
-  (0.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
212
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]
213
-  (0.8ms) commit transaction
214
- Migrating to AddPartialToContentElement (20160512214545)
215
-  (0.0ms) begin transaction
216
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
217
-
218
- class AddPartialToContentElement < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
219
-  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer
220
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]
221
-  (1.0ms) commit transaction
222
- Migrating to CreateFreeFormSectionType (20160513153209)
223
-  (0.1ms) begin transaction
224
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
225
-
226
- class CreateFreeFormSectionType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
227
-  (0.3ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
228
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]
229
-  (0.8ms) commit transaction
230
- Migrating to CreateFreeFormSection (20160513153214)
231
-  (0.1ms) begin transaction
232
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
233
-
234
- class CreateFreeFormSection < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
235
-  (0.5ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
236
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]
237
-  (1.1ms) commit transaction
238
- Migrating to FixPostTypeKinds (20160516150237)
239
-  (0.1ms) begin transaction
240
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
241
-
242
- class FixPostTypeKinds < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
243
- Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)
244
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]
245
-  (0.7ms) commit transaction
246
- Migrating to CreateLayouts (20160517181706)
247
-  (0.0ms) begin transaction
248
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
249
-
250
- class CreateLayouts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
251
-  (0.3ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
252
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]
253
-  (0.9ms) commit transaction
254
- Migrating to AddLayoutToPartial (20160517182500)
255
-  (0.0ms) begin transaction
256
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
257
-
258
- class AddLayoutToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
259
-  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer
260
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]
261
-  (0.8ms) commit transaction
262
- Migrating to AddLabelToPartial (20160519181030)
263
-  (0.0ms) begin transaction
264
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
265
-
266
- class AddLabelToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
267
-  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar
268
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]
269
-  (0.9ms) commit transaction
270
- Migrating to RemoveTitleFromContentElements (20160609214139)
271
-  (0.1ms) begin transaction
272
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
273
-
274
- class RemoveTitleFromContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
275
-  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)
276
-  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
277
- SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"
278
-  (0.3ms) DROP TABLE "pulitzer_content_elements"
279
-  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)
280
-  (0.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
281
- SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"
282
-  (0.1ms) DROP TABLE "apulitzer_content_elements"
283
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]
284
-  (0.9ms) commit transaction
285
- Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
286
-  (0.1ms) begin transaction
287
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
288
-
289
- class AddRequiredToPulitzerPostTypeContentElementType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
290
-  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'
291
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]
292
-  (0.8ms) commit transaction
293
- Migrating to AddSortToPostElements (20170502210827)
294
-  (0.1ms) begin transaction
295
-  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer
296
-  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer
297
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]
298
-  (0.9ms) commit transaction
299
- Migrating to CreatePulitzerPartialTypes (20170508145431)
300
-  (0.0ms) begin transaction
301
-  (0.0ms) rollback transaction
302
- DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
303
- DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
304
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
- Migrating to CreatePulitzerPartialTypes (20170508145431)
306
-  (0.1ms) begin transaction
307
-  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type" integer)
308
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]
309
-  (0.7ms) commit transaction
310
- ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
311
-  (0.1ms) begin transaction
312
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-05-08 17:23:45 UTC], ["updated_at", 2017-05-08 17:23:45 UTC]]
313
-  (0.7ms) commit transaction
314
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
315
-  (0.1ms)  SELECT sql
316
- FROM sqlite_master
317
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
318
- UNION ALL
319
- SELECT sql
320
- FROM sqlite_temp_master
321
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
322
- 
323
-  (0.1ms)  SELECT sql
324
- FROM sqlite_master
325
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
326
- UNION ALL
327
- SELECT sql
328
- FROM sqlite_temp_master
329
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
330
- 
331
- DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
332
- DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
333
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
334
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
335
- Migrating to CreatePulitzerPartialTypes (20170508145431)
336
-  (0.2ms) begin transaction
337
-  (1.2ms) DROP TABLE "pulitzer_partial_types"
338
- SQL (0.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20170508145431"]]
339
-  (0.7ms) commit transaction
340
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
341
-  (0.1ms)  SELECT sql
342
- FROM sqlite_master
343
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
344
- UNION ALL
345
- SELECT sql
346
- FROM sqlite_temp_master
347
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
348
- 
349
-  (0.2ms)  SELECT sql
350
- FROM sqlite_master
351
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
352
- UNION ALL
353
- SELECT sql
354
- FROM sqlite_temp_master
355
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
356
- 
357
- DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
358
- DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
359
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
360
- Migrating to CreatePulitzerPartialTypes (20170508145431)
361
-  (0.1ms) begin transaction
362
-  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)
363
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]
364
-  (4.9ms) commit transaction
365
- ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
366
-  (0.1ms) begin transaction
367
-  (0.1ms) commit transaction
368
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
369
-  (0.2ms)  SELECT sql
370
- FROM sqlite_master
371
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
372
- UNION ALL
373
- SELECT sql
374
- FROM sqlite_temp_master
375
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
376
- 
377
-  (0.2ms)  SELECT sql
378
- FROM sqlite_master
379
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
380
- UNION ALL
381
- SELECT sql
382
- FROM sqlite_temp_master
383
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
384
- 
385
- DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
386
- DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
387
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
388
- ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
389
-  (0.1ms) begin transaction
390
-  (0.0ms) commit transaction
391
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
392
-  (0.1ms)  SELECT sql
393
- FROM sqlite_master
394
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
395
- UNION ALL
396
- SELECT sql
397
- FROM sqlite_temp_master
398
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
399
- 
400
-  (0.1ms)  SELECT sql
401
- FROM sqlite_master
402
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
403
- UNION ALL
404
- SELECT sql
405
- FROM sqlite_temp_master
406
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
407
- 
408
- DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
409
- DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
410
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
411
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
412
-  (0.1ms) begin transaction
413
-  (0.1ms) commit transaction
414
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
415
-  (0.1ms)  SELECT sql
416
- FROM sqlite_master
417
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
418
- UNION ALL
419
- SELECT sql
420
- FROM sqlite_temp_master
421
- WHERE name='index_pulitzer_posts_on_slug' AND type='index'
422
- 
423
-  (0.6ms)  SELECT sql
424
- FROM sqlite_master
425
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
426
- UNION ALL
427
- SELECT sql
428
- FROM sqlite_temp_master
429
- WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
430
- 
431
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
432
- Migrating to CreatePostTypeVersion (20170515230633)
433
-  (0.1ms) begin transaction
434
-  (1.7ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'incomplete' NOT NULL)
435
-  (0.1ms) select sqlite_version(*)
436
-  (0.2ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")
437
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170515230633"]]
438
-  (3.3ms) commit transaction
439
- Migrating to ReconnectPostTypeToPost (20170515232938)
440
-  (0.1ms) begin transaction
441
-  (0.1ms) rollback transaction
442
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
443
- Migrating to ReconnectPostTypeToPost (20170515232938)
444
-  (0.1ms) begin transaction
445
-  (0.1ms) rollback transaction
446
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
447
- Migrating to ReconnectPostTypeToPost (20170515232938)
448
-  (0.1ms) begin transaction
449
-  (0.9ms) ALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer
450
-  (0.2ms) ALTER TABLE "pulitzer_background_styles" ADD "post_type_version_id" integer
451
-  (0.7ms) rollback transaction
452
- ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
453
-  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
454
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
455
-  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
456
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
457
-  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
458
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
459
-  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
460
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
461
- Migrating to CreatePulitzerPostTypes (20150618224344)
462
-  (0.1ms) begin transaction
463
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
464
-
465
- class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
466
-  (1.0ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
467
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
468
-  (1.1ms) commit transaction
469
- Migrating to CreatePulitzerContentElementTypes (20150618225402)
470
-  (0.2ms) begin transaction
471
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
472
-
473
- class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
474
-  (0.4ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
475
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
476
-  (1.0ms) commit transaction
477
- Migrating to CreatePulitzerPosts (20150619204615)
478
-  (0.1ms) begin transaction
479
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
480
-
481
- class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
482
-  (0.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
483
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
484
-  (0.7ms) commit transaction
485
- Migrating to CreatePulitzerContentElements (20150619204708)
486
-  (0.1ms) begin transaction
487
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
488
-
489
- class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
490
-  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
491
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
492
-  (0.9ms) commit transaction
493
- Migrating to CreatePulitzerTags (20150619213436)
494
-  (0.1ms) begin transaction
495
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
496
-
497
- class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
498
-  (1.0ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
499
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
500
-  (0.8ms) commit transaction
501
- Migrating to CreatePulitzerPostTags (20150619213457)
502
-  (0.1ms) begin transaction
503
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
504
-
505
- class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
506
-  (0.4ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
507
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
508
-  (0.8ms) commit transaction
509
- Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
510
-  (0.1ms) begin transaction
511
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
512
-
513
- class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
514
-  (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
515
- SQL (5.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
516
-  (0.7ms) commit transaction
517
- Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
518
-  (0.1ms) begin transaction
519
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
520
-
521
- class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
522
-  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
523
-  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean
524
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]
525
-  (0.8ms) commit transaction
526
- Migrating to AddPulitzerContentElementTypes (20150702150819)
527
-  (0.1ms) begin transaction
528
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
529
-
530
- class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
531
- Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
532
- SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
533
- Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]
534
- SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
535
- Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]
536
- SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
537
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
538
-  (1.2ms) commit transaction
539
- Migrating to AddSlugToPulitzerPosts (20150724150230)
540
-  (0.1ms) begin transaction
541
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
542
-
543
- class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
544
-  (0.5ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar
545
-  (0.1ms) select sqlite_version(*)
546
-  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
547
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
548
-  (0.7ms) commit transaction
549
- Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
550
-  (0.1ms) begin transaction
551
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
552
-
553
- class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
554
-  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
555
-  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
556
- SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"
557
-  (0.6ms) DROP TABLE "pulitzer_post_tags"
558
-  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
559
-  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
560
- SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"
561
-  (0.2ms) DROP TABLE "apulitzer_post_tags"
562
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]
563
-  (1.1ms) commit transaction
564
- Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
565
-  (0.1ms) begin transaction
566
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
567
-
568
- class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
569
-  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
570
- SQL (0.2ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)
571
-  (0.5ms) rollback transaction
572
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
573
- Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
574
-  (0.1ms) begin transaction
575
- DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
576
-
577
- class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
578
-  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
579
- SQL (0.2ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)
580
-  (0.4ms) rollback transaction
581
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
582
-  (3.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]