Started GET "/" for 127.0.0.1 at 2014-07-14 14:06:37 -0500 ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.1.0) lib/active_record/migration.rb:389:in `check_pending!' activerecord (4.1.0) lib/active_record/migration.rb:377:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (29.6ms)  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.4ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20140530185250)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140530185250"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20140530185250)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140530185250"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (0.8ms) commit transaction Migrating to CreateStorytimePages (20140509150223)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509150223"]]  (0.6ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (1.1ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.9ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.7ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.8ms) commit transaction Migrating to AddSelectedRootPageToStorytimeSites (20140513162745)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "storytime_sites" ADD "selected_root_page_id" integer  (0.2ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513162745"]]  (0.7ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.7ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.2ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.9ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (0.8ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.8ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "storytime_role_id" integer SQLite3::SQLException: no such table: users: ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms) rollback transaction  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (0.7ms) commit transaction Migrating to CreateStorytimePages (20140509150223)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509150223"]]  (0.7ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.8ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.7ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.6ms) commit transaction Migrating to AddSelectedRootPageToStorytimeSites (20140513162745)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "storytime_sites" ADD "selected_root_page_id" integer  (0.1ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513162745"]]  (1.0ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.7ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.2ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.7ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.2ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (0.8ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (1.0ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "users" ADD "storytime_role_id" integer SQLite3::SQLException: no such table: users: ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms) rollback transaction  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20140530185250)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140530185250"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (1.9ms) commit transaction Migrating to CreateStorytimePages (20140509150223)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509150223"]]  (0.8ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)  (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (1.0ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.8ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.8ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.7ms) commit transaction Migrating to AddSelectedRootPageToStorytimeSites (20140513162745)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "storytime_sites" ADD "selected_root_page_id" integer  (0.1ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513162745"]]  (0.8ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.9ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (1.0ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.2ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.9ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (0.7ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.7ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.2ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191048"]]  (0.7ms) commit transaction Migrating to CreateStorytimePermissions (20140521191728)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191728"]]  (0.7ms) commit transaction Migrating to CreateStorytimeActions (20140521191744)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191744"]]  (0.9ms) commit transaction Migrating to CreateStorytimePostTypes (20140714015418)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140714015418"]]  (0.7ms) commit transaction Migrating to AddPostTypeIdToPosts (20140714020907)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "posts" ADD "post_type_id" integer SQLite3::SQLException: no such table: posts: ALTER TABLE "posts" ADD "post_type_id" integer  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddPostTypeIdToPosts (20140714020907)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "storytime_posts" ADD "post_type_id" integer  (0.1ms) select sqlite_version(*)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.2ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140714020907"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  Started GET "/" for 127.0.0.1 at 2014-07-14 14:13:09 -0500 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.1ms) SELECT COUNT(*) FROM "users" Redirected to http://0.0.0.0:3000/users/sign_up Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/users/sign_up" for 127.0.0.1 at 2014-07-14 14:13:09 -0500 Processing by Devise::RegistrationsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (1.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/registrations/new.html.erb within layouts/application (56.0ms) Completed 200 OK in 2539ms (Views: 2509.3ms | ActiveRecord: 0.2ms) Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-14 14:13:12 -0500 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:13:12 -0500 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:13:12 -0500 Started POST "/users" for 127.0.0.1 at 2014-07-14 14:13:21 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"bcroesch@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.2ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bcroesch@gmail.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-14 19:13:21.360608"], ["email", "bcroesch@gmail.com"], ["encrypted_password", "$2a$10$igxmAcJVL4m85ov52oX8tOSHk8erzmjHJxwJA2uL3Y2qPaTOnfMkm"], ["updated_at", "2014-07-14 19:13:21.360608"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Binary data inserted for `string` type on column `current_sign_in_ip` Binary data inserted for `string` type on column `last_sign_in_ip` SQL (0.5ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-07-14 19:13:21.367859"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-14 19:13:21.367859"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-07-14 19:13:21.369639"]]  (0.6ms) commit transaction Redirected to http://0.0.0.0:3000/ Completed 302 Found in 125ms (ActiveRecord: 3.1ms) Started GET "/" for 127.0.0.1 at 2014-07-14 14:13:21 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.2ms) SELECT COUNT(*) FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/sites/new Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:13:21 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (61.7ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (64.6ms) Completed 500 Internal Server Error in 96ms ActionView::Template::Error (File to import not found or unreadable: admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__634302950084013081_2159731180' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.8ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:14:08 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (13.8ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (15.5ms) Completed 500 Internal Server Error in 37ms ActionView::Template::Error (File to import not found or unreadable: storytime/admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__634302950084013081_2159731180' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:14:28 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (16.3ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (17.9ms) Completed 500 Internal Server Error in 51ms ActionView::Template::Error (File to import not found or unreadable: storytime/devise. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__634302950084013081_2159731180' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.9ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:15:07 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (14.3ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (15.7ms) Completed 500 Internal Server Error in 39ms ActionView::Template::Error (File to import not found or unreadable: storytime/admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__634302950084013081_2159731180' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:16:01 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (15.2ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (16.3ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (File to import not found or unreadable: storytime/admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__634302950084013081_2159731180' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.0ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:16:32 -0500 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (69.5ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (75.3ms) Completed 500 Internal Server Error in 149ms ActionView::Template::Error (File to import not found or unreadable: storytime/admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.2ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:16:33 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.8ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (12.9ms) Completed 500 Internal Server Error in 27ms ActionView::Template::Error (File to import not found or unreadable: storytime/admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.8ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:16:46 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.5ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.6ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (File to import not found or unreadable: storytime/devise. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.5ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:18:58 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.4ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (24.9ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (26.4ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (File to import not found or unreadable: storytime/admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.3ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:19:46 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.3ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.1ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (File to import not found or unreadable: storytime/admin. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (48.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.8ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:19:54 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.8ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (12.9ms) Completed 500 Internal Server Error in 33ms ActionView::Template::Error (File to import not found or unreadable: storytime/devise. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (13.5ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:25:26 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9.8ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (11.1ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (File to import not found or unreadable: storytime/bootstrap.css.scss. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:1 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:25:34 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (20.6ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (23.4ms) Completed 500 Internal Server Error in 570ms ActionView::Template::Error (File to import not found or unreadable: storytime/bootstrap-wysihtml5.css.scss. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:377:in `new' sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (13.0ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:26:01 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (13.1ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.6ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (27.4ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.9ms) Completed 200 OK in 3115ms (Views: 3107.2ms | ActiveRecord: 1.9ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 ActionController::RoutingError (No route matches [GET] "/assets/storytime/bootstrap3-wysiwyg5-color.css"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (6.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (104.2ms) Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/post_types.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:05 -0500 Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:26:10 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.7ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.3ms) Completed 500 Internal Server Error in 553ms ActionView::Template::Error (File to import not found or unreadable: bootstrap-wysihtml5. Load paths: /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/images /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/spec/dummy/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/app/assets/images /Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets /Users/ben/Documents/benroesch.com/storytime/vendor/assets/javascripts /Users/ben/Documents/benroesch.com/storytime/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/jquery-rails-3.1.0/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/fonts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/javascripts /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets /Users/ben/.rvm/gems/ruby-2.1.1/gems/bootstrap-sass-3.1.1.1/vendor/assets/stylesheets (in /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2)): 7: 8: Storytime 9: 10: <%= stylesheet_link_tag "storytime/application", media: "all" %> 11: <%= javascript_include_tag "storytime/application" %> 12: <%= csrf_meta_tags %> 13: /Users/ben/Documents/benroesch.com/storytime/app/assets/stylesheets/storytime/application.css.scss:2 sass (3.2.19) lib/sass/tree/import_node.rb:67:in `rescue in import' sass (3.2.19) lib/sass/tree/import_node.rb:45:in `import' sass (3.2.19) lib/sass/tree/import_node.rb:28:in `imported_file' sass (3.2.19) lib/sass/tree/import_node.rb:37:in `css_import?' sass (3.2.19) lib/sass/tree/visitors/perform.rb:217:in `visit_import' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map' sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children' sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment' sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root' sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit' sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit' sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render' sass (3.2.19) lib/sass/engine.rb:315:in `_render' sass (3.2.19) lib/sass/engine.rb:262:in `render' sprockets (2.11.0) lib/sprockets/sass_template.rb:53:in `evaluate' tilt (1.4.1) lib/tilt/template.rb:103:in `render' sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate' sprockets (2.11.0) lib/sprockets/context.rb:194:in `each' sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate' sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize' sprockets (2.11.0) lib/sprockets/base.rb:374:in `new' sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset' sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection' sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset' sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset' sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/bundled_asset.rb:37:in `init_with' sprockets (2.11.0) lib/sprockets/asset.rb:24:in `from_hash' sprockets (2.11.0) lib/sprockets/caching.rb:54:in `cache_asset' sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset' sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset' sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset' sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset' sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map' sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag' /Users/ben/Documents/benroesch.com/storytime/app/views/layouts/storytime/dashboard.html.erb:10:in `___sers_ben__ocuments_benroesch_com_storytime_app_views_layouts_storytime_dashboard_html_erb__2178285889759014787_2167979860' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:26:21 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.9ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (14.8ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (16.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.9ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 52ms (Views: 43.6ms | ActiveRecord: 1.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:26:21 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:21 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:21 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:21 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 ActionController::RoutingError (No route matches [GET] "/assets/storytime/bootstrap3-wysiwyg5-color.css"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.7ms) Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/post_types.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:22 -0500 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (10.7ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (11.9ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 34.6ms | ActiveRecord: 1.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 ActionController::RoutingError (No route matches [GET] "/assets/storytime/bootstrap3-wysiwyg5-color.css"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (10.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (88.4ms) Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/post_types.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:31 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-14 14:26:32 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `authorize' for #): /Users/ben/Documents/benroesch.com/storytime/app/controllers/storytime/dashboard/post_types_controller.rb:13:in `index' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.6ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (14.7ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (16.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 49ms (Views: 43.6ms | ActiveRecord: 1.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/storytime/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 ActionController::RoutingError (No route matches [GET] "/assets/storytime/bootstrap3-wysiwyg5-color.css"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:36 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/post_types.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:37 -0500 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.9ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.5ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 35.9ms | ActiveRecord: 0.9ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/storytime/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 ActionController::RoutingError (No route matches [GET] "/assets/storytime/bootstrap3-wysiwyg5-color.css"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.1ms) Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:38 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/post_types.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/dashboard/media" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.4ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 45.1ms | ActiveRecord: 1.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 Started GET "/assets/storytime/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-14 14:26:39 -0500 ActionController::RoutingError (No route matches [GET] "/assets/storytime/bootstrap3-wysiwyg5-color.css"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (57.4ms) Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/post_types.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-14 14:26:40 -0500 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/_form.html.erb (17.2ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (18.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.7ms) Rendered /Users/ben/Documents/benroesch.com/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 49.4ms | ActiveRecord: 1.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 ActionController::RoutingError (No route matches [GET] "/assets/storytime/bootstrap3-wysiwyg5-color.css"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (61.3ms) Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/post_types.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-14 14:40:32 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-14 14:40:34 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `authorize' for #): /Users/ben/Documents/benroesch.com/storytime/app/controllers/storytime/dashboard/post_types_controller.rb:13:in `index' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.7ms) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to ChangeTaggingsToTaggable (20140728194758)  (0.1ms) begin transaction  (1.2ms) ALTER TABLE "storytime_taggings" ADD "taggable_type" varchar(255)  (0.2ms) ALTER TABLE "storytime_taggings" ADD "taggable_id" integer  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to ChangeTaggingsToTaggable (20140728194758)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "storytime_taggings" ADD "taggable_type" varchar(255)  (0.1ms) ALTER TABLE "storytime_taggings" ADD "taggable_id" integer Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" ORDER BY "storytime_taggings"."id" ASC LIMIT 1000  (1.8ms) CREATE TEMPORARY TABLE "astorytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_type" varchar(255), "taggable_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_astorytime_taggings_on_post_id" ON "astorytime_taggings" ("post_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_post_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_astorytime_taggings_on_tag_id" ON "astorytime_taggings" ("tag_id")  (0.1ms) SELECT * FROM "storytime_taggings"  (16.9ms) DROP TABLE "storytime_taggings"  (0.2ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_type" varchar(255), "taggable_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_post_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT * FROM "astorytime_taggings"  (0.8ms) DROP TABLE "astorytime_taggings" SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140728194758"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to ChangeTaggingsToTaggable (20140728194758)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "storytime_taggings" ADD "post_id" integer Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."taggable_type" = 'Post' ORDER BY "storytime_taggings"."id" ASC LIMIT 1000  (0.9ms) CREATE TEMPORARY TABLE "astorytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_type" varchar(255), "taggable_id" integer, "post_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_astorytime_taggings_on_tag_id" ON "astorytime_taggings" ("tag_id")  (0.0ms) SELECT * FROM "storytime_taggings"  (0.4ms) DROP TABLE "storytime_taggings"  (0.1ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_id" integer, "post_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.0ms) SELECT * FROM "astorytime_taggings"  (0.2ms) DROP TABLE "astorytime_taggings"  (0.1ms) CREATE TEMPORARY TABLE "astorytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_id" integer, "post_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_astorytime_taggings_on_tag_id" ON "astorytime_taggings" ("tag_id")  (0.0ms) SELECT * FROM "storytime_taggings"  (0.2ms) DROP TABLE "storytime_taggings"  (0.1ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "post_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.0ms) SELECT * FROM "astorytime_taggings"  (0.1ms) DROP TABLE "astorytime_taggings" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140728194758'  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to ChangeTaggingsToTaggable (20140728194758)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "storytime_taggings" ADD "taggable_type" varchar(255)  (0.2ms) ALTER TABLE "storytime_taggings" ADD "taggable_id" integer Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" ORDER BY "storytime_taggings"."id" ASC LIMIT 1000  (1.0ms) CREATE TEMPORARY TABLE "astorytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "post_id" integer, "taggable_type" varchar(255), "taggable_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_astorytime_taggings_on_tag_id" ON "astorytime_taggings" ("tag_id")  (0.0ms) SELECT * FROM "storytime_taggings"  (0.3ms) DROP TABLE "storytime_taggings"  (0.1ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_type" varchar(255), "taggable_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.0ms) SELECT * FROM "astorytime_taggings"  (0.2ms) DROP TABLE "astorytime_taggings" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140728194758"]]  (2.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (2.4ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.9ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.8ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.8ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (0.9ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id")  (1.2ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id")  (0.9ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.9ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.8ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime, "post_type_id" integer)   (0.8ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'   (0.7ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.7ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime, "selected_root_page_id" integer)  (0.9ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id")  (1.1ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_type" varchar(255), "taggable_id" integer)  (1.0ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.8ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.9ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime, "storytime_role_id" integer)   (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (1.0ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140728194758')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140530185250')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501174341')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509150223')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509191309')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511200849')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513161233')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513162745')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200234')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200304')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516141252')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521190606')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191048')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191728')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191744')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140714015418')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140714020907') Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" ORDER BY "storytime_tags"."id" ASC LIMIT 1  (0.1ms) begin transaction Storytime::Tag Exists (0.2ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 20:33:53.252058"], ["name", "test"], ["updated_at", "2014-07-28 20:33:53.252058"]]  (2.3ms) commit transaction Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."taggable_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_taggings"."taggable_type" = 'Post' [["tag_id", 1]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_posts" ("content", "created_at", "excerpt", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["content", "test post"], ["created_at", "2014-07-28 20:34:55.332885"], ["excerpt", "TEST"], ["title", "test title"], ["updated_at", "2014-07-28 20:34:55.332885"], ["user_id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?) [["content", "test post"], ["created_at", "2014-07-28 20:34:55.341503"], ["updated_at", "2014-07-28 20:34:55.341503"], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]]  (1.0ms) commit transaction Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."taggable_id" = ? AND "storytime_taggings"."taggable_type" = ? [["taggable_id", 1], ["taggable_type", "Storytime::Post"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_taggings" ("created_at", "tag_id", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-28 20:35:03.338181"], ["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Storytime::Post"], ["updated_at", "2014-07-28 20:35:03.338181"]]  (2.2ms) commit transaction Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."taggable_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_taggings"."taggable_type" = 'Post' [["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."taggable_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_taggings"."taggable_type" = 'Post' [["tag_id", 1]] Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" Storytime::Tag Load (0.7ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."taggable_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_taggings"."taggable_type" = 'Post' [["tag_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" ORDER BY "storytime_tags"."id" DESC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."taggable_id" WHERE "storytime_taggings"."tag_id" = ? AND "storytime_taggings"."taggable_type" = 'Storytime::Post' [["tag_id", 1]] ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to ChangeTaggingsToTaggable (20140728194758)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "storytime_taggings" ADD "post_id" integer Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."taggable_type" = 'Post' ORDER BY "storytime_taggings"."id" ASC LIMIT 1000  (1.5ms) CREATE TEMPORARY TABLE "astorytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_type" varchar(255), "taggable_id" integer, "post_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_astorytime_taggings_on_tag_id" ON "astorytime_taggings" ("tag_id")  (0.1ms) SELECT * FROM "storytime_taggings"  (0.1ms) INSERT INTO "astorytime_taggings" ("id","tag_id","created_at","updated_at","taggable_type","taggable_id","post_id") VALUES (1, 1, '2014-07-28 20:35:03.338181', '2014-07-28 20:35:03.338181', 'Storytime::Post', 1, NULL)  (1.4ms) DROP TABLE "storytime_taggings"  (0.2ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_id" integer, "post_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT * FROM "astorytime_taggings"  (0.1ms) INSERT INTO "storytime_taggings" ("id","tag_id","created_at","updated_at","taggable_id","post_id") VALUES (1, 1, '2014-07-28 20:35:03.338181', '2014-07-28 20:35:03.338181', 1, NULL)  (0.4ms) DROP TABLE "astorytime_taggings"  (0.1ms) CREATE TEMPORARY TABLE "astorytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "taggable_id" integer, "post_id" integer)   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.2ms) CREATE INDEX "tindex_astorytime_taggings_on_tag_id" ON "astorytime_taggings" ("tag_id")  (0.1ms) SELECT * FROM "storytime_taggings"  (0.1ms) INSERT INTO "astorytime_taggings" ("id","tag_id","created_at","updated_at","taggable_id","post_id") VALUES (1, 1, '2014-07-28 20:35:03.338181', '2014-07-28 20:35:03.338181', 1, NULL)  (0.2ms) DROP TABLE "storytime_taggings"  (0.2ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "created_at" datetime, "updated_at" datetime, "post_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_astorytime_taggings_on_tag_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT * FROM "astorytime_taggings"  (0.1ms) INSERT INTO "storytime_taggings" ("id","tag_id","created_at","updated_at","post_id") VALUES (1, 1, '2014-07-28 20:35:03.338181', '2014-07-28 20:35:03.338181', NULL)  (0.1ms) DROP TABLE "astorytime_taggings" SQL (0.5ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140728194758'  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'   (0.9ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddPostTypeIdToPages (20140728205557)  (0.2ms) begin transaction  (0.7ms) ALTER TABLE "storytime_pages" ADD "post_type_id" integer  (0.1ms) select sqlite_version(*)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'   (0.8ms) CREATE INDEX "index_storytime_pages_on_post_type_id" ON "storytime_pages" ("post_type_id") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140728205557"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_post_type_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 15:59:31 -0500 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 52ms (ActiveRecord: 2.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-28 15:59:32 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.5ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (81.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (91.3ms) Storytime::Action Load (0.9ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (36.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (1.1ms) Completed 200 OK in 3609ms (Views: 3593.7ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:35 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 15:59:36 -0500 Started POST "/dashboard/sites" for 127.0.0.1 at 2014-07-28 15:59:41 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites"  (0.4ms) begin transaction Storytime::Role Exists (0.7ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 SQL (0.9ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 20:59:41.352639"], ["name", "writer"], ["updated_at", "2014-07-28 20:59:41.352639"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Storytime::Role Exists (0.2ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 20:59:41.362477"], ["name", "editor"], ["updated_at", "2014-07-28 20:59:41.362477"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Storytime::Role Exists (0.3ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 20:59:41.367513"], ["name", "admin"], ["updated_at", "2014-07-28 20:59:41.367513"]]  (1.0ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.4ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Other People''s Posts/Pages' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-28 20:59:41.382877"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-07-28 20:59:41.382877"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-28 20:59:41.388368"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-07-28 20:59:41.388368"]]  (1.1ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.8ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-28 20:59:41.395841"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-07-28 20:59:41.395841"]]  (1.6ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-28 20:59:41.402519"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-07-28 20:59:41.402519"]]  (2.4ms) commit transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1  (0.1ms) begin transaction SQL (1.6ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-28 20:59:41.425958"], ["role_id", 1], ["updated_at", "2014-07-28 20:59:41.425958"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-28 20:59:41.436268"], ["role_id", 2], ["updated_at", "2014-07-28 20:59:41.436268"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-28 20:59:41.439107"], ["role_id", 3], ["updated_at", "2014-07-28 20:59:41.439107"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-28 20:59:41.443535"], ["role_id", 2], ["updated_at", "2014-07-28 20:59:41.443535"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-28 20:59:41.448952"], ["role_id", 3], ["updated_at", "2014-07-28 20:59:41.448952"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-07-28 20:59:41.452234"], ["role_id", 3], ["updated_at", "2014-07-28 20:59:41.452234"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-07-28 20:59:41.458324"], ["role_id", 3], ["updated_at", "2014-07-28 20:59:41.458324"]]  (0.7ms) commit transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) UPDATE "users" SET "storytime_role_id" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["storytime_role_id", 3], ["updated_at", "2014-07-28 20:59:41.463848"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-07-28 20:59:41.468844"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "test site"], ["updated_at", "2014-07-28 20:59:41.468844"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/sites/1/edit Completed 302 Found in 159ms (ActiveRecord: 34.5ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-28 15:59:41 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (15.9ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (47.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 124ms (Views: 76.7ms | ActiveRecord: 3.1ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-28 15:59:47 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (9.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (12.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 60ms (Views: 46.1ms | ActiveRecord: 2.6ms) Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 15:59:47 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 15:59:48 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (14.5ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (10.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (30.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (54.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (63.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 152ms (Views: 89.9ms | ActiveRecord: 4.7ms) Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 15:59:48 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-28 15:59:52 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (7.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (10.6ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 60ms (Views: 44.8ms | ActiveRecord: 2.5ms) Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" DESC LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) DELETE FROM "storytime_sites" WHERE "storytime_sites"."id" = ? [["id", 1]]  (0.8ms) commit transaction Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (13.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (15.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 38.7ms | ActiveRecord: 1.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:01:18 -0500 Started POST "/dashboard/sites" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites"  (0.0ms) begin transaction Storytime::Role Exists (0.6ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Exists (0.2ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Storytime::Action Exists (0.5ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Other People''s Posts/Pages' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1  (0.1ms) rollback transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1  (0.1ms) begin transaction SQL (2.6ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-28 21:02:34.535438"], ["role_id", 1], ["updated_at", "2014-07-28 21:02:34.535438"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-28 21:02:34.680356"], ["role_id", 2], ["updated_at", "2014-07-28 21:02:34.680356"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-28 21:02:34.683554"], ["role_id", 3], ["updated_at", "2014-07-28 21:02:34.683554"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-28 21:02:34.688012"], ["role_id", 2], ["updated_at", "2014-07-28 21:02:34.688012"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-28 21:02:34.691301"], ["role_id", 3], ["updated_at", "2014-07-28 21:02:34.691301"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-07-28 21:02:34.693827"], ["role_id", 3], ["updated_at", "2014-07-28 21:02:34.693827"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-07-28 21:02:34.696077"], ["role_id", 3], ["updated_at", "2014-07-28 21:02:34.696077"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 21:02:34.705374"], ["name", "post"], ["updated_at", "2014-07-28 21:02:34.705374"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 21:02:34.708859"], ["name", "page"], ["updated_at", "2014-07-28 21:02:34.708859"]]  (0.8ms) commit transaction Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-07-28 21:02:34.715270"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "test site"], ["updated_at", "2014-07-28 21:02:34.715270"]]  (0.8ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/sites/2/edit Completed 302 Found in 266ms (ActiveRecord: 25.2ms) Started GET "/dashboard/sites/2/edit" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.6ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (17.9ms) Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (44.9ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 83ms (Views: 70.5ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:34 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:35 -0500 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (6.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 27.5ms | ActiveRecord: 1.9ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:02:56 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.6ms) Storytime::Media Load (0.7ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.6ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (33.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (41.0ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 95ms (Views: 61.5ms | ActiveRecord: 4.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 16:02:58 -0500 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types"  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? [["id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? [["id", 2]]  (0.6ms) commit transaction Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 16:04:48 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (9.4ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (36.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (41.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 129ms (Views: 66.9ms | ActiveRecord: 6.1ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 16:04:49 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (5.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (8.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 34.9ms | ActiveRecord: 1.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:04:52 -0500 Started GET "/dashboard/post_types/new" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Processing by Storytime::Dashboard::PostTypesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.5ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (4.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_form.html.erb (5.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/new.html.erb within layouts/storytime/dashboard (13.1ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 55ms (Views: 43.0ms | ActiveRecord: 1.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:04:53 -0500 Started POST "/dashboard/post_types" for 127.0.0.1 at 2014-07-28 16:04:56 -0500 Processing by Storytime::Dashboard::PostTypesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post_type"=>{"name"=>"Portfolio"}, "commit"=>"Create Post type"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 21:04:56.901972"], ["name", "Portfolio"], ["updated_at", "2014-07-28 21:04:56.901972"]]  (0.9ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/post_types/3/edit Completed 302 Found in 12ms (ActiveRecord: 2.1ms) Started GET "/dashboard/post_types/3/edit" for 127.0.0.1 at 2014-07-28 16:04:56 -0500 Processing by Storytime::Dashboard::PostTypesController#edit as HTML Parameters: {"id"=>"3"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.7ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (5.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_form.html.erb (3.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/edit.html.erb within layouts/storytime/dashboard (12.9ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 56ms (Views: 43.5ms | ActiveRecord: 3.2ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:04:57 -0500 Started PATCH "/dashboard/post_types/3" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Processing by Storytime::Dashboard::PostTypesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post_type"=>{"name"=>"Person"}, "commit"=>"Update Post type", "id"=>"3"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.9ms) UPDATE "storytime_post_types" SET "name" = ?, "updated_at" = ? WHERE "storytime_post_types"."id" = 3 [["name", "Person"], ["updated_at", "2014-07-28 21:05:00.494338"]]  (0.9ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/post_types/3/edit Completed 302 Found in 15ms (ActiveRecord: 3.0ms) Started GET "/dashboard/post_types/3/edit" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Processing by Storytime::Dashboard::PostTypesController#edit as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_form.html.erb (5.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/edit.html.erb within layouts/storytime/dashboard (15.8ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.4ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 54ms (Views: 46.4ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:05:00 -0500 Started GET "/dashboard/post_types/new" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Processing by Storytime::Dashboard::PostTypesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (6.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_form.html.erb (10.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/new.html.erb within layouts/storytime/dashboard (20.0ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (11.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 76ms (Views: 67.1ms | ActiveRecord: 2.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:05:03 -0500 Started POST "/dashboard/post_types" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Processing by Storytime::Dashboard::PostTypesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post_type"=>{"name"=>"Portfolio"}, "commit"=>"Create Post type"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-28 21:05:06.319340"], ["name", "Portfolio"], ["updated_at", "2014-07-28 21:05:06.319340"]]  (1.1ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/post_types/4/edit Completed 302 Found in 12ms (ActiveRecord: 3.0ms) Started GET "/dashboard/post_types/4/edit" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Processing by Storytime::Dashboard::PostTypesController#edit as HTML Parameters: {"id"=>"4"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.8ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 4]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (9.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_form.html.erb (4.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/edit.html.erb within layouts/storytime/dashboard (18.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 45.0ms | ActiveRecord: 2.4ms) Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:05:06 -0500 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (6.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 43ms (Views: 32.7ms | ActiveRecord: 2.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:05:10 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (22.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (32.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 68ms (Views: 54.2ms | ActiveRecord: 2.8ms) Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 16:05:12 -0500 Started POST "/dashboard/pages" for 127.0.0.1 at 2014-07-28 16:05:26 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "post_type_id"=>"4", "draft_content"=>"i'm a portfolio page", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Unpermitted parameters: post_type_id  (0.1ms) begin transaction Storytime::Page Exists (0.4ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE "storytime_pages"."slug" = 'test-page' LIMIT 1 Storytime::Page Exists (0.6ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'test-page') LIMIT 1 SQL (0.7ms) INSERT INTO "storytime_pages" ("created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-28 21:05:26.813539"], ["slug", "test-page"], ["title", "test page"], ["updated_at", "2014-07-28 21:05:26.813539"], ["user_id", 1]] Storytime::Version Load (0.7ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (1.4ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "i'm a portfolio page"], ["created_at", "2014-07-28 21:05:26.822351"], ["updated_at", "2014-07-28 21:05:26.822351"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'test-page' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.8ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-28 21:05:26.833908"], ["slug", "test-page"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (1.0ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 51ms (ActiveRecord: 7.6ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 16:05:26 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.4ms) Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (7.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (3.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (18.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (36.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 70ms (Views: 55.8ms | ActiveRecord: 3.6ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:26 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:26 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:26 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:26 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 16:05:27 -0500 Started PATCH "/dashboard/pages/test-page" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "post_type_id"=>"", "draft_content"=>"i'm a portfolio page", "published"=>"1"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Page", "id"=>"test-page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Unpermitted parameters: post_type_id  (0.1ms) begin transaction SQL (0.5ms) UPDATE "storytime_pages" SET "published_at" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["published_at", "2014-07-28 21:05:31.188506"], ["updated_at", "2014-07-28 21:05:31.189094"]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'i''m a portfolio page', "published_at" = '2014-07-28 21:05:31.193000' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.1ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 24ms (ActiveRecord: 3.5ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.1ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.4ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.5ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (18.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (28.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 59ms (Views: 49.0ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 16:05:31 -0500 Started GET "/test-page" for 127.0.0.1 at 2014-07-28 16:05:50 -0500 Processing by Storytime::PagesController#show as HTML Parameters: {"id"=>"test-page"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE (published_at is not null) AND "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/pages/show.html.erb within layouts/storytime/application (0.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (10.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (73.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.5ms) Completed 200 OK in 115ms (Views: 110.2ms | ActiveRecord: 1.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:05:51 -0500 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1 Started PATCH "/dashboard/pages/test-page" for 127.0.0.1 at 2014-07-28 16:10:55 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "post_type_id"=>"4", "draft_content"=>"i'm a portfolio page", "published"=>"1"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Page", "id"=>"test-page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Unpermitted parameters: post_type_id  (0.1ms) begin transaction SQL (0.3ms) UPDATE "storytime_pages" SET "published_at" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["published_at", "2014-07-28 21:10:55.861759"], ["updated_at", "2014-07-28 21:10:55.862293"]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'i''m a portfolio page', "published_at" = '2014-07-28 21:10:55.875367' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (2.1ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 92ms (ActiveRecord: 8.1ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 16:10:55 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.0ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (6.4ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.1ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (45.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (61.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (13.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 117ms (Views: 98.8ms | ActiveRecord: 4.6ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 16:10:56 -0500 Started PATCH "/dashboard/pages/test-page" for 127.0.0.1 at 2014-07-28 16:11:39 -0500 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "post_type_id"=>"4", "draft_content"=>"i'm a portfolio page", "published"=>"1"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Page", "id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction SQL (0.6ms) UPDATE "storytime_pages" SET "post_type_id" = ?, "published_at" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["post_type_id", 4], ["published_at", "2014-07-28 21:11:40.038380"], ["updated_at", "2014-07-28 21:11:40.042355"]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.1ms) UPDATE "storytime_pages" SET "content" = 'i''m a portfolio page', "published_at" = '2014-07-28 21:11:40.066093' WHERE "storytime_pages"."id" = 1 FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (2.1ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 383ms (ActiveRecord: 9.5ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 16:11:40 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (9.0ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (10.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (10.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (21.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (82.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (114.1ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (15.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Completed 200 OK in 668ms (Views: 624.9ms | ActiveRecord: 4.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:40 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:40 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:40 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:40 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 16:11:41 -0500 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" ORDER BY "storytime_pages"."id" DESC LIMIT 1  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (0.8ms) commit transaction Migrating to CreateStorytimePages (20140509150223)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509150223"]]  (0.8ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)  (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (1.2ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.7ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.7ms) commit transaction Migrating to AddSelectedRootPageToStorytimeSites (20140513162745)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "storytime_sites" ADD "selected_root_page_id" integer  (0.1ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513162745"]]  (0.8ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.6ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.8ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (0.9ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.8ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "storytime_role_id" integer SQLite3::SQLException: no such table: users: ALTER TABLE "users" ADD "storytime_role_id" integer  (0.0ms) rollback transaction  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20140530185250)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140530185250"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (2.6ms) commit transaction Migrating to CreateStorytimePages (20140509150223)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_pages_on_user_id" ON "storytime_pages" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509150223"]]  (1.1ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (1.0ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.8ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (1.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.9ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (1.6ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.7ms) commit transaction Migrating to AddSelectedRootPageToStorytimeSites (20140513162745)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "storytime_sites" ADD "selected_root_page_id" integer  (0.1ms) CREATE INDEX "index_storytime_sites_on_selected_root_page_id" ON "storytime_sites" ("selected_root_page_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513162745"]]  (1.0ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.8ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.8ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (1.3ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.8ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.2ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191048"]]  (0.8ms) commit transaction Migrating to CreateStorytimePermissions (20140521191728)  (0.1ms) begin transaction  (1.2ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.2ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191728"]]  (1.2ms) commit transaction Migrating to CreateStorytimeActions (20140521191744)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191744"]]  (0.9ms) commit transaction Migrating to CreateStorytimePostTypes (20140714015418)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140714015418"]]  (0.9ms) commit transaction Migrating to AddPostTypeIdToPosts (20140714020907)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "storytime_posts" ADD "post_type_id" integer  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.3ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140714020907"]]  (1.0ms) commit transaction Migrating to AddPostTypeIdToPages (20140728205557)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "storytime_pages" ADD "post_type_id" integer  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'   (0.3ms) CREATE INDEX "index_storytime_pages_on_post_type_id" ON "storytime_pages" ("post_type_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140728205557"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_post_type_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddFeaturedMediaIdToPostsAndPages (20140729005754)  (0.1ms) begin transaction  (2.6ms) ALTER TABLE "storytime_posts" ADD "featured_media_id" integer  (0.2ms) ALTER TABLE "storytime_pages" ADD "featured_media_id" integer SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140729005754"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_post_type_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_pages_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_pages_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_selected_root_page_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1 Started GET "/dashboard/pages/" for 127.0.0.1 at 2014-07-28 20:57:43 -0500 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 29ms Started GET "/users/sign_in" for 127.0.0.1 at 2014-07-28 20:57:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/application (29.9ms) Completed 200 OK in 94ms (Views: 83.1ms | ActiveRecord: 0.1ms) Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-28 20:57:43 -0500 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-07-28 20:57:43 -0500 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-07-28 20:57:43 -0500 Started POST "/users/sign_in" for 127.0.0.1 at 2014-07-28 20:57:50 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"bcroesch@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'bcroesch@gmail.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 4ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"bcroesch@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) Completed 200 OK in 84ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2014-07-28 20:57:54 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 81ms (Views: 10.3ms | ActiveRecord: 0.0ms) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started POST "/users/sign_in" for 127.0.0.1 at 2014-07-28 20:58:13 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1 Completed 401 Unauthorized in 3ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 84ms (Views: 11.5ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-07-28 20:58:16 -0500 Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.5ms) SELECT COUNT(*) FROM "users" Redirected to http://0.0.0.0:3000/users/sign_up Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/users/sign_up" for 127.0.0.1 at 2014-07-28 20:58:16 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/registrations/new.html.erb within layouts/application (4.8ms) Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2014-07-28 20:58:22 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"bcroesch@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bcroesch@gmail.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 01:58:22.869809"], ["email", "bcroesch@gmail.com"], ["encrypted_password", "$2a$10$uFOJqJUzej8xm/ovjKRssOcHVSXIhxt.lbjGvH4fJdthnEdSZ.gVi"], ["updated_at", "2014-07-29 01:58:22.869809"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Binary data inserted for `string` type on column `current_sign_in_ip` Binary data inserted for `string` type on column `last_sign_in_ip` SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-07-29 01:58:22.878999"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-29 01:58:22.878999"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-07-29 01:58:22.880054"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages Completed 302 Found in 110ms (ActiveRecord: 3.8ms) Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-28 20:58:22 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/dashboard/sites/new Filter chain halted as :ensure_site rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-28 20:58:22 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Page Load (0.6ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (49.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (51.4ms) Storytime::Action Load (0.6ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (20.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.8ms) Completed 200 OK in 439ms (Views: 427.5ms | ActiveRecord: 1.9ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:23 -0500 Started POST "/dashboard/sites" for 127.0.0.1 at 2014-07-28 20:58:37 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"posts", "selected_root_page_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites"  (0.2ms) begin transaction Storytime::Role Exists (1.3ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-29 01:58:37.906884"], ["name", "writer"], ["updated_at", "2014-07-29 01:58:37.906884"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Storytime::Role Exists (0.3ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-29 01:58:37.913452"], ["name", "editor"], ["updated_at", "2014-07-29 01:58:37.913452"]]  (4.2ms) commit transaction  (0.2ms) begin transaction Storytime::Role Exists (0.4ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-29 01:58:37.925011"], ["name", "admin"], ["updated_at", "2014-07-29 01:58:37.925011"]]  (1.2ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Other People''s Posts/Pages' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 01:58:37.938205"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-07-29 01:58:37.938205"]]  (1.5ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.5ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 01:58:37.946939"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-07-29 01:58:37.946939"]]  (1.3ms) commit transaction  (0.6ms) begin transaction Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 01:58:37.954999"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-07-29 01:58:37.954999"]]  (1.3ms) commit transaction  (0.3ms) begin transaction Storytime::Action Exists (0.5ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 01:58:37.964609"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-07-29 01:58:37.964609"]]  (0.9ms) commit transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-29 01:58:37.984801"], ["role_id", 1], ["updated_at", "2014-07-29 01:58:37.984801"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-29 01:58:37.992784"], ["role_id", 2], ["updated_at", "2014-07-29 01:58:37.992784"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-29 01:58:37.997401"], ["role_id", 3], ["updated_at", "2014-07-29 01:58:37.997401"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-29 01:58:38.000660"], ["role_id", 2], ["updated_at", "2014-07-29 01:58:38.000660"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-29 01:58:38.003252"], ["role_id", 3], ["updated_at", "2014-07-29 01:58:38.003252"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-07-29 01:58:38.005692"], ["role_id", 3], ["updated_at", "2014-07-29 01:58:38.005692"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-07-29 01:58:38.009625"], ["role_id", 3], ["updated_at", "2014-07-29 01:58:38.009625"]]  (1.1ms) commit transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "users" SET "storytime_role_id" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["storytime_role_id", 3], ["updated_at", "2014-07-29 01:58:38.014005"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-07-29 01:58:38.016532"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "test site"], ["updated_at", "2014-07-29 01:58:38.016532"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/sites/1/edit Completed 302 Found in 134ms (ActiveRecord: 36.6ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (13.9ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (36.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 62.0ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:38 -0500 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (2.4ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (13.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (19.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 48.2ms | ActiveRecord: 5.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 20:58:40 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 20:58:41 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.7ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (11.5ms) Storytime::Media Load (0.6ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (23.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (50.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (58.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 135ms (Views: 79.1ms | ActiveRecord: 5.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 20:58:42 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (3.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (20.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (26.2ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 72ms (Views: 59.1ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 20:59:21 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 20:59:22 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 20:59:22 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:05:17 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (3.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (21.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (28.9ms) Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 617ms (Views: 605.5ms | ActiveRecord: 3.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:18 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:05:19 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:05:19 -0500 Started POST "/dashboard/pages" for 127.0.0.1 at 2014-07-28 21:05:38 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"", "draft_content"=>"", "featured_media_id"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Unpermitted parameters: featured_media_id  (0.1ms) begin transaction Storytime::Page Exists (0.3ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE "storytime_pages"."slug" = '' LIMIT 1 Storytime::Page Exists (0.2ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = '') LIMIT 1  (0.1ms) rollback transaction Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.2ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (21.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (27.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 86ms (Views: 49.2ms | ActiveRecord: 4.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:38 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:38 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:38 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:05:39 -0500 Started POST "/dashboard/pages" for 127.0.0.1 at 2014-07-28 21:05:45 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"", "draft_content"=>"", "featured_media_id"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Unpermitted parameters: featured_media_id  (0.1ms) begin transaction Storytime::Page Exists (0.1ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE "storytime_pages"."slug" = '' LIMIT 1 Storytime::Page Exists (0.1ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = '') LIMIT 1  (0.1ms) rollback transaction Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.7ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (26.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (32.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 88ms (Views: 67.0ms | ActiveRecord: 4.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:05:45 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:45 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:45 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:45 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:45 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:05:46 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.5ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (7.0ms)  (0.4ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.6ms) Storytime::Media Load (0.4ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.1ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (18.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (45.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (56.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.4ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 111ms (Views: 91.2ms | ActiveRecord: 5.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:05:50 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:05:51 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:05:51 -0500 Started POST "/dashboard/media" for 127.0.0.1 at 2014-07-28 21:06:15 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "media"=>{"file"=>#, @original_filename="1002482_10100902158493997_187868236_n.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"1002482_10100902158493997_187868236_n.jpg\"\r\nContent-Type: image/jpeg\r\n">}} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 02:06:15.673046"], ["file", "1002482_10100902158493997_187868236_n.jpg"], ["updated_at", "2014-07-29 02:06:15.673046"], ["user_id", 1]]  (0.8ms) commit transaction Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (10.5ms) Completed 200 OK in 294ms (Views: 26.2ms | ActiveRecord: 2.4ms) Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.7ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (10.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (27.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (32.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 72ms (Views: 56.2ms | ActiveRecord: 3.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:06:23 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:06:24 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:06:24 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.7ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (27.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (33.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 72ms (Views: 57.7ms | ActiveRecord: 3.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:08:51 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:08:52 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:08:52 -0500 Started GET "/dashboard/pages/undefined" for 127.0.0.1 at 2014-07-28 21:09:48 -0500 ActionController::RoutingError (No route matches [GET] "/dashboard/pages/undefined"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (11.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (11.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (131.2ms) Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:11:43 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.9ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (27.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (36.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 1462ms (Views: 1446.5ms | ActiveRecord: 3.2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:44 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:44 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:44 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:44 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:44 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:11:45 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:12:45 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (23.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (32.4ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 67ms (Views: 54.1ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:12:46 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:13:54 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.4ms)  (0.4ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.7ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (23.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (29.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 71ms (Views: 57.2ms | ActiveRecord: 3.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:13:55 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:14:03 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:20:39 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.3ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (22.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (28.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 377ms (Views: 365.4ms | ActiveRecord: 3.1ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:20:40 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:20:42 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:20:47 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.8ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (28.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (36.5ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 71ms (Views: 58.6ms | ActiveRecord: 2.8ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:10 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:21:11 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:21:11 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (23.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (29.9ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 289ms (Views: 278.5ms | ActiveRecord: 2.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:21:26 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:22:45 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (28.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (35.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 74ms (Views: 59.8ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:22:46 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (23.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (31.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 303ms (Views: 291.9ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:25:10 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:25:11 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:25:11 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:26:36 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (14.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (22.5ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `featured_media' for #): 6: 7: <%= f.input :featured_media_id, as: :hidden, input_html: { id: "featured_media_id" } %> 8: <%= link_to "Select Featured Image", "#", class: "btn btn-default", id: "featured_media_button" %> 9: <%= image_tag @page.featured_media.file_url(:thumb) if @page.featured_media %> 10: 11: <% if Pundit.policy(current_user, @page).publish? %> 12:
activemodel (4.1.0) lib/active_model/attribute_methods.rb:435:in `method_missing' activerecord (4.1.0) lib/active_record/attribute_methods.rb:206:in `method_missing' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb:9:in `block in ___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_pages__form_html_erb___2523492390085321441_2263733480' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb:1:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_pages__form_html_erb___2523492390085321441_2263733480' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb:9:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_pages_new_html_erb__2987390468608972768_2197832060' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.1ms) Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.3ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.2ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (37.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (43.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 146ms (Views: 71.2ms | ActiveRecord: 5.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:26:58 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:26:59 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:26:59 -0500 Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1 Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY "storytime_media"."id" DESC LIMIT 1 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.2ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (4.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (9.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (46.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (52.8ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (14.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 388ms (Views: 319.3ms | ActiveRecord: 6.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:46 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:33:47 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:34:10 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.7ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (26.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (34.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 325ms (Views: 309.8ms | ActiveRecord: 3.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:34:11 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:34:12 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:34:12 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.6ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.7ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (24.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (34.2ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 337ms (Views: 320.9ms | ActiveRecord: 4.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:36:40 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:36:41 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:36:41 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:37:14 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.9ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (10.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (25.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (30.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 1189ms (Views: 1176.0ms | ActiveRecord: 2.8ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:37:16 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-28 21:37:37 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (3.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.8ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (30.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (36.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 376ms (Views: 362.1ms | ActiveRecord: 3.3ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:38 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:37:39 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:37:39 -0500 Started POST "/dashboard/pages" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Processing by Storytime::Dashboard::PagesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "draft_content"=>"test", "featured_media_id"=>"1", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Unpermitted parameters: featured_media_id  (0.1ms) begin transaction Storytime::Page Exists (0.2ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE "storytime_pages"."slug" = 'test-page' LIMIT 1 Storytime::Page Exists (0.2ms) SELECT 1 AS one FROM "storytime_pages" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_pages"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Page' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Page' AND "friendly_id_slugs"."slug" = 'test-page') LIMIT 1 SQL (1.9ms) INSERT INTO "storytime_pages" ("created_at", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-29 02:37:52.254987"], ["slug", "test-page"], ["title", "test page"], ["updated_at", "2014-07-29 02:37:52.254987"], ["user_id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.5ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "test"], ["created_at", "2014-07-29 02:37:52.270453"], ["updated_at", "2014-07-29 02:37:52.270453"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.2ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'test-page' [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]] SQL (0.4ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 02:37:52.284735"], ["slug", "test-page"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (1.2ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 71ms (ActiveRecord: 7.3ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (9.7ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (9.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.4ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.9ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (8.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (27.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (54.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 109ms (Views: 89.2ms | ActiveRecord: 4.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:52 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:37:53 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:37:53 -0500 Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.8ms) Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (5.6ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.7ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (33.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (50.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 75.7ms | ActiveRecord: 3.9ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:37:57 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:37:58 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:37:58 -0500 Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (7.4ms) Storytime::Version Load (0.4ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (19.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.3ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (46.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (77.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (15.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 193ms (Views: 110.1ms | ActiveRecord: 8.7ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:30 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:38:31 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:38:31 -0500 Started PATCH "/dashboard/pages/test-page" for 127.0.0.1 at 2014-07-28 21:38:37 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "draft_content"=>"test", "featured_media_id"=>"1", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Page", "id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.2ms) begin transaction SQL (0.5ms) UPDATE "storytime_pages" SET "featured_media_id" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["featured_media_id", 1], ["updated_at", "2014-07-29 02:38:37.926759"]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.3ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.8ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 41ms (ActiveRecord: 4.7ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 21:38:37 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.2ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.5ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.1ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (9.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (32.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (46.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 95ms (Views: 77.0ms | ActiveRecord: 4.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:38 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:38:39 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:38:39 -0500 Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.4ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (4.8ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.9ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (45.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (58.2ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 100ms (Views: 83.6ms | ActiveRecord: 4.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:38:43 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:38:44 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:38:44 -0500 Started POST "/dashboard/media" for 127.0.0.1 at 2014-07-28 21:38:55 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "media"=>{"file"=>#, @original_filename="DSCF6332.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"DSCF6332.JPG\"\r\nContent-Type: image/jpeg\r\n">}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 02:38:56.494618"], ["file", "DSCF6332.JPG"], ["updated_at", "2014-07-29 02:38:56.494618"], ["user_id", 1]]  (3.1ms) commit transaction Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (6.2ms) Completed 200 OK in 1097ms (Views: 18.7ms | ActiveRecord: 4.4ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-07-28 21:40:09 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "media"=>{"file"=>#, @original_filename="headshot-128@2x.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"headshot-128@2x.png\"\r\nContent-Type: image/png\r\n">}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 02:40:09.508093"], ["file", "headshot-128_2x.png"], ["updated_at", "2014-07-29 02:40:09.508093"], ["user_id", 1]]  (0.7ms) commit transaction Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (216189.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (216191.1ms) Completed 200 OK in 216398ms (Views: 216205.9ms | ActiveRecord: 5.3ms) Started POST "/dashboard/media" for 127.0.0.1 at 2014-07-28 21:43:50 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "media"=>{"file"=>#, @original_filename="DSCF6402.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"DSCF6402.JPG\"\r\nContent-Type: image/jpeg\r\n">}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 02:43:51.938420"], ["file", "DSCF6402.JPG"], ["updated_at", "2014-07-29 02:43:51.938420"], ["user_id", 1]]  (2.9ms) commit transaction Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (3.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (5.1ms) Completed 200 OK in 849ms (Views: 16.1ms | ActiveRecord: 6.0ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 21:43:54 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.5ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (13.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (9.2ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (24.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (34.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (55.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (77.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 153ms (Views: 102.3ms | ActiveRecord: 5.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:43:55 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:43:56 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:43:56 -0500 Started POST "/dashboard/media" for 127.0.0.1 at 2014-07-28 21:44:02 -0500 Processing by Storytime::Dashboard::MediaController#create as JSON Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "media"=>{"file"=>#, @original_filename="DSCF6353_2.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"media[file]\"; filename=\"DSCF6353_2.JPG\"\r\nContent-Type: image/jpeg\r\n">}} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_media" ("created_at", "file", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-07-29 02:44:03.081421"], ["file", "DSCF6353_2.JPG"], ["updated_at", "2014-07-29 02:44:03.081421"], ["user_id", 1]]  (4.5ms) commit transaction Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (2.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/show.json.jbuilder (4.8ms) Completed 200 OK in 830ms (Views: 16.4ms | ActiveRecord: 6.0ms) Started PATCH "/dashboard/pages/test-page" for 127.0.0.1 at 2014-07-28 21:44:06 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "draft_content"=>"test", "featured_media_id"=>"5", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Page", "id"=>"test-page"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "storytime_pages" SET "featured_media_id" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["featured_media_id", 5], ["updated_at", "2014-07-29 02:44:07.013873"]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.7ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.8ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 43ms (ActiveRecord: 5.0ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (7.1ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 5]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.1ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (11.9ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (17.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (22.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (41.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (56.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 96ms (Views: 81.1ms | ActiveRecord: 4.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 21:44:07 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 21:44:08 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 21:44:08 -0500 Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.2ms) Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.4ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (18.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 5]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (9.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (14.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (21.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (46.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (75.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (11.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 178ms (Views: 106.4ms | ActiveRecord: 7.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 22:36:28 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 22:36:42 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 22:36:42 -0500 Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 22:37:24 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (5.6ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.7ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 5]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (11.4ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (15.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (33.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (47.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 244ms (Views: 228.7ms | ActiveRecord: 3.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 22:37:25 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 22:37:29 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 22:37:29 -0500 Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.2ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 5]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.9ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (9.2ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (14.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (18.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (32.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (47.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 248ms (Views: 232.5ms | ActiveRecord: 3.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:29 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 22:58:30 -0500 Started PATCH "/dashboard/pages/test-page" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Processing by Storytime::Dashboard::PagesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "page"=>{"title"=>"test page", "draft_content"=>"\"\"test", "featured_media_id"=>"4", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Page", "id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction SQL (0.9ms) UPDATE "storytime_pages" SET "featured_media_id" = ?, "updated_at" = ? WHERE "storytime_pages"."id" = 1 [["featured_media_id", 4], ["updated_at", "2014-07-29 03:58:43.460944"]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] SQL (0.4ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "\"\"test"], ["created_at", "2014-07-29 03:58:43.468187"], ["updated_at", "2014-07-29 03:58:43.468187"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Page"]] FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Page"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/pages/test-page/edit Completed 302 Found in 34ms (ActiveRecord: 4.2ms) Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.1ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.9ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (7.7ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 4]] Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (9.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (13.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (35.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (54.1ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 84ms (Views: 72.6ms | ActiveRecord: 3.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-28 22:58:43 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-28 22:58:44 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-28 22:58:44 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (13.1ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 77ms (Views: 58.6ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:09 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 08:15:10 -0500 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (8.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (10.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 52ms (Views: 38.6ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 08:15:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 08:15:13 -0500 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (2.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.8ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (14.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (21.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (11.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 149ms (Views: 76.5ms | ActiveRecord: 6.9ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:36 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 08:53:37 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.6ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.9ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (11.6ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (16.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (24.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (66.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (76.1ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 136ms (Views: 99.4ms | ActiveRecord: 3.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:39 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 08:53:40 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 08:53:40 -0500 Started GET "/dashboard/pages" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Processing by Storytime::Dashboard::PagesController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (13.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/index.html.erb within layouts/storytime/dashboard (16.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 72ms (Views: 56.8ms | ActiveRecord: 3.2ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:55 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 08:53:56 -0500 Started GET "/dashboard/pages/test-page/edit" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Processing by Storytime::Dashboard::PagesController#edit as HTML Parameters: {"id"=>"test-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" WHERE "storytime_pages"."slug" = 'test-page' ORDER BY "storytime_pages"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.1ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (10.1ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Page"]] Storytime::Media Load (0.1ms) SELECT "storytime_media".* FROM "storytime_media" WHERE "storytime_media"."id" = ? LIMIT 1 [["id", 4]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.4ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (9.9ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (14.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (36.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/edit.html.erb within layouts/storytime/dashboard (58.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 101ms (Views: 83.5ms | ActiveRecord: 4.4ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 08:53:59 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 08:54:00 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 08:54:00 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-29 09:23:57 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.2ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (7.8ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (11.6ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (16.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (21.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (35.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (45.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 612ms (Views: 594.6ms | ActiveRecord: 4.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:58 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 09:23:59 -0500 Started GET "/dashboard/pages/new" for 127.0.0.1 at 2014-07-29 09:58:00 -0500 Processing by Storytime::Dashboard::PagesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Page Load (0.3ms) SELECT "storytime_pages".* FROM "storytime_pages" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_pages" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_list.html.erb (6.4ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.2ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (10.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (14.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (19.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/_form.html.erb (31.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/pages/new.html.erb within layouts/storytime/dashboard (40.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 81ms (Views: 66.6ms | ActiveRecord: 3.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:00 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:00 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:00 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/pages.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 09:58:01 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 09:58:01 -0500  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.4ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type_id" integer, "featured_media_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (0.8ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.8ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.7ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.7ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.8ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.8ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (0.8ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.8ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "users" ADD "storytime_role_id" integer SQLite3::SQLException: no such table: users: ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms) rollback transaction  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20140530185250)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140530185250"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type_id" integer, "featured_media_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (2.5ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)   (0.4ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.9ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.8ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.7ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.8ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.7ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (0.8ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.8ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.2ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191048"]]  (0.7ms) commit transaction Migrating to CreateStorytimePermissions (20140521191728)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191728"]]  (1.2ms) commit transaction Migrating to CreateStorytimeActions (20140521191744)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191744"]]  (0.7ms) commit transaction Migrating to CreateStorytimePostTypes (20140714015418)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140714015418"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_root_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_root_post_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.2ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.8ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.8ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.8ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (0.9ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id")  (0.8ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.7ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.7ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type_id" integer, "featured_media_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'   (0.8ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (1.0ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id")  (0.8ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'  (0.9ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (1.0ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'   (0.9ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime, "storytime_role_id" integer)   (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.8ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140714015418')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140530185250')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501174341')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509191309')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511200849')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513161233')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200234')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200304')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516141252')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521190606')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191048')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191728')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191744')  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.4ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20140530185250)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140530185250"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type_id" integer, "featured_media_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (0.9ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.7ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (0.7ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.8ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.7ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.1ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.7ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (0.8ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.8ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (1.2ms) ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.3ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191048"]]  (0.9ms) commit transaction Migrating to CreateStorytimePermissions (20140521191728)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191728"]]  (1.1ms) commit transaction Migrating to CreateStorytimeActions (20140521191744)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191744"]]  (0.8ms) commit transaction Migrating to CreateStorytimePostTypes (20140714015418)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140714015418"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_root_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_root_post_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.9ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)  (0.0ms) select sqlite_version(*)  (1.7ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (0.8ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.8ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (1.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.4ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.1ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id")  (0.8ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'   (0.9ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.7ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type_id" integer, "featured_media_id" integer, "created_at" datetime, "updated_at" datetime)  (1.1ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.8ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.7ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id")  (1.2ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'   (0.9ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (1.0ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.9ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime, "storytime_role_id" integer)  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.0ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140714015418')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140530185250')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501174341')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509191309')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511200849')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513161233')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200234')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200304')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516141252')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521190606')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191048')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191728')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191744') Started GET "/" for 127.0.0.1 at 2014-07-29 20:49:25 -0500 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.1ms) SELECT COUNT(*) FROM "users" Redirected to http://0.0.0.0:3000/users/sign_up Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/users/sign_up" for 127.0.0.1 at 2014-07-29 20:49:26 -0500 Processing by Devise::RegistrationsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/registrations/new.html.erb within layouts/application (47.8ms) Completed 200 OK in 121ms (Views: 98.7ms | ActiveRecord: 0.2ms) Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-29 20:49:26 -0500 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-07-29 20:49:26 -0500 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-07-29 20:49:26 -0500 Started POST "/users" for 127.0.0.1 at 2014-07-29 20:49:32 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"bcroesch@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bcroesch@gmail.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 01:49:32.532947"], ["email", "bcroesch@gmail.com"], ["encrypted_password", "$2a$10$wUD6vDXvm/AkrVU4Sm.RhuK7SGQ6.mPUX6jjK4ZG7Ds9Wqtr3NMF6"], ["updated_at", "2014-07-30 01:49:32.532947"]]  (1.2ms) commit transaction  (0.1ms) begin transaction Binary data inserted for `string` type on column `current_sign_in_ip` Binary data inserted for `string` type on column `last_sign_in_ip` SQL (0.5ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-07-30 01:49:32.542210"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-30 01:49:32.542210"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-07-30 01:49:32.544129"]]  (0.8ms) commit transaction Redirected to http://0.0.0.0:3000/ Completed 302 Found in 111ms (ActiveRecord: 3.6ms) Started GET "/" for 127.0.0.1 at 2014-07-29 20:49:32 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.2ms) SELECT COUNT(*) FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/sites/new Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:49:32 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (24.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (27.0ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (uninitialized constant Storytime::Page): 3: <%= f.input :title %> 4: <%= f.input :post_slug_style, collection: post_slug_style_options %> 5: <%= f.input :root_page_content, collection: root_page_content_options %> 6: <%= f.input :selected_root_page_id, collection: Storytime::Page.all, wrapper_html: { class: (@site.root_page_content == "page" ? "" : "hide") } %> 7: <%= f.input :ga_tracking_id %> 8: 9: /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:6:in `block in ___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb___3385041884556653270_2227259540' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:1:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb___3385041884556653270_2227259540' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb:3:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites_new_html_erb___1851366845769176795_2227229240' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.5ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:50:20 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.4ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (uninitialized constant Storytime::Page): 3: <%= f.input :title %> 4: <%= f.input :post_slug_style, collection: post_slug_style_options %> 5: <%= f.input :root_page_content, collection: root_page_content_options %> 6: <%= f.input :root_post_id, collection: Storytime::Page.all, wrapper_html: { class: (@site.root_page_content == "page" ? "" : "hide") } %> 7: <%= f.input :ga_tracking_id %> 8: 9: /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:6:in `block in ___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb___3385041884556653270_2187080460' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:1:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb___3385041884556653270_2187080460' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb:3:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites_new_html_erb___1851366845769176795_2227229240' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.4ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:54:39 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (10.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (12.3ms) Completed 500 Internal Server Error in 45ms ActionView::Template::Error (uninitialized constant Storytime::Page): 3: <%= f.input :title %> 4: <%= f.input :post_slug_style, collection: post_slug_style_options %> 5: <%= f.input :root_page_content, collection: root_page_content_options %> 6: <%= f.input :root_post_id, collection: Storytime::Page.all, wrapper_html: { class: (@site.root_page_content == "page" ? "" : "hide") } %> 7: <%= f.input :ga_tracking_id %> 8: 9: /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:6:in `block in ___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb___3385041884556653270_2187080460' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:1:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb___3385041884556653270_2187080460' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb:3:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites_new_html_erb___1851366845769176795_2227229240' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:55:15 -0500 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (43.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (47.9ms) Completed 500 Internal Server Error in 111ms ActionView::Template::Error (uninitialized constant Storytime::Page): 3: <%= f.input :title %> 4: <%= f.input :post_slug_style, collection: post_slug_style_options %> 5: <%= f.input :root_page_content, collection: root_page_content_options %> 6: <%= f.input :root_post_id, collection: Storytime::Page.all, wrapper_html: { class: (@site.root_page_content == "page" ? "" : "hide") } %> 7: <%= f.input :ga_tracking_id %> 8: 9: /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:6:in `block in ___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb__1036191805901137976_2158020940' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:1:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb__1036191805901137976_2158020940' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb:3:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites_new_html_erb__4215999332412326412_2163799140' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.1ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:55:46 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_post.post_type_id is not null) SQLite3::SQLException: no such column: storytime_post.post_type_id: SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_post.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (28.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (30.0ms) Completed 500 Internal Server Error in 37ms ActionView::Template::Error (SQLite3::SQLException: no such column: storytime_post.post_type_id: SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_post.post_type_id is not null)): 3: <%= f.input :title %> 4: <%= f.input :post_slug_style, collection: post_slug_style_options %> 5: <%= f.input :root_page_content, collection: root_page_content_options %> 6: <%= f.input :root_post_id, collection: Storytime::Post.non_blog_posts, wrapper_html: { class: (@site.root_page_content == "page" ? "" : "hide") } %> 7: <%= f.input :ga_tracking_id %> 8: 9: sqlite3 (1.3.9) lib/sqlite3/database.rb:91:in `initialize' sqlite3 (1.3.9) lib/sqlite3/database.rb:91:in `new' sqlite3 (1.3.9) lib/sqlite3/database.rb:91:in `prepare' activerecord (4.1.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:301:in `block in exec_query' activerecord (4.1.0) lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (4.1.0) lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log' activerecord (4.1.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:298:in `exec_query' activerecord (4.1.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:507:in `select' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/database_statements.rb:31:in `select_all' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/query_cache.rb:67:in `block in select_all' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/query_cache.rb:82:in `cache_sql' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/query_cache.rb:67:in `select_all' activerecord (4.1.0) lib/active_record/querying.rb:39:in `find_by_sql' activerecord (4.1.0) lib/active_record/relation.rb:603:in `exec_queries' activerecord (4.1.0) lib/active_record/relation.rb:487:in `load' activerecord (4.1.0) lib/active_record/relation.rb:231:in `to_a' simple_form (3.0.2) lib/simple_form/inputs/collection_input.rb:31:in `collection' simple_form (3.0.2) lib/simple_form/inputs/collection_input.rb:80:in `detect_collection_classes' simple_form (3.0.2) lib/simple_form/inputs/collection_input.rb:65:in `detect_common_display_methods' simple_form (3.0.2) lib/simple_form/inputs/collection_input.rb:57:in `detect_collection_methods' simple_form (3.0.2) lib/simple_form/inputs/collection_select_input.rb:5:in `input' simple_form (3.0.2) lib/simple_form/components/label_input.rb:11:in `label_input' simple_form (3.0.2) lib/simple_form/wrappers/many.rb:29:in `block in render' simple_form (3.0.2) lib/simple_form/wrappers/many.rb:27:in `each' simple_form (3.0.2) lib/simple_form/wrappers/many.rb:27:in `render' simple_form (3.0.2) lib/simple_form/wrappers/root.rb:15:in `render' simple_form (3.0.2) lib/simple_form/form_builder.rb:120:in `input' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:6:in `block in ___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb__1036191805901137976_2168033560' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.1.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.1.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb:1:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites__form_html_erb__1036191805901137976_2168033560' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb:3:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard_sites_new_html_erb__4215999332412326412_2163799140' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (13.7ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:56:09 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (23.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (25.5ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (39.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (1.1ms) Completed 200 OK in 1033ms (Views: 1006.2ms | ActiveRecord: 3.3ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 20:56:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:10 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:10 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 20:56:11 -0500 Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.0ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 37.2ms | ActiveRecord: 0.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:02 -0500 Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.5ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (4.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 39.4ms | ActiveRecord: 1.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:09 -0500 Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (13.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (3.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 34.5ms | ActiveRecord: 1.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:16 -0500 Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (14.3ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (2.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 37.2ms | ActiveRecord: 1.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 20:57:52 -0500 Started POST "/dashboard/sites" for 127.0.0.1 at 2014-07-29 21:06:55 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"posts", "root_post_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites"  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:06:55.744624"], ["name", "page"], ["updated_at", "2014-07-30 02:06:55.744624"]]  (0.8ms) commit transaction  (0.2ms) begin transaction Storytime::Role Exists (0.2ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:06:55.777041"], ["name", "writer"], ["updated_at", "2014-07-30 02:06:55.777041"]]  (1.2ms) commit transaction  (0.2ms) begin transaction Storytime::Role Exists (0.3ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:06:55.784099"], ["name", "editor"], ["updated_at", "2014-07-30 02:06:55.784099"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Storytime::Role Exists (0.2ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:06:55.788708"], ["name", "admin"], ["updated_at", "2014-07-30 02:06:55.788708"]]  (1.2ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Other People''s Posts/Pages' LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:06:55.802460"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-07-30 02:06:55.802460"]]  (1.2ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 SQL (0.2ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:06:55.808105"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-07-30 02:06:55.808105"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 SQL (11.0ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:06:55.811890"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-07-30 02:06:55.811890"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:06:55.827137"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-07-30 02:06:55.827137"]]  (0.7ms) commit transaction Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-30 02:06:55.845198"], ["role_id", 1], ["updated_at", "2014-07-30 02:06:55.845198"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-30 02:06:55.851844"], ["role_id", 2], ["updated_at", "2014-07-30 02:06:55.851844"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-30 02:06:55.854244"], ["role_id", 3], ["updated_at", "2014-07-30 02:06:55.854244"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-30 02:06:55.856902"], ["role_id", 2], ["updated_at", "2014-07-30 02:06:55.856902"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-30 02:06:55.859270"], ["role_id", 3], ["updated_at", "2014-07-30 02:06:55.859270"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-07-30 02:06:55.863281"], ["role_id", 3], ["updated_at", "2014-07-30 02:06:55.863281"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-07-30 02:06:55.866255"], ["role_id", 3], ["updated_at", "2014-07-30 02:06:55.866255"]]  (0.7ms) commit transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "users" SET "storytime_role_id" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["storytime_role_id", 3], ["updated_at", "2014-07-30 02:06:55.869993"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 02:06:55.874321"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "test site"], ["updated_at", "2014-07-30 02:06:55.874321"]]  (1.0ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/sites/1/edit Completed 302 Found in 164ms (ActiveRecord: 39.6ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-29 21:06:55 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.7ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (40.7ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 92ms (Views: 66.8ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:06:56 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (11.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 37.7ms | ActiveRecord: 1.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:01 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.9ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (9.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (13.2ms) Storytime::Action Load (0.8ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (13.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 72ms (Views: 52.3ms | ActiveRecord: 4.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:02 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:07:03 -0500 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (8.0ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 56ms (Views: 43.4ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:04 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.5ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (13.2ms) Storytime::Media Load (0.4ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (8.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (26.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (99.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (108.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 211ms (Views: 138.6ms | ActiveRecord: 6.0ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:05 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 21:07:06 -0500 Started POST "/dashboard/posts" for 127.0.0.1 at 2014-07-29 21:07:14 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 2", "post_type_id"=>"", "excerpt"=>"", "draft_content"=>"", "featured_media_id"=>"", "tag_list"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Post"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.7ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Post Exists (0.3ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE "storytime_posts"."slug" = 'test-post-2' LIMIT 1 Storytime::Post Exists (0.4ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Post' AND "friendly_id_slugs"."slug" = 'test-post-2') LIMIT 1  (0.3ms) rollback transaction Completed 500 Internal Server Error in 59ms NoMethodError (undefined method `slice' for nil:NilClass): /Users/ben/flyover/projects/storytime/app/models/storytime/post.rb:46:in `populate_excerpt_from_content' activesupport (4.1.0) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' activemodel (4.1.0) lib/active_model/validations/callbacks.rb:111:in `run_validations!' activemodel (4.1.0) lib/active_model/validations.rb:317:in `valid?' activerecord (4.1.0) lib/active_record/validations.rb:70:in `valid?' activerecord (4.1.0) lib/active_record/validations.rb:77:in `perform_validations' activerecord (4.1.0) lib/active_record/validations.rb:51:in `save' activerecord (4.1.0) lib/active_record/attribute_methods/dirty.rb:21:in `save' activerecord (4.1.0) lib/active_record/transactions.rb:268:in `block (2 levels) in save' activerecord (4.1.0) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `block in transaction' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/database_statements.rb:219:in `within_new_transaction' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' activerecord (4.1.0) lib/active_record/transactions.rb:208:in `transaction' activerecord (4.1.0) lib/active_record/transactions.rb:326:in `with_transaction_returning_status' activerecord (4.1.0) lib/active_record/transactions.rb:268:in `block in save' activerecord (4.1.0) lib/active_record/transactions.rb:283:in `rollback_active_record_state!' activerecord (4.1.0) lib/active_record/transactions.rb:267:in `save' /Users/ben/flyover/projects/storytime/app/controllers/storytime/dashboard/posts_controller.rb:31:in `create' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:35:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.9ms) Started POST "/dashboard/posts" for 127.0.0.1 at 2014-07-29 21:07:55 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 2", "post_type_id"=>"", "excerpt"=>"", "draft_content"=>"asdf", "featured_media_id"=>"", "tag_list"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE "storytime_posts"."slug" = 'test-post-2' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Post' AND "friendly_id_slugs"."slug" = 'test-post-2') LIMIT 1 SQL (0.5ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 02:07:56.099389"], ["excerpt", "asdf"], ["slug", "test-post-2"], ["title", "test post 2"], ["updated_at", "2014-07-30 02:07:56.099389"], ["user_id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.3ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "asdf"], ["created_at", "2014-07-30 02:07:56.113790"], ["updated_at", "2014-07-30 02:07:56.113790"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'test-post-2' [["sluggable_id", 1], ["sluggable_type", "Storytime::Post"]] SQL (0.4ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:07:56.125152"], ["slug", "test-post-2"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Post"]]  (2.4ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post-2/edit Completed 302 Found in 143ms (ActiveRecord: 10.3ms) Started GET "/dashboard/posts/test-post-2/edit" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.3ms) Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (10.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (69.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (93.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (14.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 151ms (Views: 126.5ms | ActiveRecord: 5.5ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:07:56 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:07:57 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 21:07:57 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-29 21:08:07 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (9.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 49ms (Views: 35.3ms | ActiveRecord: 2.2ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:08:08 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (7.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (9.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 37.3ms | ActiveRecord: 2.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:11 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (9.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 34.5ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:08:13 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:08:14 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (6.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (8.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 34.0ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:14 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:14 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:08:15 -0500 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Storytime::PostType Load (3.9ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types"  (0.1ms) begin transaction SQL (0.4ms) DELETE FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? [["id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (2.4ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:28:47.954809"], ["name", "blog"], ["updated_at", "2014-07-30 02:28:47.954809"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:28:47.960341"], ["name", "page"], ["updated_at", "2014-07-30 02:28:47.960341"]]  (0.7ms) commit transaction Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:28:53 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (9.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (11.4ms) Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.8ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (28.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 94ms (Views: 56.5ms | ActiveRecord: 6.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:28:54 -0500 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types"  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? [["id", 2]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? [["id", 3]]  (0.7ms) commit transaction  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.4ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateUsers (20140530185250)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.7ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140530185250"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateStorytimePosts (20140501174341)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type_id" integer, "featured_media_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'  (0.2ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id") SQL (2.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501174341"]]  (0.8ms) commit transaction Migrating to CreateFriendlyIdSlugs (20140509191309)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)   (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'   (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (1.0ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140509191309"]]  (0.8ms) commit transaction Migrating to CreateStorytimeMedia (20140511200849)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511200849"]]  (1.7ms) commit transaction Migrating to CreateStorytimeSites (20140513161233)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140513161233"]]  (0.7ms) commit transaction Migrating to CreateStorytimeTags (20140514200234)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200234"]]  (0.8ms) commit transaction Migrating to CreateStorytimeTaggings (20140514200304)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'   (0.3ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140514200304"]]  (0.8ms) commit transaction Migrating to CreateStorytimeVersions (20140516141252)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.2ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140516141252"]]  (1.0ms) commit transaction Migrating to CreateStorytimeRoles (20140521190606)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521190606"]]  (0.8ms) commit transaction Migrating to AddRoleIdToUsers (20140521191048)  (0.1ms) begin transaction  (1.2ms) ALTER TABLE "users" ADD "storytime_role_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (0.3ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191048"]]  (0.8ms) commit transaction Migrating to CreateStorytimePermissions (20140521191728)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'  (0.2ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191728"]]  (0.8ms) commit transaction Migrating to CreateStorytimeActions (20140521191744)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140521191744"]]  (0.8ms) commit transaction Migrating to CreateStorytimePostTypes (20140714015418)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permanent" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140714015418"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_media_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_media_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_sites_on_root_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_sites_on_root_post_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_tag_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='versionable_index' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='versionable_index' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_storytime_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_storytime_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.1ms) CREATE TABLE "friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar(255) NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar(255), "created_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'   (2.3ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (1.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")  (0.4ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'  (1.2ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")  (1.0ms) CREATE TABLE "storytime_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guid" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "storytime_media" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_storytime_media_on_user_id" ON "storytime_media" ("user_id")  (0.8ms) CREATE TABLE "storytime_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "action_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_storytime_permissions_on_action_id" ON "storytime_permissions" ("action_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_permissions_on_action_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_permissions_on_action_id' AND type='index'   (0.8ms) CREATE INDEX "index_storytime_permissions_on_role_id" ON "storytime_permissions" ("role_id")  (1.4ms) CREATE TABLE "storytime_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permanent" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "storytime_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "slug" varchar(255), "content" text, "excerpt" text, "published_at" datetime, "post_type_id" integer, "featured_media_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_storytime_posts_on_post_type_id" ON "storytime_posts" ("post_type_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_posts_on_post_type_id' AND type='index'  (0.7ms) CREATE INDEX "index_storytime_posts_on_user_id" ON "storytime_posts" ("user_id")  (0.7ms) CREATE TABLE "storytime_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "storytime_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "post_slug_style" integer DEFAULT 0, "ga_tracking_id" varchar(255), "root_page_content" integer DEFAULT 0, "root_post_id" integer, "header" text, "footer" text, "created_at" datetime, "updated_at" datetime)   (1.6ms) CREATE INDEX "index_storytime_sites_on_root_post_id" ON "storytime_sites" ("root_post_id")  (1.2ms) CREATE TABLE "storytime_taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (1.3ms) CREATE INDEX "index_storytime_taggings_on_post_id" ON "storytime_taggings" ("post_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_storytime_taggings_on_post_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_taggings_on_post_id' AND type='index'   (1.2ms) CREATE INDEX "index_storytime_taggings_on_tag_id" ON "storytime_taggings" ("tag_id")  (1.3ms) CREATE TABLE "storytime_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "storytime_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "versionable_id" integer, "versionable_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_storytime_versions_on_user_id" ON "storytime_versions" ("user_id")  (0.4ms) SELECT sql FROM sqlite_master WHERE name='index_storytime_versions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_storytime_versions_on_user_id' AND type='index'  (1.3ms) CREATE INDEX "versionable_index" ON "storytime_versions" ("versionable_type", "versionable_id")  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime, "storytime_role_id" integer)  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'   (1.1ms) CREATE INDEX "index_users_on_storytime_role_id" ON "users" ("storytime_role_id")  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140714015418')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140530185250')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501174341')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140509191309')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140511200849')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140513161233')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200234')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140514200304')  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140516141252')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521190606')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191048')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191728')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140521191744') Started GET "/" for 127.0.0.1 at 2014-07-29 21:31:01 -0500 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.2ms) SELECT COUNT(*) FROM "users" Redirected to http://0.0.0.0:3000/users/sign_up Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/users/sign_up" for 127.0.0.1 at 2014-07-29 21:31:01 -0500 Processing by Devise::RegistrationsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/shared/_links.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/devise-3.2.4/app/views/devise/registrations/new.html.erb within layouts/application (17.9ms) Completed 200 OK in 73ms (Views: 64.1ms | ActiveRecord: 0.7ms) Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-29 21:31:02 -0500 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:31:02 -0500 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:02 -0500 Started POST "/users" for 127.0.0.1 at 2014-07-29 21:31:07 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "user"=>{"email"=>"bcroesch@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bcroesch@gmail.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:31:07.800695"], ["email", "bcroesch@gmail.com"], ["encrypted_password", "$2a$10$r0lSuZwbozJFpiI3kdN.e.L8QgUZlkEMCuDqyXmPO5finvAsREBeq"], ["updated_at", "2014-07-30 02:31:07.800695"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Binary data inserted for `string` type on column `current_sign_in_ip` Binary data inserted for `string` type on column `last_sign_in_ip` SQL (0.4ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-07-30 02:31:07.805605"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-30 02:31:07.805605"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-07-30 02:31:07.807144"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/ Completed 302 Found in 106ms (ActiveRecord: 3.5ms) Started GET "/" for 127.0.0.1 at 2014-07-29 21:31:07 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.1ms) SELECT COUNT(*) FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/sites/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/dashboard/sites/new" for 127.0.0.1 at 2014-07-29 21:31:07 -0500 Processing by Storytime::Dashboard::SitesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (25.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/new.html.erb within layouts/storytime/dashboard (27.1ms) Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (18.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 83ms (Views: 68.0ms | ActiveRecord: 1.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:08 -0500 Started POST "/dashboard/sites" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Processing by Storytime::Dashboard::SitesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"posts", "root_post_id"=>"", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Create Site"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_sites"  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "storytime_post_types" ("created_at", "name", "permanent", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:31:19.288695"], ["name", "blog"], ["permanent", "t"], ["updated_at", "2014-07-30 02:31:19.288695"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "storytime_post_types" ("created_at", "name", "permanent", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:31:19.293041"], ["name", "page"], ["permanent", "t"], ["updated_at", "2014-07-30 02:31:19.293041"]]  (1.8ms) commit transaction  (0.2ms) begin transaction Storytime::Role Exists (0.6ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 SQL (0.6ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:31:19.310362"], ["name", "writer"], ["updated_at", "2014-07-30 02:31:19.310362"]]  (1.2ms) commit transaction  (0.2ms) begin transaction Storytime::Role Exists (0.4ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:31:19.318298"], ["name", "editor"], ["updated_at", "2014-07-30 02:31:19.318298"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Storytime::Role Exists (0.1ms) SELECT 1 AS one FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_roles" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:31:19.322300"], ["name", "admin"], ["updated_at", "2014-07-30 02:31:19.322300"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Other People''s Posts/Pages' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:31:19.330863"], ["guid", "d8a1b1"], ["name", "Manage Other People's Posts/Pages"], ["updated_at", "2014-07-30 02:31:19.330863"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Publish Own Posts/Pages' LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:31:19.335906"], ["guid", "5030ed"], ["name", "Publish Own Posts/Pages"], ["updated_at", "2014-07-30 02:31:19.335906"]]  (2.0ms) commit transaction  (0.1ms) begin transaction Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Site Settings' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:31:19.343123"], ["guid", "47342a"], ["name", "Manage Site Settings"], ["updated_at", "2014-07-30 02:31:19.343123"]]  (0.8ms) commit transaction  (0.3ms) begin transaction Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" WHERE "storytime_actions"."name" = 'Manage Users' LIMIT 1 SQL (0.3ms) INSERT INTO "storytime_actions" ("created_at", "guid", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 02:31:19.350363"], ["guid", "1f7d47"], ["name", "Manage Users"], ["updated_at", "2014-07-30 02:31:19.350363"]]  (0.7ms) commit transaction Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'writer' LIMIT 1 Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'editor' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1  (0.3ms) begin transaction SQL (1.0ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-30 02:31:19.373793"], ["role_id", 1], ["updated_at", "2014-07-30 02:31:19.373793"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-30 02:31:19.380509"], ["role_id", 2], ["updated_at", "2014-07-30 02:31:19.380509"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 2], ["created_at", "2014-07-30 02:31:19.383009"], ["role_id", 3], ["updated_at", "2014-07-30 02:31:19.383009"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-30 02:31:19.385412"], ["role_id", 2], ["updated_at", "2014-07-30 02:31:19.385412"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 1], ["created_at", "2014-07-30 02:31:19.388484"], ["role_id", 3], ["updated_at", "2014-07-30 02:31:19.388484"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 3], ["created_at", "2014-07-30 02:31:19.392010"], ["role_id", 3], ["updated_at", "2014-07-30 02:31:19.392010"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_permissions" ("action_id", "created_at", "role_id", "updated_at") VALUES (?, ?, ?, ?) [["action_id", 4], ["created_at", "2014-07-30 02:31:19.395421"], ["role_id", 3], ["updated_at", "2014-07-30 02:31:19.395421"]]  (0.7ms) commit transaction Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."name" = 'admin' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "users" SET "storytime_role_id" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["storytime_role_id", 3], ["updated_at", "2014-07-30 02:31:19.399061"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "storytime_sites" ("created_at", "footer", "ga_tracking_id", "header", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 02:31:19.402153"], ["footer", ""], ["ga_tracking_id", ""], ["header", ""], ["title", "test site"], ["updated_at", "2014-07-30 02:31:19.402153"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/sites/1/edit Completed 302 Found in 131ms (ActiveRecord: 32.2ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12.0ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (38.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 83ms (Views: 69.6ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:19 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.6ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.6ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (18.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (25.1ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 93ms (Views: 74.3ms | ActiveRecord: 2.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:27 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:31:28 -0500 Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (8.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 35.5ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:35 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:31:36 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.0ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.0ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (57.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (64.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 137ms (Views: 85.5ms | ActiveRecord: 4.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:31:43 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:31:44 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 21:31:44 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-29 21:32:00 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (9.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (12.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 78ms (Views: 63.1ms | ActiveRecord: 2.4ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:32:01 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:32:02 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-29 21:35:08 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.4ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (47.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (56.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 104ms (Views: 87.7ms | ActiveRecord: 3.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:09 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:35:10 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 21:35:10 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (20.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (24.9ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (13.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 94ms (Views: 78.4ms | ActiveRecord: 3.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:35:13 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (10.2ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 42ms (Views: 35.2ms | ActiveRecord: 1.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:36:31 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:36:32 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (6.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (9.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 41.0ms | ActiveRecord: 2.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:48 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:37:49 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 42.5ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:37:56 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:37:57 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 32.1ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:00 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:38:01 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.6ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 31.6ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:02 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:38:03 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (10.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (12.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 39.9ms | ActiveRecord: 1.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:06 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:38:07 -0500 Started GET "/dashboard/post_types/new" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Processing by Storytime::Dashboard::PostTypesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (6.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_form.html.erb (5.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/new.html.erb within layouts/storytime/dashboard (15.3ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 53ms (Views: 43.3ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:08 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:38:09 -0500 Started POST "/dashboard/post_types" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Processing by Storytime::Dashboard::PostTypesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post_type"=>{"name"=>"portfolio"}, "commit"=>"Create Post type"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "storytime_post_types" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 02:38:15.612980"], ["name", "portfolio"], ["updated_at", "2014-07-30 02:38:15.612980"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/post_types/3/edit Completed 302 Found in 16ms (ActiveRecord: 2.2ms) Started GET "/dashboard/post_types/3/edit" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Processing by Storytime::Dashboard::PostTypesController#edit as HTML Parameters: {"id"=>"3"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (11.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_form.html.erb (5.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/edit.html.erb within layouts/storytime/dashboard (20.3ms) Storytime::PostType Load (0.5ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (14.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 88ms (Views: 76.2ms | ActiveRecord: 3.1ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:15 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:16 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:16 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:16 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:16 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:16 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:16 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:38:16 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 61ms (Views: 47.6ms | ActiveRecord: 2.8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:19 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:38:20 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.5ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 31.1ms | ActiveRecord: 2.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:46 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:47 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:47 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:47 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:47 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:47 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 21:38:47 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 21:38:47 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.6ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (1.9ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.7ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.1ms) Storytime::PostType Load (0.7ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (19.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 112ms (Views: 47.3ms | ActiveRecord: 11.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:05 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.2ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.8ms) Storytime::Media Load (0.6ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (54.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (63.1ms) CACHE (0.0ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 123ms (Views: 86.8ms | ActiveRecord: 5.0ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-29 22:05:07 -0500 Started GET "/dashboard/posts?post_type=portfolio" for 127.0.0.1 at 2014-07-30 08:24:20 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"portfolio"} User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (10.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (14.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 119ms (Views: 74.9ms | ActiveRecord: 4.7ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:24:21 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 35.2ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:24:30 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.9ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 33.7ms | ActiveRecord: 2.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:31 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:24:32 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 60ms (Views: 46.4ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:24:50 -0500 Started GET "/dashboard/posts?post_type=portfolio" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"portfolio"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 29.8ms | ActiveRecord: 2.4ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:24:52 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (8.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (11.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 51ms (Views: 41.9ms | ActiveRecord: 1.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:24:53 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:31:08 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 30.3ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:31:09 -0500 Started GET "/dashboard/posts?post_type=portfolio" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"portfolio"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.7ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 32.0ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:31:10 -0500 Started GET "/dashboard/media" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Processing by Storytime::Dashboard::MediaController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (4.1ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/index.html.erb within layouts/storytime/dashboard (15.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 43.9ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:11 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 30.1ms | ActiveRecord: 2.4ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 31.7ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:31:13 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.2ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.5ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (39.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (48.8ms) CACHE (0.0ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 82ms (Views: 70.1ms | ActiveRecord: 3.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 08:31:15 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.8ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.5ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.2ms)  (0.4ms) SELECT COUNT(*) FROM "storytime_post_types" Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (25.0ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (36.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (98.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (106.4ms) CACHE (0.0ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (16.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 247ms (Views: 145.0ms | ActiveRecord: 12.0ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 08:40:34 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.9ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.5ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.2ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.4ms) Storytime::Media Load (0.6ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (18.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (57.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (67.3ms) Storytime::PostType Load (0.6ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (32.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 217ms (Views: 121.9ms | ActiveRecord: 13.6ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 08:45:22 -0500 Started POST "/dashboard/posts" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post", "post_type_id"=>"", "excerpt"=>"hewlo", "draft_content"=>"lajdsflkjas ", "featured_media_id"=>"", "tag_list"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Post"} User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.6ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.2ms) begin transaction Storytime::Post Exists (1.3ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE "storytime_posts"."slug" = 'test-post' LIMIT 1 Storytime::Post Exists (0.6ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Post' AND "friendly_id_slugs"."slug" = 'test-post') LIMIT 1 SQL (1.4ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 13:45:53.448719"], ["excerpt", "hewlo"], ["slug", "test-post"], ["title", "test post"], ["updated_at", "2014-07-30 13:45:53.448719"], ["user_id", 1]] Storytime::Version Load (0.5ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (0.8ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "lajdsflkjas "], ["created_at", "2014-07-30 13:45:53.457583"], ["updated_at", "2014-07-30 13:45:53.457583"], ["user_id", 1], ["versionable_id", 1], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 1], ["sluggable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'test-post' [["sluggable_id", 1], ["sluggable_type", "Storytime::Post"]] SQL (1.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 13:45:53.462788"], ["slug", "test-post"], ["sluggable_id", 1], ["sluggable_type", "Storytime::Post"]]  (1.1ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post/edit Completed 302 Found in 61ms (ActiveRecord: 10.9ms) Started GET "/dashboard/posts/test-post/edit" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.9ms) Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (7.3ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.6ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (8.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (24.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (42.4ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 78ms (Views: 65.5ms | ActiveRecord: 4.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 08:45:53 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 34.9ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:45:56 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (16.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 130ms (Views: 54.7ms | ActiveRecord: 5.8ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:52:20 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 32.2ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:52:34 -0500 Storytime::Post Load (1.5ms) SELECT "storytime_posts".* FROM "storytime_posts" Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts"  (0.1ms) begin transaction Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? [["versionable_id", 1], ["versionable_type", "Storytime::Post"]] SQL (2.8ms) DELETE FROM "storytime_versions" WHERE "storytime_versions"."id" = ? [["id", 1]] FriendlyId::Slug Load (0.1ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC [["sluggable_id", 1], ["sluggable_type", "Storytime::Post"]] SQL (0.2ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."id" = ? [["id", 1]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 1]] SQL (0.2ms) DELETE FROM "storytime_posts" WHERE "storytime_posts"."id" = ? [["id", 1]]  (1.0ms) commit transaction Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 08:53:26 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (9.3ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (21.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 142ms (Views: 70.0ms | ActiveRecord: 6.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:53:27 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.0ms) Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.3ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (50.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (57.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 130ms (Views: 86.3ms | ActiveRecord: 4.4ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 08:53:28 -0500 Started POST "/dashboard/posts" for 127.0.0.1 at 2014-07-30 08:53:51 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 2", "post_type_id"=>"1", "excerpt"=>"", "draft_content"=>"asdfasdf", "featured_media_id"=>"", "tag_list"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Post Exists (0.3ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE "storytime_posts"."slug" = 'test-post-2' LIMIT 1 Storytime::Post Exists (0.3ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Post' AND "friendly_id_slugs"."slug" = 'test-post-2') LIMIT 1 SQL (0.6ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "post_type_id", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 13:53:51.983200"], ["excerpt", "asdfasdf"], ["post_type_id", 1], ["slug", "test-post-2"], ["title", "test post 2"], ["updated_at", "2014-07-30 13:53:51.983200"], ["user_id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "asdfasdf"], ["created_at", "2014-07-30 13:53:51.990673"], ["updated_at", "2014-07-30 13:53:51.990673"], ["user_id", 1], ["versionable_id", 2], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.1ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 2], ["sluggable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'test-post-2' [["sluggable_id", 2], ["sluggable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 13:53:51.994442"], ["slug", "test-post-2"], ["sluggable_id", 2], ["sluggable_type", "Storytime::Post"]]  (1.6ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post-2/edit Completed 302 Found in 55ms (ActiveRecord: 6.8ms) Started GET "/dashboard/posts/test-post-2/edit" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.2ms) Storytime::Version Load (0.4ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (8.6ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (3.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (30.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (49.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 84ms (Views: 71.7ms | ActiveRecord: 3.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 08:53:52 -0500 Started GET "/dashboard/posts/test-post-2/edit" for 127.0.0.1 at 2014-07-30 08:53:54 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-2"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.5ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (14.4ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.6ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (7.5ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (12.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (27.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (91.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (120.5ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (14.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 209ms (Views: 183.9ms | ActiveRecord: 6.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:53:55 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:53:56 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 08:53:56 -0500 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.8ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 30.2ms | ActiveRecord: 2.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:54:13 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:54:58 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (11.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (14.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (15.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 129ms (Views: 54.1ms | ActiveRecord: 6.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:54:58 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:58 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:58 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:58 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:54:59 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:55:00 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.7ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 42.4ms | ActiveRecord: 3.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:09 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:55:10 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (15.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (17.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 65ms (Views: 50.9ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:55:13 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 08:55:14 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 37.6ms | ActiveRecord: 2.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 08:55:15 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 08:55:16 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Storytime::Site Load (2.7ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) Storytime::Tag Load (0.5ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (48.9ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (14.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (20.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (11.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.7ms) Completed 200 OK in 143ms (Views: 130.5ms | ActiveRecord: 3.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:37 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (8.6ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 49ms (Views: 35.2ms | ActiveRecord: 2.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:23:41 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 09:23:42 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 31.9ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:42 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:23:42 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:23:43 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:23:44 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 34.1ms | ActiveRecord: 2.4ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:23:45 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 31.1ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:10 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:26:11 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.8ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.2ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.6ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (44.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (54.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 110ms (Views: 74.9ms | ActiveRecord: 4.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:24 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:26:25 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:26:25 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (8.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 47ms (Views: 36.3ms | ActiveRecord: 2.4ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:34 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:35 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:35 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:35 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:35 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:35 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:26:35 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:26:35 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 09:28:51 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (22.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (24.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (716113.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 716226ms (Views: 716165.5ms | ActiveRecord: 5.8ms) Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 09:40:48 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (16.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (17.9ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (1372.6ms) Completed 500 Internal Server Error in 1461ms ActionView::Template::Error (wrong number of arguments (1 for 2)): 14:
  • ><%= link_to type.name.humanize, storytime.dashboard_posts_path(post_type: type.name) %>
  • 15: <% end %> 16: 17:
  • ><%= link_to "Types", storytime.dashboard_post_types_path %>
  • 18:
  • ><%= link_to "Media", storytime.dashboard_media_index_path %>
  • 19: <% if Pundit.policy(current_user, Storytime.user_class).index? %> 20:
  • ><%= link_to "Users", storytime.dashboard_users_path %>
  • /Users/ben/flyover/projects/storytime/app/helpers/storytime/application_helper.rb:8:in `active_nav_item_class' /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb:17:in `___sers_ben_flyover_projects_storytime_app_views_storytime_dashboard__navigation_html_erb__4308640246867527554_2194688660' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/ben/flyover/projects/storytime/app/views/layouts/storytime/dashboard.html.erb:17:in `___sers_ben_flyover_projects_storytime_app_views_layouts_storytime_dashboard_html_erb__4343625702121447208_2163811480' actionview (4.1.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.1.0) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0) lib/action_view/template.rb:339:in `instrument' actionview (4.1.0) lib/action_view/template.rb:143:in `render' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.6ms) Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.9ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (24.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (26.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (21.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.4ms) Completed 200 OK in 151ms (Views: 77.6ms | ActiveRecord: 7.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:07 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:08 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:08 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:08 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:08 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:08 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:41:08 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 38.8ms | ActiveRecord: 2.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:10 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:11 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:11 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:11 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:41:11 -0500 Started GET "/dashboard/posts?post_type=portfolio" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"portfolio"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 35.6ms | ActiveRecord: 2.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:41:13 -0500 Started GET "/dashboard/post_types" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Processing by Storytime::Dashboard::PostTypesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/_list.html.erb (12.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/post_types/index.html.erb within layouts/storytime/dashboard (15.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 40.0ms | ActiveRecord: 2.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:41:14 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 09:41:16 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (9.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 59ms (Views: 45.7ms | ActiveRecord: 2.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:41:17 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:42:40 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (6.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 44.0ms | ActiveRecord: 2.7ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:42:40 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:40 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:40 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:40 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:40 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:40 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:42:41 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (9.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.2ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (46.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (59.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 179ms (Views: 148.0ms | ActiveRecord: 4.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:42:43 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:42:44 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:42:44 -0500 Started GET "/dashboard/posts/new" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (23.1ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.6ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (41.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (67.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 158ms (Views: 93.6ms | ActiveRecord: 6.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:47:36 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:47:37 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:47:37 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.4ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (4.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (5.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 28.9ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:48:13 -0500 Started GET "/dashboard/posts/new?post_type=page" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.7ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.2ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (10.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (28.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (38.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 80ms (Views: 67.3ms | ActiveRecord: 3.3ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:48:14 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:48:15 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:48:15 -0500 Started GET "/dashboard/posts/new?post_type=page" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.0ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.2ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (31.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (44.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 96ms (Views: 81.1ms | ActiveRecord: 3.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:01 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:49:02 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:49:02 -0500 Started GET "/dashboard/posts/new?post_type=page" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (3.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (24.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (29.5ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 75ms (Views: 60.2ms | ActiveRecord: 3.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:49:23 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:49:24 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:49:24 -0500 Started GET "/dashboard/posts/new?post_type=page" for 127.0.0.1 at 2014-07-30 09:55:31 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Parameters: {"post_type"=>"page"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.4ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (125.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (136.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (13.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 255ms (Views: 172.8ms | ActiveRecord: 7.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:55:31 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:31 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:31 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:55:32 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:55:33 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:55:33 -0500 Started GET "/dashboard/posts/new?post_type=page" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Parameters: {"post_type"=>"page"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.4ms) Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.9ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (14.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (40.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (48.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 93ms (Views: 78.6ms | ActiveRecord: 3.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:04 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:56:05 -0500 Started POST "/dashboard/posts" for 127.0.0.1 at 2014-07-30 09:57:00 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"a page", "post_type_id"=>"2", "excerpt"=>"", "draft_content"=>"asdf", "featured_media_id"=>"", "tag_list"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Page"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Post Exists (0.8ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE "storytime_posts"."slug" = 'a-page' LIMIT 1 Storytime::Post Exists (0.6ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Post' AND "friendly_id_slugs"."slug" = 'a-page') LIMIT 1 SQL (1.3ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "post_type_id", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 14:57:00.963970"], ["excerpt", "asdf"], ["post_type_id", 2], ["slug", "a-page"], ["title", "a page"], ["updated_at", "2014-07-30 14:57:00.963970"], ["user_id", 1]] Storytime::Version Load (0.7ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] SQL (1.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "asdf"], ["created_at", "2014-07-30 14:57:00.975389"], ["updated_at", "2014-07-30 14:57:00.975389"], ["user_id", 1], ["versionable_id", 3], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.1ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 3], ["sluggable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'a-page' [["sluggable_id", 3], ["sluggable_type", "Storytime::Post"]] SQL (1.0ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 14:57:00.980822"], ["slug", "a-page"], ["sluggable_id", 3], ["sluggable_type", "Storytime::Post"]]  (1.2ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/a-page/edit Completed 302 Found in 53ms (ActiveRecord: 10.1ms) Started GET "/dashboard/posts/a-page/edit" for 127.0.0.1 at 2014-07-30 09:57:00 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"a-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'a-page' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.2ms) Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (7.0ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.5ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.4ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (10.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (28.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (47.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 82ms (Views: 68.5ms | ActiveRecord: 4.3ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:01 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:57:02 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:57:02 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:57:13 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 34.0ms | ActiveRecord: 2.3ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:57:14 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 09:57:15 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 106ms (Views: 93.9ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:16 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:57:17 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (8.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 31.5ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:18 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:57:19 -0500 Started GET "/dashboard/posts/a-page/edit" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"a-page"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'a-page' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.3ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.4ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (25.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (38.4ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 75ms (Views: 60.3ms | ActiveRecord: 3.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 09:57:20 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 09:57:21 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 09:57:21 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 10:52:05 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (16.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (34.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (43.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 114ms (Views: 91.6ms | ActiveRecord: 4.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:06 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) Storytime::Tag Load (0.1ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (5.0ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (11.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 37.9ms | ActiveRecord: 2.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:10 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.4ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (24.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (27.2ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 86ms (Views: 60.5ms | ActiveRecord: 3.6ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 39.4ms | ActiveRecord: 2.9ms) Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:11 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 10:52:12 -0500 Started GET "/dashboard/posts/new?post_type=blog" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.3ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (5.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (12.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (40.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (51.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 104ms (Views: 72.6ms | ActiveRecord: 3.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 10:52:13 -0500 Started POST "/dashboard/posts" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 3", "post_type_id"=>"1", "excerpt"=>"", "draft_content"=>"asdfasdfasd", "featured_media_id"=>"", "tag_list"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Post Exists (0.4ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE "storytime_posts"."slug" = 'test-post-3' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Post' AND "friendly_id_slugs"."slug" = 'test-post-3') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "post_type_id", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 15:52:19.769774"], ["excerpt", "asdfasdfasd"], ["post_type_id", 1], ["slug", "test-post-3"], ["title", "test post 3"], ["updated_at", "2014-07-30 15:52:19.769774"], ["user_id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "asdfasdfasd"], ["created_at", "2014-07-30 15:52:19.775940"], ["updated_at", "2014-07-30 15:52:19.775940"], ["user_id", 1], ["versionable_id", 4], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.1ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 4], ["sluggable_type", "Storytime::Post"]] SQL (0.1ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'test-post-3' [["sluggable_id", 4], ["sluggable_type", "Storytime::Post"]] SQL (0.2ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 15:52:19.779514"], ["slug", "test-post-3"], ["sluggable_id", 4], ["sluggable_type", "Storytime::Post"]]  (1.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post-3/edit Completed 302 Found in 114ms (ActiveRecord: 5.7ms) Started GET "/dashboard/posts/test-post-3/edit" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.5ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (6.3ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (3.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (7.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (22.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (38.9ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 73ms (Views: 60.3ms | ActiveRecord: 3.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:19 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 10:52:20 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.8ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (18.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (21.1ms) Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (14.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 80ms (Views: 58.8ms | ActiveRecord: 5.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:22 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 10:52:23 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (7.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (11.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 41.8ms | ActiveRecord: 2.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 10:52:24 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 10:52:37 -0500 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.9ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" INNER JOIN "storytime_tags" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" INNER JOIN "storytime_tags" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" IN (2, 3, 4) CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" CACHE (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" IN (2, 3, 4) CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" CACHE (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" IN (2, 3, 4) Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" CACHE (0.0ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" IN (2, 3, 4) SQL (0.7ms) SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 SQLite3::SQLException: no such column: taggings.tag_id: SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 Storytime::Tagging Load (0.8ms) SELECT "storytime_taggings".* FROM "storytime_taggings" ORDER BY "storytime_taggings"."id" DESC LIMIT 1 Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) Storytime::Tag Load (0.5ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.6ms) User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.6ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.9ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (54.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (67.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 1305896ms (Views: 114.3ms | ActiveRecord: 11.9ms) Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 11:14:23 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (20.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (22.8ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.5ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (18.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 149ms (Views: 65.6ms | ActiveRecord: 7.8ms) Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 11:14:23 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (16.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (18.4ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 67ms (Views: 55.0ms | ActiveRecord: 2.5ms) Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 11:14:23 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (18.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (21.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 69ms (Views: 56.2ms | ActiveRecord: 2.7ms) Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (10.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (11.9ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 62ms (Views: 42.2ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 11:14:24 -0500 Started GET "/dashboard/posts/test-post-2/edit" for 127.0.0.1 at 2014-07-30 11:14:28 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.5ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (11.4ms) Storytime::Version Load (1.4ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.4ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (23.3ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.8ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.1ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.5ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (17.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (52.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (103.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 194ms (Views: 144.6ms | ActiveRecord: 9.7ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:14:28 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:28 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:28 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:28 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:28 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 11:14:29 -0500 Started PATCH "/dashboard/posts/test-post-2" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 2", "post_type_id"=>"1", "excerpt"=>"asdfasdf", "draft_content"=>"asdfasdf", "featured_media_id"=>"", "tag_list"=>"test, fun, cool", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Blog", "id"=>"test-post-2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.2ms) begin transaction Storytime::Tagging Load (0.4ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.3ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 SQL (0.9ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 16:14:36.634950"], ["name", "test"], ["updated_at", "2014-07-30 16:14:36.634950"]] Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'fun' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'fun' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 16:14:36.640266"], ["name", "fun"], ["updated_at", "2014-07-30 16:14:36.640266"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'cool' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'cool' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 16:14:36.684282"], ["name", "cool"], ["updated_at", "2014-07-30 16:14:36.684282"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] SQL (0.3ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 16:14:36.694678"], ["post_id", 2], ["tag_id", 1], ["updated_at", "2014-07-30 16:14:36.694678"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 16:14:36.697198"], ["post_id", 2], ["tag_id", 2], ["updated_at", "2014-07-30 16:14:36.697198"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 16:14:36.698630"], ["post_id", 2], ["tag_id", 3], ["updated_at", "2014-07-30 16:14:36.698630"]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.8ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 2], ["sluggable_type", "Storytime::Post"]]  (0.8ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post-2/edit Completed 302 Found in 115ms (ActiveRecord: 8.6ms) Started GET "/dashboard/posts/test-post-2/edit" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.5ms) Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.5ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (5.3ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.7ms) Storytime::Media Load (0.4ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (33.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (52.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 106ms (Views: 79.2ms | ActiveRecord: 4.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:36 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 11:14:37 -0500 Started GET "/dashboard/posts/test-post-3/edit" for 127.0.0.1 at 2014-07-30 11:14:41 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-3"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.4ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (4.4ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.7ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (8.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (37.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (54.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 90ms (Views: 75.0ms | ActiveRecord: 4.1ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 11:14:42 -0500 Started PATCH "/dashboard/posts/test-post-3" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 3", "post_type_id"=>"1", "excerpt"=>"asdfasdfasd", "draft_content"=>"asdfasdfasd", "featured_media_id"=>"", "tag_list"=>"cool", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Blog", "id"=>"test-post-3"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'cool' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] SQL (0.4ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 16:14:45.216121"], ["post_id", 4], ["tag_id", 3], ["updated_at", "2014-07-30 16:14:45.216121"]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.4ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 4], ["sluggable_type", "Storytime::Post"]]  (1.6ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post-3/edit Completed 302 Found in 37ms (ActiveRecord: 5.8ms) Started GET "/dashboard/posts/test-post-3/edit" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.8ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.5ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.4ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.1ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.4ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (11.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (45.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (58.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 110ms (Views: 81.3ms | ActiveRecord: 4.3ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 11:14:45 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.5ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (16.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (18.3ms) Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (28.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 95ms (Views: 78.2ms | ActiveRecord: 3.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 11:14:51 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" IS NULL AND (published_at is not null) Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (15.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (17.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 65ms (Views: 58.7ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:14:53 -0500 Storytime::Tag Load (1.9ms) SELECT "storytime_tags".* FROM "storytime_tags" Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" ORDER BY "storytime_tags"."id" ASC LIMIT 1 SQL (0.5ms) SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 SQLite3::SQLException: no such column: taggings.tag_id: SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 Storytime::Tagging Load (0.3ms) SELECT "storytime_taggings".* FROM "storytime_taggings" SQL (0.2ms) SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "tagging"."tag_id" = 1 SQLite3::SQLException: no such column: tagging.tag_id: SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "tagging"."tag_id" = 1 SQL (0.3ms) SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 SQLite3::SQLException: no such column: taggings.tag_id: SELECT "storytime_posts"."id" AS t0_r0, "storytime_posts"."user_id" AS t0_r1, "storytime_posts"."title" AS t0_r2, "storytime_posts"."slug" AS t0_r3, "storytime_posts"."content" AS t0_r4, "storytime_posts"."excerpt" AS t0_r5, "storytime_posts"."published_at" AS t0_r6, "storytime_posts"."post_type_id" AS t0_r7, "storytime_posts"."featured_media_id" AS t0_r8, "storytime_posts"."created_at" AS t0_r9, "storytime_posts"."updated_at" AS t0_r10, "storytime_taggings"."id" AS t1_r0, "storytime_taggings"."tag_id" AS t1_r1, "storytime_taggings"."post_id" AS t1_r2, "storytime_taggings"."created_at" AS t1_r3, "storytime_taggings"."updated_at" AS t1_r4 FROM "storytime_posts" LEFT OUTER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "taggings"."tag_id" = 1 SQLite3::SQLException: no such column: taggings.tag_id: SELECT "storytime_posts".* FROM "storytime_posts" WHERE "taggings"."tag_id" = 1 Storytime::Tagging Load (0.3ms) SELECT "storytime_taggings".* FROM "storytime_taggings" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 SQLite3::SQLException: no such column: taggings.tag_id: SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "taggings"."tag_id" = 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_taggings"."tag_id" = 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_taggings"."tag_id" = 1 Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_taggings"."tag_id" = 3 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_taggings"."tag_id" = 3 SQLite3::SQLException: no such column: storytime_taggings.tag_id: SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_taggings"."tag_id" = 3 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_taggings"."tag_id" = 3 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:24:14 -0500 SyntaxError (/Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:12: syntax error, unexpected keyword_elsif, expecting keyword_end elsif params[:post_type] ^ /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:40: syntax error, unexpected keyword_end, expecting end-of-input): activesupport (4.1.0) lib/active_support/dependencies.rb:443:in `load' activesupport (4.1.0) lib/active_support/dependencies.rb:443:in `block in load_file' activesupport (4.1.0) lib/active_support/dependencies.rb:633:in `new_constants_in' activesupport (4.1.0) lib/active_support/dependencies.rb:442:in `load_file' activesupport (4.1.0) lib/active_support/dependencies.rb:342:in `require_or_load' activesupport (4.1.0) lib/active_support/dependencies.rb:480:in `load_missing_constant' activesupport (4.1.0) lib/active_support/dependencies.rb:180:in `const_missing' activesupport (4.1.0) lib/active_support/inflector/methods.rb:240:in `const_get' activesupport (4.1.0) lib/active_support/inflector/methods.rb:240:in `block in constantize' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `each' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `inject' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `constantize' activesupport (4.1.0) lib/active_support/dependencies.rb:552:in `get' activesupport (4.1.0) lib/active_support/dependencies.rb:583:in `constantize' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:76:in `controller_reference' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:66:in `controller' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:44:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.2ms) Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:24:48 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (1.6ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (11.3ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) AND "storytime_taggings"."tag_id" = ? [["post_type_id", 1], ["tag_id", 1]] Storytime::Tag Load (0.4ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (27.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (42.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (55.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 32403ms (Views: 116.1ms | ActiveRecord: 17.2ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:25:21 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:25:29 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" CACHE (0.0ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] CACHE (0.0ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND (published_at is not null) [["tag_id", 1]] Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (8.9ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) AND "storytime_taggings"."tag_id" = ? [["post_type_id", 1], ["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (23.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (36.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (46.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 116947ms (Views: 99.1ms | ActiveRecord: 6.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:27:26 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:26 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:26 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:26 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:26 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:26 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:26 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:27 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:27:43 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) AND "storytime_taggings"."tag_id" = ? [["post_type_id", 1], ["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (11.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (22.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (24.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (1.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 8243ms (Views: 56.3ms | ActiveRecord: 2.4ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:27:51 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:28:28 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (16.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (35.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (48.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 2437ms (Views: 90.1ms | ActiveRecord: 5.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:30 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:28:31 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:28:45 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (6.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (13.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (1.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 81082ms (Views: 61.1ms | ActiveRecord: 3.1ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:30:06 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:30:09 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] CACHE (0.0ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["tag_id", 1]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (10.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (46.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (82.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (8.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 71621ms (Views: 117.2ms | ActiveRecord: 7.1ms) Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:31:20 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (9.7ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (24.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (32.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (45.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (9.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.3ms) Completed 200 OK in 30754ms (Views: 97.4ms | ActiveRecord: 5.9ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:51 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 11:31:52 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["tag_id", 1]]  (1.7ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND (published_at is not null) [["tag_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (40.2ms) User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.8ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (1.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (70.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (89.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (11.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 2614742ms (Views: 193.3ms | ActiveRecord: 11.5ms) Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:15:33 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.5ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Completed 500 Internal Server Error in 21ms NameError (uninitialized constant Storytime::PostsController::Posts): /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:8:in `index' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.0ms) Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:15:42 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Completed 500 Internal Server Error in 17ms NameError (uninitialized constant Storytime::Posts): /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:8:in `index' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.5ms) Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:15:49 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.6ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (2.6ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["tag_id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND (published_at is not null) [["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (8.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (39.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (53.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (9.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 124032ms (Views: 92.8ms | ActiveRecord: 9.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:17:53 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:17:55 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = 1 AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = 1 AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (16.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (33.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (47.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (9.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 71249ms (Views: 106.7ms | ActiveRecord: 5.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:06 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:19:10 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["tag_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_posts"."id" = "storytime_taggings"."post_id" WHERE "storytime_taggings"."tag_id" = ? AND (published_at is not null) [["tag_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (31.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (35.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (46.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (14.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 30030ms (Views: 116.9ms | ActiveRecord: 6.6ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:40 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:19:41 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:19:49 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = 1 AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = 1 AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (41.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (54.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 308428ms (Views: 95.1ms | ActiveRecord: 7.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:24:58 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:25:01 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (36.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (48.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 20212ms (Views: 89.0ms | ActiveRecord: 7.0ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:21 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:22 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:25:23 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 1 AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (27.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (34.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (44.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 12722ms (Views: 99.4ms | ActiveRecord: 5.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:36 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (16.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (19.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 64ms (Views: 45.9ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:45 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:25:46 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (9.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (12.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (15.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 52.9ms | ActiveRecord: 3.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:49 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:25:50 -0500 Started GET "/dashboard/posts?post_type=blog" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"blog"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (10.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (5.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 65ms (Views: 53.6ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:51 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:25:52 -0500 Started GET "/dashboard/posts/test-post-2/edit" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.2ms) Storytime::Version Load (1.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (19.9ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.8ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (9.4ms) Storytime::Media Load (0.5ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.7ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (20.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (45.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (79.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 139ms (Views: 102.7ms | ActiveRecord: 8.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:54 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:25:55 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:25:55 -0500 Started PATCH "/dashboard/posts/test-post-2" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 2", "post_type_id"=>"1", "excerpt"=>"asdfasdf", "draft_content"=>"asdfasdf", "featured_media_id"=>"", "tag_list"=>"test, fun, cool", "published"=>"1"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Blog", "id"=>"test-post-2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Tagging Load (0.3ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] SQL (0.5ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 1]] Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 1]] SQL (0.2ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 2]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] Storytime::Tagging Load (0.1ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 2]] SQL (0.1ms) DELETE FROM "storytime_tags" WHERE "storytime_tags"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 SQL (0.6ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 17:25:57.584989"], ["name", "test"], ["updated_at", "2014-07-30 17:25:57.584989"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'fun' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Exists (0.1ms) SELECT 1 AS one FROM "storytime_tags" WHERE "storytime_tags"."name" = 'fun' LIMIT 1 SQL (0.1ms) INSERT INTO "storytime_tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-07-30 17:25:57.588669"], ["name", "fun"], ["updated_at", "2014-07-30 17:25:57.588669"]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'cool' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] SQL (0.2ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 17:25:57.593086"], ["post_id", 2], ["tag_id", 4], ["updated_at", "2014-07-30 17:25:57.593086"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 17:25:57.597233"], ["post_id", 2], ["tag_id", 5], ["updated_at", "2014-07-30 17:25:57.597233"]] SQL (0.1ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 17:25:57.599373"], ["post_id", 2], ["tag_id", 3], ["updated_at", "2014-07-30 17:25:57.599373"]] SQL (0.2ms) UPDATE "storytime_posts" SET "published_at" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 2 [["published_at", "2014-07-30 17:25:57.600464"], ["updated_at", "2014-07-30 17:25:57.601172"]] Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] SQL (0.1ms) UPDATE "storytime_posts" SET "content" = 'asdfasdf' WHERE "storytime_posts"."id" = 2 FriendlyId::Slug Load (0.7ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 2], ["sluggable_type", "Storytime::Post"]]  (1.1ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post-2/edit Completed 302 Found in 108ms (ActiveRecord: 10.1ms) Started GET "/dashboard/posts/test-post-2/edit" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-2' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.1ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.5ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 2], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (3.1ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (6.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (37.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (53.9ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 95ms (Views: 77.3ms | ActiveRecord: 4.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:57 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:25:58 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:26:00 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 4 AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 4 AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (29.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (31.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 3055ms (Views: 63.4ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:03 -0500 Started GET "/dashboard/posts/test-post-3/edit" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.6ms) Storytime::Version Load (0.4ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (17.0ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.5ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (7.6ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (15.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (53.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (83.8ms) Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.4ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (18.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 208ms (Views: 121.0ms | ActiveRecord: 9.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:26:13 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:26:14 -0500 Started PATCH "/dashboard/posts/test-post-3" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"test post 3", "post_type_id"=>"1", "excerpt"=>"asdfasdfasd", "draft_content"=>"asdfasdfasd", "featured_media_id"=>"", "tag_list"=>"cool", "published"=>"1"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Blog", "id"=>"test-post-3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.3ms) begin transaction Storytime::Tagging Load (0.3ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] SQL (0.5ms) DELETE FROM "storytime_taggings" WHERE "storytime_taggings"."id" = ? [["id", 4]] Storytime::Tag Load (0.5ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "storytime_taggings" WHERE "storytime_taggings"."tag_id" = ? [["tag_id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'cool' ORDER BY "storytime_tags"."id" ASC LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] SQL (0.3ms) INSERT INTO "storytime_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 17:26:17.261377"], ["post_id", 4], ["tag_id", 3], ["updated_at", "2014-07-30 17:26:17.261377"]] SQL (0.2ms) UPDATE "storytime_posts" SET "published_at" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 4 [["published_at", "2014-07-30 17:26:17.263540"], ["updated_at", "2014-07-30 17:26:17.264290"]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] SQL (0.4ms) UPDATE "storytime_posts" SET "content" = 'asdfasdfasd' WHERE "storytime_posts"."id" = 4 FriendlyId::Slug Load (0.2ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 4], ["sluggable_type", "Storytime::Post"]]  (1.1ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/test-post-3/edit Completed 302 Found in 71ms (ActiveRecord: 6.9ms) Started GET "/dashboard/posts/test-post-3/edit" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"test-post-3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (23.3ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (3.0ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 4], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (8.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (24.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (55.2ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 100ms (Views: 80.6ms | ActiveRecord: 4.4ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:17 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:26:18 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:26:18 -0500 Started GET "/tags/test" for 127.0.0.1 at 2014-07-30 12:26:19 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"test"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'test' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 4 AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.4ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 4 AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (12.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (11.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (15.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 72ms (Views: 62.9ms | ActiveRecord: 3.4ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:20 -0500 Started GET "/tags/cool" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Processing by Storytime::PostsController#index as HTML Parameters: {"tag"=>"cool"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" WHERE "storytime_tags"."name" = 'cool' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 3 AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.4ms) Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.5ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" INNER JOIN "storytime_taggings" ON "storytime_taggings"."post_id" = "storytime_posts"."id" WHERE "storytime_posts"."post_type_id" = ? AND "storytime_taggings"."tag_id" = 3 AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (17.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (11.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (14.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (1.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 66ms (Views: 59.0ms | ActiveRecord: 3.2ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:22 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.0ms) Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (6.7ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (22.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (12.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (1.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 65ms (Views: 58.7ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:26:40 -0500 Started GET "/dashboard/posts?post_type=portfolio" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"portfolio"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (9.4ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 94ms (Views: 37.9ms | ActiveRecord: 4.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:06 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:33:07 -0500 Started GET "/dashboard/posts/new?post_type=portfolio" for 127.0.0.1 at 2014-07-30 12:33:08 -0500 Processing by Storytime::Dashboard::PostsController#new as HTML Parameters: {"post_type"=>"portfolio"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 LIMIT 10 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.6ms) Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (6.8ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (13.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (48.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/new.html.erb within layouts/storytime/dashboard (59.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 129ms (Views: 82.7ms | ActiveRecord: 5.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:09 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:33:10 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:33:10 -0500 Started POST "/dashboard/posts" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Processing by Storytime::Dashboard::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"storyport", "post_type_id"=>"3", "excerpt"=>"", "draft_content"=>"it's cool", "featured_media_id"=>"", "tag_list"=>"", "published"=>"0"}, "_wysihtml5_mode"=>"1", "commit"=>"Create Portfolio"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.6ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Post Exists (0.5ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE "storytime_posts"."slug" = 'storyport' LIMIT 1 Storytime::Post Exists (0.1ms) SELECT 1 AS one FROM "storytime_posts" INNER JOIN "friendly_id_slugs" ON "friendly_id_slugs"."sluggable_id" = "storytime_posts"."id" AND "friendly_id_slugs"."sluggable_type" = 'Storytime::Post' WHERE ("friendly_id_slugs"."sluggable_type" = 'Storytime::Post' AND "friendly_id_slugs"."slug" = 'storyport') LIMIT 1 SQL (0.4ms) INSERT INTO "storytime_posts" ("created_at", "excerpt", "post_type_id", "slug", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 17:33:17.760777"], ["excerpt", "it's cool"], ["post_type_id", 3], ["slug", "storyport"], ["title", "storyport"], ["updated_at", "2014-07-30 17:33:17.760777"], ["user_id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] SQL (0.3ms) INSERT INTO "storytime_versions" ("content", "created_at", "updated_at", "user_id", "versionable_id", "versionable_type") VALUES (?, ?, ?, ?, ?, ?) [["content", "it's cool"], ["created_at", "2014-07-30 17:33:17.767426"], ["updated_at", "2014-07-30 17:33:17.767426"], ["user_id", 1], ["versionable_id", 5], ["versionable_type", "Storytime::Post"]] FriendlyId::Slug Load (0.4ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 5], ["sluggable_type", "Storytime::Post"]] SQL (0.3ms) DELETE FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? AND "friendly_id_slugs"."slug" = 'storyport' [["sluggable_id", 5], ["sluggable_type", "Storytime::Post"]] SQL (0.3ms) INSERT INTO "friendly_id_slugs" ("created_at", "slug", "sluggable_id", "sluggable_type") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 17:33:17.776826"], ["slug", "storyport"], ["sluggable_id", 5], ["sluggable_type", "Storytime::Post"]]  (1.4ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/storyport/edit Completed 302 Found in 53ms (ActiveRecord: 6.9ms) Started GET "/dashboard/posts/storyport/edit" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"storyport"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (5.5ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (9.4ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (1.9ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.1ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (8.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (25.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (43.5ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 78ms (Views: 64.6ms | ActiveRecord: 3.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:17 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:33:18 -0500 Started PATCH "/dashboard/posts/storyport" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"storyport", "post_type_id"=>"3", "excerpt"=>"it's cool", "draft_content"=>"it's cool", "featured_media_id"=>"", "tag_list"=>"", "published"=>"1"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Portfolio", "id"=>"storyport"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.4ms) begin transaction Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Storytime::Tag Load (0.4ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] SQL (1.0ms) UPDATE "storytime_posts" SET "published_at" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 5 [["published_at", "2014-07-30 17:33:21.121436"], ["updated_at", "2014-07-30 17:33:21.122647"]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] CACHE (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] CACHE (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] SQL (0.5ms) UPDATE "storytime_posts" SET "content" = 'it''s cool' WHERE "storytime_posts"."id" = 5 FriendlyId::Slug Load (0.3ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 5], ["sluggable_type", "Storytime::Post"]]  (2.4ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/storyport/edit Completed 302 Found in 56ms (ActiveRecord: 8.9ms) Started GET "/dashboard/posts/storyport/edit" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"storyport"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 LIMIT 10 OFFSET 0  (1.0ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (13.5ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (4.1ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 5], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.2ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (3.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (27.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (53.2ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 113ms (Views: 78.1ms | ActiveRecord: 7.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:21 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:33:22 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:33:22 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (4.2ms) Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.5ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (22.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (11.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (8.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 89ms (Views: 81.1ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:26 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:27 -0500 Started GET "/storyport" for 127.0.0.1 at 2014-07-30 12:33:29 -0500 ActionController::RoutingError (uninitialized constant Storytime::PagesController): activesupport (4.1.0) lib/active_support/inflector/methods.rb:240:in `const_get' activesupport (4.1.0) lib/active_support/inflector/methods.rb:240:in `block in constantize' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `each' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `inject' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `constantize' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:76:in `controller_reference' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:66:in `controller' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:44:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (76.4ms) Started GET "/storyport" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/posts/storyport Completed 301 Moved Permanently in 24ms (ActiveRecord: 1.4ms) Started GET "/posts/storyport" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (36.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (46.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 94ms (Views: 81.1ms | ActiveRecord: 4.1ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:55 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:33:56 -0500 Started GET "/storyport" for 127.0.0.1 at 2014-07-30 12:34:07 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/posts/storyport Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.5ms) Started GET "/posts/storyport" for 127.0.0.1 at 2014-07-30 12:34:07 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (3.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (11.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (14.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (3.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 45.0ms | ActiveRecord: 2.7ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:34:08 -0500 Started GET "/storyport" for 127.0.0.1 at 2014-07-30 12:34:29 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/posts/storyport Completed 301 Moved Permanently in 170870ms (ActiveRecord: 1.5ms) Started GET "/posts/storyport" for 127.0.0.1 at 2014-07-30 12:37:20 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (7.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (8.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (38.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (48.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (21.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 1292ms (Views: 118.4ms | ActiveRecord: 4.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:37:21 -0500 Started GET "/portfolio/storyport" for 127.0.0.1 at 2014-07-30 12:38:01 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio", "id"=>"storyport"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Redirected to http://0.0.0.0:3000/posts/storyport Completed 301 Moved Permanently in 64825ms (ActiveRecord: 2.1ms) Started GET "/posts/storyport" for 127.0.0.1 at 2014-07-30 12:39:06 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (9.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (10.7ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (34.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (48.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 1244ms (Views: 105.8ms | ActiveRecord: 5.7ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:39:07 -0500 Started GET "/posts/storyport" for 127.0.0.1 at 2014-07-30 12:39:09 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" DESC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (2.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (32.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (35.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 133545ms (Views: 65.2ms | ActiveRecord: 3.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:41:22 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:23 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:41:32 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.2ms) SELECT COUNT(*) FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/posts Completed 302 Found in 16ms (ActiveRecord: 1.2ms) Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (19.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (21.4ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 100ms (Views: 51.7ms | ActiveRecord: 3.8ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:41:33 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:41:36 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.2ms) SELECT COUNT(*) FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/posts Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.2ms) SELECT COUNT(*) FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/posts Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (10.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (12.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 42.5ms | ActiveRecord: 2.6ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:41:37 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.1ms) SELECT COUNT(*) FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/posts Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (7.6ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 33.3ms | ActiveRecord: 2.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:45 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:41:46 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::ApplicationController#setup as HTML  (0.2ms) SELECT COUNT(*) FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Redirected to http://0.0.0.0:3000/dashboard/posts Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/dashboard/posts" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 1 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (11.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (13.2ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 57ms (Views: 44.4ms | ActiveRecord: 2.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:41:55 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:43:31 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (10.9ms) Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.9ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (34.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (50.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (62.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 149ms (Views: 125.9ms | ActiveRecord: 5.3ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:32 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (13.3ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (39.9ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 75ms (Views: 65.9ms | ActiveRecord: 2.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:36 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:37 -0500 Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-07-30 12:43:49 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"page", "root_post_id"=>"3", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "storytime_sites" SET "root_page_content" = ?, "root_post_id" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["root_page_content", 1], ["root_post_id", 3], ["updated_at", "2014-07-30 17:43:49.883739"]]  (0.9ms) commit transaction Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (28.0ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (60.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 130ms (Views: 112.1ms | ActiveRecord: 4.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:43:50 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:43:58 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Completed 404 Not Found in 4ms ActiveRecord::RecordNotFound (Couldn't find Storytime::Post with 'id'=3 [WHERE (published_at is not null)]): activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:320:in `raise_record_not_found_exception!' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:420:in `find_one' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:68:in `find' friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:20:in `find' /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:21:in `show' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:45:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.2ms) Started GET "/" for 127.0.0.1 at 2014-07-30 12:44:25 -0500 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Completed 404 Not Found in 62583ms ActiveRecord::RecordNotFound (Couldn't find Storytime::Post with 'id'=3 [WHERE (published_at is not null)]): activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:320:in `raise_record_not_found_exception!' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:420:in `find_one' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:68:in `find' friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:20:in `find' /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:22:in `show' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:45:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.2ms) Started GET "/" for 127.0.0.1 at 2014-07-30 12:45:29 -0500 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Completed 404 Not Found in 1994ms ActiveRecord::RecordNotFound (Couldn't find Storytime::Post with 'id'=3 [WHERE (published_at is not null)]): activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:320:in `raise_record_not_found_exception!' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:420:in `find_one' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:68:in `find' /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:21:in `show' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:45:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.7ms) Started GET "/" for 127.0.0.1 at 2014-07-30 12:45:33 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Completed 404 Not Found in 71475ms ActiveRecord::RecordNotFound (Couldn't find Storytime::Post with 'id'=3 [WHERE (published_at is not null)]): activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:320:in `raise_record_not_found_exception!' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:420:in `find_one' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:68:in `find' /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:21:in `show' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:45:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.8ms) Started GET "/" for 127.0.0.1 at 2014-07-30 12:46:44 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Completed 404 Not Found in 906ms ActiveRecord::RecordNotFound (Couldn't find Storytime::Post with 'id'=3 [WHERE (published_at is not null)]): activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:320:in `raise_record_not_found_exception!' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:420:in `find_one' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:68:in `find' /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:21:in `show' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:45:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.7ms) Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (1.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.4ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.7ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (1.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (28.0ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (56.3ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (19.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 187ms (Views: 93.7ms | ActiveRecord: 9.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:48 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:49 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:49 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:49 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:49 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:46:49 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 12:47:08 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (115884.0ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (115917.9ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 115965ms (Views: 115952.0ms | ActiveRecord: 3.0ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:04 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 12:49:25 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (12913.9ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (12941.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (14.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 13027ms (Views: 12975.8ms | ActiveRecord: 5.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:49:38 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 12:50:21 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) CACHE (0.0ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 CACHE (0.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (9158.9ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (9191.8ms) Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 9307ms (Views: 9218.5ms | ActiveRecord: 7.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:31 -0500 Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-07-30 12:50:38 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"page", "root_post_id"=>"3", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.6ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.6ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction  (0.1ms) commit transaction Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (2506.5ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (2529.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (11.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 2579ms (Views: 2560.0ms | ActiveRecord: 3.8ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:40 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:40 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:50:41 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:50:45 -0500 Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (2.0ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Completed 404 Not Found in 5653ms ActiveRecord::RecordNotFound (Couldn't find Storytime::Post with 'id'=3 [WHERE (published_at is not null)]): activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:320:in `raise_record_not_found_exception!' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:420:in `find_one' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids' activerecord (4.1.0) lib/active_record/relation/finder_methods.rb:68:in `find' /Users/ben/flyover/projects/storytime/app/controllers/storytime/posts_controller.rb:21:in `show' actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:45:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.3ms) Started GET "/dashboard/posts?post_type=portfolio" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"portfolio"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (8.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (15.4ms) Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 148ms (Views: 70.3ms | ActiveRecord: 2.4ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:05 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:51:06 -0500 Started GET "/dashboard/posts?post_type=page" for 127.0.0.1 at 2014-07-30 12:51:06 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"page"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.5ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (9.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (12.4ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (26.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 85ms (Views: 69.6ms | ActiveRecord: 3.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:07 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:51:08 -0500 Started GET "/dashboard/posts/a-page/edit" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"a-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'a-page' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 2]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (6.7ms) Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.3ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (20.0ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (8.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (5.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (16.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (47.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (79.5ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 137ms (Views: 105.1ms | ActiveRecord: 5.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:09 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:51:10 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:51:10 -0500 Started PATCH "/dashboard/posts/a-page" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Processing by Storytime::Dashboard::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "post"=>{"title"=>"a page", "post_type_id"=>"2", "excerpt"=>"asdf", "draft_content"=>"asdf", "featured_media_id"=>"", "tag_list"=>"", "published"=>"1"}, "_wysihtml5_mode"=>"1", "commit"=>"Update Page", "id"=>"a-page"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'a-page' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 2]] Storytime::PostType Load (0.7ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction Storytime::Tagging Load (0.2ms) SELECT "storytime_taggings".* FROM "storytime_taggings" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] Storytime::Tag Load (0.0ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] SQL (0.9ms) UPDATE "storytime_posts" SET "published_at" = ?, "updated_at" = ? WHERE "storytime_posts"."id" = 3 [["published_at", "2014-07-30 17:51:13.169113"], ["updated_at", "2014-07-30 17:51:13.170035"]] Storytime::Version Load (0.7ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] SQL (0.3ms) UPDATE "storytime_posts" SET "content" = 'asdf' WHERE "storytime_posts"."id" = 3 FriendlyId::Slug Load (0.3ms) SELECT "friendly_id_slugs".* FROM "friendly_id_slugs" WHERE "friendly_id_slugs"."sluggable_id" = ? AND "friendly_id_slugs"."sluggable_type" = ? ORDER BY "friendly_id_slugs".id DESC LIMIT 1 [["sluggable_id", 3], ["sluggable_type", "Storytime::Post"]]  (0.7ms) commit transaction Redirected to http://0.0.0.0:3000/dashboard/posts/a-page/edit Completed 302 Found in 65ms (ActiveRecord: 7.1ms) Started GET "/dashboard/posts/a-page/edit" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Processing by Storytime::Dashboard::PostsController#edit as HTML Parameters: {"id"=>"a-page"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."slug" = 'a-page' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.5ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 2]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (7.9ms) Storytime::Version Load (0.1ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."created_at" DESC [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Storytime::Version Load (0.2ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/versions/_versions_info.html.erb (2.6ms) CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] CACHE (0.0ms) SELECT "storytime_versions".* FROM "storytime_versions" WHERE "storytime_versions"."versionable_id" = ? AND "storytime_versions"."versionable_type" = ? ORDER BY "storytime_versions"."updated_at" DESC LIMIT 1 [["versionable_id", 3], ["versionable_type", "Storytime::Post"]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '5030ed' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 2 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_form.html.erb (2.0ms) Storytime::Media Load (0.3ms) SELECT "storytime_media".* FROM "storytime_media" ORDER BY created_at DESC LIMIT 10 OFFSET 0 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_media.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_media" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_gallery.html (4.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/media/_modal.html.erb (9.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_form.html.erb (26.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/edit.html.erb within layouts/storytime/dashboard (57.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (10.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 105ms (Views: 89.3ms | ActiveRecord: 4.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:13 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 12:51:14 -0500 Started GET "/assets/bootstrap3-wysiwyg5-color.css" for 127.0.0.1 at 2014-07-30 12:51:14 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 12:51:15 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 2]] Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (3.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (18.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (21.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (3.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 3232ms (Views: 56.1ms | ActiveRecord: 2.3ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 12:51:19 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 14:07:58 -0500 Storytime::Site Load (1.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."id" = ? LIMIT 1 [["id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 2]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (3.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (11.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 2817ms (Views: 51.4ms | ActiveRecord: 1.7ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:01 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (13.8ms) Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (55.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 95ms (Views: 85.7ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:17 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:18 -0500 Started PATCH "/dashboard/sites/1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Processing by Storytime::Dashboard::SitesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DqE6qwRW0+e2C0T0AORwkim+CFbxW8gMu67IPbjZno=", "site"=>{"title"=>"test site", "post_slug_style"=>"default", "root_page_content"=>"posts", "root_post_id"=>"3", "ga_tracking_id"=>"", "header"=>"", "footer"=>""}, "commit"=>"Update Site", "id"=>"1"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "storytime_sites" SET "root_page_content" = ?, "updated_at" = ? WHERE "storytime_sites"."id" = 1 [["root_page_content", 0], ["updated_at", "2014-07-30 19:08:23.342958"]]  (0.9ms) commit transaction Storytime::PostType Load (0.4ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (28.5ms) Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.4ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (107.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (6.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.3ms) Completed 200 OK in 154ms (Views: 132.6ms | ActiveRecord: 6.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:23 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Storytime::Site Load (0.6ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (5.3ms) Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.9ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (22.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (10.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 67ms (Views: 56.3ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:25 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (11.9ms) Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (40.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 91ms (Views: 80.0ms | ActiveRecord: 2.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:27 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (1.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (11.8ms) Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (35.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (50.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (63.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (7.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 159ms (Views: 127.4ms | ActiveRecord: 6.6ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:41 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:42 -0500 Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:08:43 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"test-post-3"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (2.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (37.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (40.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 8977ms (Views: 64.3ms | ActiveRecord: 2.4ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:08:52 -0500 Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:17:51 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"test-post-3"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (1.8ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (4.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (26.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (29.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 68321ms (Views: 59.3ms | ActiveRecord: 3.7ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:18:59 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:00 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:00 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:00 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:00 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:00 -0500 Started GET "/dashboard/posts?post_type=portfolio" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Processing by Storytime::Dashboard::PostsController#index as HTML Parameters: {"post_type"=>"portfolio"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = 'd8a1b1' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 1 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' LIMIT 1 Storytime::Post Load (0.6ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 LIMIT 10 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 3 Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/_list.html.erb (19.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/posts/index.html.erb within layouts/storytime/dashboard (21.8ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Completed 200 OK in 118ms (Views: 50.3ms | ActiveRecord: 6.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:02 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/assets/bootstrap/glyphicons-halflings-regular.woff" for 127.0.0.1 at 2014-07-30 14:19:03 -0500 Started GET "/portfolio/storyport" for 127.0.0.1 at 2014-07-30 14:19:10 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio", "id"=>"storyport"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Redirected to http://0.0.0.0:3000/posts/storyport Completed 301 Moved Permanently in 3137ms (ActiveRecord: 0.5ms) Started GET "/posts/storyport" for 127.0.0.1 at 2014-07-30 14:19:13 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (9.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (10.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (16.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (18.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 43228ms (Views: 59.6ms | ActiveRecord: 2.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:19:57 -0500 Started GET "/posts/storyport" for 127.0.0.1 at 2014-07-30 14:20:13 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (1.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (28.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (29.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (33.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (43.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (17.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 20499ms (Views: 113.1ms | ActiveRecord: 10.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:34 -0500 Started GET "/portfolio/storyport" for 127.0.0.1 at 2014-07-30 14:20:41 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio", "id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (3.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (27.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (30.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 3564ms (Views: 55.4ms | ActiveRecord: 2.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:44 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:45 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:45 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:45 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:45 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:45 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:45 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:45 -0500 Started GET "/portfolio123/storyport" for 127.0.0.1 at 2014-07-30 14:20:49 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio123", "id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (2.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (29.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 1257ms (Views: 53.1ms | ActiveRecord: 1.9ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:20:50 -0500 Started GET "/portfolio123/storyport" for 127.0.0.1 at 2014-07-30 14:21:01 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio123", "id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (9.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.2ms) Completed 200 OK in 462520ms (Views: 68.6ms | ActiveRecord: 1.8ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 NameError (uninitialized constant Storytime::PostTypeConstraint): /Users/ben/flyover/projects/storytime/config/routes.rb:23:in `block in ' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:526:in `instance_exec' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:526:in `block in with_default_scope' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:740:in `scope' actionpack (4.1.0) lib/action_dispatch/routing/mapper.rb:525:in `with_default_scope' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:333:in `eval_block' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:313:in `draw' /Users/ben/flyover/projects/storytime/config/routes.rb:1:in `' railties (4.1.0) lib/rails/application/routes_reloader.rb:40:in `block in load_paths' railties (4.1.0) lib/rails/application/routes_reloader.rb:40:in `each' railties (4.1.0) lib/rails/application/routes_reloader.rb:40:in `load_paths' railties (4.1.0) lib/rails/application/routes_reloader.rb:16:in `reload!' railties (4.1.0) lib/rails/application/routes_reloader.rb:26:in `block in updater' activesupport (4.1.0) lib/active_support/file_update_checker.rb:75:in `call' activesupport (4.1.0) lib/active_support/file_update_checker.rb:75:in `execute' railties (4.1.0) lib/rails/application/routes_reloader.rb:7:in `execute' railties (4.1.0) lib/rails/application/finisher.rb:83:in `block (2 levels) in ' activesupport (4.1.0) lib/active_support/callbacks.rb:438:in `instance_exec' activesupport (4.1.0) lib/active_support/callbacks.rb:438:in `block in make_lambda' activesupport (4.1.0) lib/active_support/callbacks.rb:184:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:184:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:83:in `prepare!' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:71:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.0ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:28:44 -0500 Started GET "/portfolio123/storyport" for 127.0.0.1 at 2014-07-30 14:28:46 -0500 ActionController::RoutingError (No route matches [GET] "/portfolio123/storyport"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (47.6ms) Started GET "/portfolio/storyport" for 127.0.0.1 at 2014-07-30 14:28:54 -0500 ActionController::RoutingError (No route matches [GET] "/portfolio/storyport"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (45.8ms) Started GET "/portfolio/storyport" for 127.0.0.1 at 2014-07-30 14:30:30 -0500 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio'  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio123' CACHE (0.0ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio", "id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (75.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (82.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (38.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (49.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.9ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (9.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.6ms) Completed 200 OK in 1458ms (Views: 451.8ms | ActiveRecord: 4.7ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:30:59 -0500 Started GET "/portfolio/storyport" for 127.0.0.1 at 2014-07-30 14:31:07 -0500  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio", "id"=>"storyport"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (3.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (9.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (12.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 9976ms (Views: 61.2ms | ActiveRecord: 2.1ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:31:20 -0500 Started GET "/portfolio/storyport" for 127.0.0.1 at 2014-07-30 14:32:28 -0500 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'portfolio' Processing by Storytime::PostsController#show as HTML Parameters: {"post_type"=>"portfolio", "id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (1.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (23.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (31.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (72.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (86.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.6ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (8.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 12591ms (Views: 370.9ms | ActiveRecord: 8.9ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:32:41 -0500 Started GET "/storyport" for 127.0.0.1 at 2014-07-30 14:32:47 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (2.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.9ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (10.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 451744ms (Views: 61.6ms | ActiveRecord: 1.8ms) Started GET "/storyport" for 127.0.0.1 at 2014-07-30 14:40:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"storyport"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'storyport' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 3]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 5]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (10.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (11.8ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (32.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (46.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 1075ms (Views: 101.2ms | ActiveRecord: 5.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:20 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 14:40:34 -0500 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (91.2ms) Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (134.0ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (12.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Completed 200 OK in 540ms (Views: 449.1ms | ActiveRecord: 5.5ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:40:35 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 14:51:10 -0500 SyntaxError (/Users/ben/flyover/projects/storytime/config/routes.rb:36: syntax error, unexpected '\n', expecting =>): activesupport (4.1.0) lib/active_support/dependencies.rb:241:in `load' activesupport (4.1.0) lib/active_support/dependencies.rb:241:in `block in load' activesupport (4.1.0) lib/active_support/dependencies.rb:232:in `load_dependency' activesupport (4.1.0) lib/active_support/dependencies.rb:241:in `load' railties (4.1.0) lib/rails/application/routes_reloader.rb:40:in `block in load_paths' railties (4.1.0) lib/rails/application/routes_reloader.rb:40:in `each' railties (4.1.0) lib/rails/application/routes_reloader.rb:40:in `load_paths' railties (4.1.0) lib/rails/application/routes_reloader.rb:16:in `reload!' railties (4.1.0) lib/rails/application/routes_reloader.rb:26:in `block in updater' activesupport (4.1.0) lib/active_support/file_update_checker.rb:75:in `call' activesupport (4.1.0) lib/active_support/file_update_checker.rb:75:in `execute' railties (4.1.0) lib/rails/application/routes_reloader.rb:7:in `execute' railties (4.1.0) lib/rails/application/finisher.rb:83:in `block (2 levels) in ' activesupport (4.1.0) lib/active_support/callbacks.rb:438:in `instance_exec' activesupport (4.1.0) lib/active_support/callbacks.rb:438:in `block in make_lambda' activesupport (4.1.0) lib/active_support/callbacks.rb:184:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:184:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:185:in `block in simple' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:83:in `prepare!' actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:71:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.4ms) Started GET "/" for 127.0.0.1 at 2014-07-30 14:54:15 -0500 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.4ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.5ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (23.3ms) Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (3.0ms)  (0.2ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (65.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (40.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (52.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (9.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 458ms (Views: 418.1ms | ActiveRecord: 5.5ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:16 -0500 Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:54:19 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"test-post-3"} Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (3.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (35.2ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (37.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 2588ms (Views: 60.8ms | ActiveRecord: 2.2ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:22 -0500 Started GET "/dashboard/sites/1/edit" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Processing by Storytime::Dashboard::SitesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "storytime_sites" Storytime::Role Load (0.3ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Site Load (1.3ms) SELECT "storytime_sites".* FROM "storytime_sites" WHERE "storytime_sites"."id" = ? LIMIT 1 [["id", 1]] Storytime::Action Load (0.6ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (storytime_posts.post_type_id != 1) AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/_form.html.erb (96.9ms) Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 1]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 2]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/sites/edit.html.erb within layouts/storytime/dashboard (159.1ms) Storytime::PostType Load (0.3ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] CACHE (0.0ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 CACHE (0.0ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (8.0ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Completed 200 OK in 232ms (Views: 197.6ms | ActiveRecord: 5.8ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:54:34 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Storytime::Site Load (0.3ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.0ms) Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.3ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (18.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (7.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (9.8ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 55ms (Views: 50.1ms | ActiveRecord: 2.2ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:43 -0500 Started GET "/" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#index as HTML CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'blog' LIMIT 1 Storytime::Post Load (0.3ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) ORDER BY "storytime_posts"."created_at" DESC LIMIT 10 OFFSET 0 [["post_type_id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (9.6ms) Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 2]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (1.8ms)  (0.3ms) SELECT COUNT(*) FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = ? AND (published_at is not null) [["post_type_id", 1]] Storytime::Tag Load (0.2ms) SELECT storytime_tags.*, count(storytime_taggings.tag_id) as count FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_taggings"."tag_id" = "storytime_tags"."id" GROUP BY storytime_tags.id Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/index.html.erb within layouts/storytime/application (33.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.4ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (42.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (51.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (6.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 130ms (Views: 109.2ms | ActiveRecord: 5.4ms) Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:57:57 -0500 Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:57:58 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"test-post-3"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (2.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (3.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (20.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (22.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (2.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 3646ms (Views: 48.7ms | ActiveRecord: 2.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:02 -0500 Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:58:17 -0500 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"test-post-3"} Storytime::Site Load (0.1ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.1ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.1ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (12.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (13.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.1ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (37.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (47.3ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.2ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (7.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.1ms) Completed 200 OK in 1964ms (Views: 87.3ms | ActiveRecord: 4.9ms) Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:19 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:58:20 -0500 Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:59:02 -0500 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"test-post-3"} Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.2ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (24.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (29.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.1ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.2ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.4ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (39.5ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (52.7ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.7ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (9.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_footer.html.erb (0.4ms) Completed 200 OK in 18842ms (Views: 392.0ms | ActiveRecord: 5.0ms) Started GET "/assets/storytime/application.css?body=1" for 127.0.0.1 at 2014-07-30 14:59:21 -0500 Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:21 -0500 Started GET "/assets/wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:21 -0500 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:21 -0500 Started GET "/assets/storytime/application.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/storytime/editor.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/storytime/media.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/storytime/posts.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/storytime/sites.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/storytime/utilities.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/bootstrap-wysihtml5.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/jquery.fileupload.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/assets/storytime/base.js?body=1" for 127.0.0.1 at 2014-07-30 14:59:22 -0500 Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:59:23 -0500  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'posts' AND "storytime_post_types"."permanent" = 'f' ActionController::RoutingError (No route matches [GET] "/posts/test-post-3"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.8ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (11.4ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (69.4ms) Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:59:33 -0500  (0.1ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'posts' AND "storytime_post_types"."permanent" = 'f' ActionController::RoutingError (No route matches [GET] "/posts/test-post-3"): actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0) lib/rails/engine.rb:514:in `call' railties (4.1.0) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/ben/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.5ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendered /Users/ben/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (57.4ms) Started GET "/posts/test-post-3" for 127.0.0.1 at 2014-07-30 14:59:39 -0500  (0.2ms) SELECT COUNT(*) FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'posts' AND "storytime_post_types"."permanent" = 'f' Storytime::Site Load (0.2ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Processing by Storytime::PostsController#show as HTML Parameters: {"id"=>"test-post-3"} CACHE (0.0ms) SELECT "storytime_sites".* FROM "storytime_sites" ORDER BY "storytime_sites"."id" ASC LIMIT 1 Storytime::Post Load (0.2ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE (published_at is not null) AND "storytime_posts"."slug" = 'test-post-3' ORDER BY "storytime_posts"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."id" = ? LIMIT 1 [["id", 1]] Storytime::Tag Load (0.3ms) SELECT "storytime_tags".* FROM "storytime_tags" INNER JOIN "storytime_taggings" ON "storytime_tags"."id" = "storytime_taggings"."tag_id" WHERE "storytime_taggings"."post_id" = ? [["post_id", 4]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/_tags.html.erb (14.1ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/posts/show.html.erb within layouts/storytime/application (15.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1 Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" Storytime::Action Load (0.1ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '1f7d47' LIMIT 1 Storytime::Role Load (0.2ms) SELECT "storytime_roles".* FROM "storytime_roles" WHERE "storytime_roles"."id" = ? LIMIT 1 [["id", 3]] Storytime::Action Exists (0.3ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 4 LIMIT 1 [["role_id", 3]] Storytime::Action Load (0.3ms) SELECT "storytime_actions".* FROM "storytime_actions" WHERE "storytime_actions"."guid" = '47342a' LIMIT 1 Storytime::Action Exists (0.2ms) SELECT 1 AS one FROM "storytime_actions" INNER JOIN "storytime_permissions" ON "storytime_actions"."id" = "storytime_permissions"."action_id" WHERE "storytime_permissions"."role_id" = ? AND "storytime_actions"."id" = 3 LIMIT 1 [["role_id", 3]] Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/dashboard/_navigation.html.erb (37.6ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_navigation.html.erb (50.4ms) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_flash.html.erb (0.1ms) Storytime::PostType Load (0.2ms) SELECT "storytime_post_types".* FROM "storytime_post_types" WHERE "storytime_post_types"."name" = 'page' LIMIT 1 Storytime::Post Load (0.1ms) SELECT "storytime_posts".* FROM "storytime_posts" WHERE "storytime_posts"."post_type_id" = 2 AND (published_at is not null) Rendered /Users/ben/flyover/projects/storytime/app/views/storytime/application/_header.html.erb (12.8ms) Completed 500 Internal Server Error in 2964ms ActionView::Template::Error (No route matches {:"0x00000102d56ad0"=>#, :"29"=>nil, :action=>"show", :controller=>"storytime/posts", :format=>nil, :id=>nil} missing required keys: [:"29", :id]): 15: