writefully 0.4.10 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/writefully/loading-bubbles.svg +14 -0
  3. data/app/assets/javascripts/writefully/writefully/initializers/manifest.coffee +5 -5
  4. data/app/assets/javascripts/writefully/writefully/initializers/setup.coffee +1 -1
  5. data/app/assets/javascripts/writefully/writefully/services/autosave.coffee +8 -0
  6. data/app/assets/stylesheets/writefully/base.sass +16 -1
  7. data/app/assets/stylesheets/writefully/profiles.sass +3 -0
  8. data/app/assets/stylesheets/writefully/sites.sass +0 -4
  9. data/app/assets/stylesheets/writefully/writefully.sass +2 -0
  10. data/app/controllers/writefully/profiles_controller.rb +12 -0
  11. data/app/models/writefully/authorship.rb +1 -1
  12. data/app/models/writefully/post.rb +1 -1
  13. data/app/views/writefully/application/_navigation.html.erb +2 -5
  14. data/app/views/writefully/application/_super_admin.html.erb +4 -0
  15. data/app/views/writefully/profiles/_form.html.erb +17 -0
  16. data/app/views/writefully/profiles/edit.html.erb +11 -0
  17. data/app/views/writefully/sites/new.html.erb +1 -1
  18. data/config/routes.rb +2 -1
  19. data/db/migrate/20140501094825_add_trashed_to_posts.rb +5 -0
  20. data/lib/writefully/cli.rb +1 -1
  21. data/lib/writefully/loader.rb +7 -2
  22. data/lib/writefully/postable.rb +22 -0
  23. data/lib/writefully/process.rb +9 -3
  24. data/lib/writefully/taxon.rb +52 -1
  25. data/lib/writefully/tools/dispatcher.rb +1 -1
  26. data/lib/writefully/tools/eraser.rb +16 -0
  27. data/lib/writefully/tools/pencil.rb +4 -34
  28. data/lib/writefully/tools/stationery.rb +42 -0
  29. data/lib/writefully/tools.rb +1 -0
  30. data/lib/writefully/version.rb +1 -1
  31. data/lib/writefully/workers/journalist.rb +2 -0
  32. data/spec/controllers/writefully/authorships_controller_spec.rb +7 -0
  33. data/spec/controllers/writefully/profiles_controller_spec.rb +7 -0
  34. data/spec/dummy/content/codemy-net/posts/1-hash-selector-pattern/meta.yml +0 -1
  35. data/spec/dummy/content/codemy-net/posts/2-rails-flash-partials/meta.yml +0 -1
  36. data/spec/dummy/db/schema.rb +2 -1
  37. data/spec/dummy/log/development.log +70 -0
  38. data/spec/dummy/log/test.log +2316 -0
  39. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_alerts.scssc +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_background-variant.scssc +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_border-radius.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_buttons.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_center-block.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_clearfix.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_forms.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_gradients.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_grid-framework.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_grid.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_hide-text.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_image.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_labels.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_list-group.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_nav-divider.scssc +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_nav-vertical-align.scssc +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_opacity.scssc +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_pagination.scssc +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_panels.scssc +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_progress-bar.scssc +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_reset-filter.scssc +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_resize.scssc +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_responsive-visibility.scssc +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_size.scssc +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_tab-focus.scssc +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_table-row.scssc +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_text-emphasis.scssc +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_text-overflow.scssc +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_vendor-prefixes.scssc +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_alerts.scssc +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_badges.scssc +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_breadcrumbs.scssc +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_button-groups.scssc +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_buttons.scssc +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_carousel.scssc +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_close.scssc +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_code.scssc +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_component-animations.scssc +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_dropdowns.scssc +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_forms.scssc +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_glyphicons.scssc +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_grid.scssc +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_input-groups.scssc +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_jumbotron.scssc +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_labels.scssc +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_list-group.scssc +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_media.scssc +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_mixins.scssc +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_modals.scssc +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_navbar.scssc +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_navs.scssc +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_normalize.scssc +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_pager.scssc +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_pagination.scssc +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_panels.scssc +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_popovers.scssc +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_print.scssc +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_progress-bars.scssc +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_responsive-embed.scssc +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_responsive-utilities.scssc +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_scaffolding.scssc +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_tables.scssc +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_thumbnails.scssc +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_tooltip.scssc +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_type.scssc +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_utilities.scssc +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_variables.scssc +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_wells.scssc +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/base.sassc +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/profiles.sassc +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/sessions.sassc +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/sites.sassc +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/writefully.sassc +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sass/af039d23726606ef9c96e50dbc4f6a7893b20f53/bootstrap.scssc +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/064b3076e29f54ea572ca43d6c5950cc +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/3063f229c5edc0e8a3d82d7bf78024de +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/31c84f37a0c92c38be6459f19997c981 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/4684201e9a7b66017ea250f0d7fd06e2 +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/81e4a723953d063ec006596c9f2fb1ef +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/82b92bb7c88523dc617b3c0c877aeade +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/8d225befd9f2c5c3ef1ff73591bea154 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/98223bde155ccb586e710444611aabb4 +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/9b9ee2a899dd8b3bfa592fba44ebf8d2 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/a8b93e1f061f64547b92633c5bde6b13 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/abf4fd7235880434a75a35635e4fb67a +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/adae8faa21b116471ec4285998d3f3cf +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/b83537e814e13cf03642ccc3d90fda13 +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/c1208bf8d0e9714161d8e6ae61781efc +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/d10e06dee94ddaa562f7df319407bf18 +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/d1238ae38ca7b9522d86d67ee367223e +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/d2c2fff5893ce8979ca48bab1c6f1c3a +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/d70cdda3055dc0a1d8b8e40baa559146 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/d9930581c13e892e69359a33854d7af4 +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/e784991cbb1dab2f65db11cc0381b11d +0 -0
  133. data/spec/lib/writefully/content_spec.rb +0 -1
  134. data/spec/lib/writefully/tools/pencil_spec.rb +2 -2
  135. metadata +171 -3
  136. data/lib/writefully/workers_helpers.rb +0 -7
@@ -13944,3 +13944,73 @@ Migrating to CreateWritefullySites (20140403181629)
13944
13944
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
13945
13945
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
13946
13946
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
13947
+  (5.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
13948
+  (2.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13949
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13950
+ Migrating to CreateWritefullyPosts (20140402091204)
13951
+  (0.2ms) BEGIN
13952
+  (0.5ms) CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp) 
13953
+ PG::UndefinedObject: ERROR: type "hstore" does not exist
13954
+ LINE 1: ...character varying(255), "content" text, "details" hstore, "p...
13955
+ ^
13956
+ : CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp)
13957
+  (0.2ms) ROLLBACK
13958
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13959
+ Migrating to CreateWritefullyPosts (20140402091204)
13960
+  (0.2ms) BEGIN
13961
+  (0.6ms) CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp) 
13962
+ PG::UndefinedObject: ERROR: type "hstore" does not exist
13963
+ LINE 1: ...character varying(255), "content" text, "details" hstore, "p...
13964
+ ^
13965
+ : CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp)
13966
+  (0.3ms) ROLLBACK
13967
+  (122.0ms) DROP DATABASE IF EXISTS "writefully_dummy_development"
13968
+  (116.7ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
13969
+  (235.0ms) CREATE DATABASE "writefully_dummy_development" ENCODING = 'utf8'
13970
+  (233.8ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
13971
+ SQL (2.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
13972
+ SQL (40.1ms) CREATE EXTENSION IF NOT EXISTS "hstore"
13973
+  (12.9ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
13974
+  (1.4ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
13975
+  (7.8ms) CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp) 
13976
+  (2.8ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
13977
+  (1.7ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
13978
+  (1.8ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
13979
+  (1.6ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
13980
+  (5.9ms) CREATE TABLE "writefully_sites" ("id" serial primary key, "name" character varying(255), "branch" character varying(255) DEFAULT 'master', "slug" character varying(255), "repository" hstore, "domain" character varying(255), "processing" boolean DEFAULT 't', "healthy" boolean DEFAULT 'f', "owner_id" integer, "created_at" timestamp, "updated_at" timestamp)
13981
+  (3.1ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
13982
+  (3.4ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
13983
+  (2.2ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
13984
+  (4.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
13985
+  (2.1ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
13986
+  (1.5ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
13987
+  (5.8ms) CREATE TABLE "writefully_tags" ("id" serial primary key, "name" character varying(255), "slug" character varying(255), "type" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
13988
+  (1.6ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
13989
+  (2.6ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
13990
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
13991
+  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13992
+  (0.9ms) SELECT version FROM "schema_migrations"
13993
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
13994
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
13995
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
13996
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
13997
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
13998
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13999
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14000
+ Migrating to AddTrashedToPosts (20140501094825)
14001
+  (0.2ms) BEGIN
14002
+  (0.5ms) ALTER TABLE "posts" ADD COLUMN "trashed" boolean DEFAULT 'f'
14003
+ PG::UndefinedTable: ERROR: relation "posts" does not exist
14004
+ : ALTER TABLE "posts" ADD COLUMN "trashed" boolean DEFAULT 'f'
14005
+  (0.2ms) ROLLBACK
14006
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14007
+ Migrating to AddTrashedToPosts (20140501094825)
14008
+  (0.2ms) BEGIN
14009
+  (10.1ms) ALTER TABLE "writefully_posts" ADD COLUMN "trashed" boolean DEFAULT 'f'
14010
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140501094825"]]
14011
+  (1.2ms) COMMIT
14012
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14013
+ ActiveRecord::SchemaMigration Load (2.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14014
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14015
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14016
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"